X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=ports%2Fnncp%2FMakefile;h=4fd2908c87ecd47b174af322d6fbb393b14bd98a;hb=fd6a79c14ead6eefcb0bc327ea67687952b7ed3a;hp=49a463a95358841ae817e164be4777b16a57c723;hpb=65bc4a167bacb02705f3fb898c39579917631a9c;p=nncp.git diff --git a/ports/nncp/Makefile b/ports/nncp/Makefile index 49a463a..4fd2908 100644 --- a/ports/nncp/Makefile +++ b/ports/nncp/Makefile @@ -1,52 +1,31 @@ -# $FreeBSD$ - PORTNAME= nncp -PORTVERSION= 0.10 +DISTVERSION= 6.5.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-install pkg-deinstall nncp.newsyslog.conf.sample +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 NEWS.RU README README.RU 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-cfgenc \ - bin/nncp-cfgmin \ - bin/nncp-cfgnew \ - bin/nncp-check \ - bin/nncp-daemon \ - bin/nncp-file \ - bin/nncp-freq \ - bin/nncp-log \ - bin/nncp-mail \ - 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" +OPTIONS_DEFINE= DOCS 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