X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=ports%2Fnncp%2FMakefile;h=b33a2e35cf1a5101f86801597f4c0f744414d914;hb=dd92823db3d72fb21a4c712a7fb052dce16443dd;hp=2043075ee00b8f47c87bee22a88836f33f074fce;hpb=1363451d7362fbf340ef57fd5c6053ed91481a15;p=nncp.git diff --git a/ports/nncp/Makefile b/ports/nncp/Makefile index 2043075..b33a2e3 100644 --- a/ports/nncp/Makefile +++ b/ports/nncp/Makefile @@ -1,51 +1,33 @@ -# $FreeBSD$ +# $FreeBSD: head/net/nncp/Makefile 484628 2018-11-10 18:12:57Z bapt $ PORTNAME= nncp -PORTVERSION= 0.7 +DISTVERSION= 4.0 +PORTREVISION= 1 CATEGORIES= net -MASTER_SITES= http://www.nncpgo.org/download/ \ - http://sourceforge.net/projects/nncp/files/ +MASTER_SITES= http://www.nncpgo.org/download/ MAINTAINER= stargrave@stargrave.org -COMMENT= Utilities for secure store-and-forward files and mail exchanging +COMMENT= Utilities for secure store-and-forward files, mail, command exchanging -LICENSE= GPLv3+ +LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= go:lang/go USES= tar:xz MAKEFILE= BSDmakefile - USE_RC_SUBR= nncp-caller nncp-daemon nncp-toss -REQUIRE= DAEMON +INSTALL_TARGET= install-strip + +SUB_FILES= pkg-message pkg-install pkg-deinstall -SUB_FILES= pkg-message pkg-install pkg-deinstall nncp.newsyslog.conf.sample +OPTIONS_DEFINE= DOCS PORTDOCS= AUTHORS NEWS NEWS.RU README README.RU THANKS INFO= nncp -INSTALL_TARGET= install-strip - -PLIST_FILES= bin/nncp-call \ - bin/nncp-caller \ - bin/nncp-check \ - bin/nncp-daemon \ - bin/nncp-file \ - bin/nncp-freq \ - bin/nncp-log \ - bin/nncp-mail \ - bin/nncp-mincfg \ - bin/nncp-newcfg \ - bin/nncp-pkt \ - bin/nncp-reass \ - bin/nncp-rm \ - bin/nncp-stat \ - bin/nncp-toss \ - bin/nncp-xfer \ - "@sample etc/newsyslog.conf.d/nncp.conf.sample" +MAKE_ARGS= INFODIR=${STAGEDIR}${PREFIX}/${INFO_PATH} post-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d - ${INSTALL_DATA} ${WRKDIR}/nncp.newsyslog.conf.sample ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/nncp.conf.sample + ${INSTALL_DATA} ${FILESDIR}/nncp.newsyslog.conf.sample ${STAGEDIR}${PREFIX}/etc/nncp.conf.sample .include