X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=ports%2Fnncp%2FMakefile;h=a10018d23bb4468fc0b70cd823adfbed02c80a5d;hb=3e7e5c05ba6d396c078c5ff112d10238231e7b3c;hp=eedf3cf8b13e906c3be870f9aa40e12cc443837c;hpb=3cfc65236b25c44dfd4b68cc3f9fabb2ef176ce7;p=nncp.git diff --git a/ports/nncp/Makefile b/ports/nncp/Makefile index eedf3cf..a10018d 100644 --- a/ports/nncp/Makefile +++ b/ports/nncp/Makefile @@ -1,13 +1,13 @@ -# $FreeBSD$ +# $FreeBSD: head/net/nncp/Makefile 484628 2018-11-10 18:12:57Z bapt $ PORTNAME= nncp -PORTVERSION= 0.4 +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_FILE= ${WRKSRC}/COPYING @@ -16,36 +16,18 @@ 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-deinstall nncp.newsyslog.conf +SUB_FILES= pkg-message pkg-install pkg-deinstall -PORTDOCS= AUTHORS NEWS README THANKS -INFO= nncp -INSTALL_TARGET= install-strip +OPTIONS_DEFINE= DOCS -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-stat \ - bin/nncp-toss \ - bin/nncp-xfer \ - etc/newsyslog.conf.d/nncp.conf -PLIST_DIRS= /var/spool/nncp +PORTDOCS= AUTHORS NEWS NEWS.RU README README.RU THANKS +INFO= nncp +MAKE_ARGS= INFODIR=${STAGEDIR}${PREFIX}/${INFO_PATH} post-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d - ${INSTALL_DATA} ${WRKDIR}/nncp.newsyslog.conf ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/nncp.conf - ${MKDIR} ${STAGEDIR}/var/spool/nncp + ${INSTALL_DATA} ${FILESDIR}/nncp.newsyslog.conf.sample ${STAGEDIR}${PREFIX}/etc/nncp.conf.sample .include