X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=ports%2Fnncp%2FMakefile;h=05c0ad1bdaa4a3bab031dea295487e4ae90a2600;hb=2e59e1d8da61bc5dee797d351e50e8ed114aa4c7;hp=309cff8401c0c6a6a2c7d7606db843303a44b1b5;hpb=a794fa86795cc4fb8bb318da3f7306477497e9b5;p=nncp.git diff --git a/ports/nncp/Makefile b/ports/nncp/Makefile index 309cff8..05c0ad1 100644 --- a/ports/nncp/Makefile +++ b/ports/nncp/Makefile @@ -1,51 +1,31 @@ -# $FreeBSD$ - PORTNAME= nncp -PORTVERSION= 0.5 +DISTVERSION= 8.6.0 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 +USES= go:modules,no_targets tar:xz USE_RC_SUBR= nncp-caller nncp-daemon nncp-toss -REQUIRE= DAEMON -SUB_FILES= pkg-message pkg-deinstall nncp.newsyslog.conf +MAKE_ARGS= INFODIR=${STAGEDIR}${PREFIX}/${INFO_PATH} +MAKE_ENV= ${GO_ENV} +INSTALL_TARGET= install-strip + +SUB_FILES= pkg-message pkg-install pkg-deinstall -PORTDOCS= AUTHORS NEWS README THANKS INFO= nncp -INSTALL_TARGET= install-strip +PORTDOCS= AUTHORS NEWS NEWS.RU README README.RU THANKS -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 +OPTIONS_DEFINE= DOCS 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