]> Cypherpunks.ru repositories - nncp.git/blobdiff - ports/nncp/Makefile
Combine {BSD,GNU}makefiles together, as GNU Make 4.0 supports != assignment
[nncp.git] / ports / nncp / Makefile
index 3a494907d793f1fc3605500e8924bb63bf639256..b26f5666e6e127e206be18fd7295cee38bdebc18 100644 (file)
@@ -1,20 +1,20 @@
-# $FreeBSD: head/net/nncp/Makefile 471003 2018-05-27 20:24:00Z krion $
+# $FreeBSD: head/net/nncp/Makefile 484628 2018-11-10 18:12:57Z bapt $
 
 PORTNAME=      nncp
-DISTVERSION=   3.3
+DISTVERSION=   5.0.0
+PORTREVISION=  1
 CATEGORIES=    net
 MASTER_SITES=  http://www.nncpgo.org/download/
 
 MAINTAINER=    stargrave@stargrave.org
 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
 USE_RC_SUBR=   nncp-caller nncp-daemon nncp-toss
 INSTALL_TARGET=        install-strip
 
@@ -24,6 +24,7 @@ OPTIONS_DEFINE=       DOCS
 
 PORTDOCS=      AUTHORS NEWS NEWS.RU README README.RU THANKS
 INFO=          nncp
+MAKE_ARGS=     INFODIR=${STAGEDIR}${PREFIX}/${INFO_PATH}
 
 post-install:
        ${INSTALL_DATA} ${FILESDIR}/nncp.newsyslog.conf.sample ${STAGEDIR}${PREFIX}/etc/nncp.conf.sample