X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=ports%2Fnncp%2FMakefile;h=7aed8a6005c5a6ba803a5c3fc95a5ea3840b665b;hb=8225239b10b39cd59277f713c010c2ab3ea70b88;hp=5f62b97919b674241f411b46a51f8be581be6bc4;hpb=8f43a18b96b1fb5678d5e1e9ca13f99b734694ef;p=nncp.git diff --git a/ports/nncp/Makefile b/ports/nncp/Makefile index 5f62b97..7aed8a6 100644 --- a/ports/nncp/Makefile +++ b/ports/nncp/Makefile @@ -1,7 +1,5 @@ -# $FreeBSD: head/net/nncp/Makefile 517819 2019-11-17 11:51:56Z dmgk $ - PORTNAME= nncp -DISTVERSION= 5.1.1 +DISTVERSION= 7.2.0 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