X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=ports%2Fnncp%2FMakefile;h=920d86325681f0f9cb95cb4c394e6ae60d32740b;hb=829fe10fa752d263386772680fa1a8b87e9e90fa;hp=4c539183ef4d8faee58b43e5fc9c59e9db1eb368;hpb=6b25673ea31dc03b123fabe8b0a6c20e7a4b8d7d;p=nncp.git diff --git a/ports/nncp/Makefile b/ports/nncp/Makefile index 4c53918..920d863 100644 --- a/ports/nncp/Makefile +++ b/ports/nncp/Makefile @@ -1,31 +1,31 @@ -# $FreeBSD: head/net/nncp/Makefile 460314 2018-01-29 16:17:45Z yuri $ - PORTNAME= nncp -DISTVERSION= 2.0 +DISTVERSION= 8.8.1 CATEGORIES= net 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= go:modules,no_targets tar:xz -USES= tar:xz -MAKEFILE= BSDmakefile 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 -OPTIONS_DEFINE= DOCS - -PORTDOCS= AUTHORS NEWS NEWS.RU README README.RU THANKS INFO= nncp +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