X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=ports%2Fnncp%2FMakefile;h=dbc14e44c0384568b14a6f9db99b1c57c6dfe091;hb=ee648620885962bae731cd1e9a9eac0b6545c451;hp=527eb9e5af38a733164f1897d968f12888acb9c0;hpb=4e08a1c97600e0372680e86a651f916c70e89342;p=nncp.git diff --git a/ports/nncp/Makefile b/ports/nncp/Makefile index 527eb9e..dbc14e4 100644 --- a/ports/nncp/Makefile +++ b/ports/nncp/Makefile @@ -1,7 +1,5 @@ -# $FreeBSD: $ - PORTNAME= nncp -DISTVERSION= 5.3.3 +DISTVERSION= 8.7.1 CATEGORIES= net MASTER_SITES= http://www.nncpgo.org/download/ @@ -11,11 +9,12 @@ COMMENT= Utilities for secure store-and-forward files, mail, command exchanging LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -USES= go:no_targets tar:xz +USES= go:modules,no_targets tar:xz USE_RC_SUBR= nncp-caller nncp-daemon nncp-toss MAKE_ARGS= INFODIR=${STAGEDIR}${PREFIX}/${INFO_PATH} +MAKE_ENV= ${GO_ENV} INSTALL_TARGET= install-strip SUB_FILES= pkg-message pkg-install pkg-deinstall @@ -26,6 +25,7 @@ PORTDOCS= AUTHORS NEWS NEWS.RU README README.RU THANKS OPTIONS_DEFINE= DOCS post-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d ${INSTALL_DATA} ${FILESDIR}/nncp.newsyslog.conf.sample ${STAGEDIR}${PREFIX}/etc/nncp.conf.sample .include