]> Cypherpunks.ru repositories - nncp.git/commitdiff
Up to date FreeBSD port
authorSergey Matveev <stargrave@stargrave.org>
Sun, 17 Nov 2019 11:59:42 +0000 (14:59 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 17 Nov 2019 11:59:42 +0000 (14:59 +0300)
ports/nncp/Makefile
ports/nncp/files/pkg-message.in

index b26f5666e6e127e206be18fd7295cee38bdebc18..cc2d0595e4e8b8eb5f4f712c6b2471ab55649978 100644 (file)
@@ -1,8 +1,7 @@
-# $FreeBSD: head/net/nncp/Makefile 484628 2018-11-10 18:12:57Z bapt $
+# $FreeBSD: head/net/nncp/Makefile 517819 2019-11-17 11:51:56Z dmgk $
 
 PORTNAME=      nncp
 DISTVERSION=   5.0.0
-PORTREVISION=  1
 CATEGORIES=    net
 MASTER_SITES=  http://www.nncpgo.org/download/
 
@@ -12,19 +11,19 @@ COMMENT=    Utilities for secure store-and-forward files, mail, command exchanging
 LICENSE=       GPLv3
 LICENSE_FILE=  ${WRKSRC}/COPYING
 
-BUILD_DEPENDS= go:lang/go
+USES=          go:no_targets tar:xz
 
-USES=          tar:xz
 USE_RC_SUBR=   nncp-caller nncp-daemon nncp-toss
+
+MAKE_ARGS=     INFODIR=${STAGEDIR}${PREFIX}/${INFO_PATH}
 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
-MAKE_ARGS=     INFODIR=${STAGEDIR}${PREFIX}/${INFO_PATH}
+PORTDOCS=      AUTHORS NEWS NEWS.RU README README.RU THANKS
+
+OPTIONS_DEFINE=        DOCS
 
 post-install:
        ${INSTALL_DATA} ${FILESDIR}/nncp.newsyslog.conf.sample ${STAGEDIR}${PREFIX}/etc/nncp.conf.sample
index 6aa49a4eac87bd153e4ca2d1381c21f8e6a13a74..3d6ddd95ec35e51503317bce3d5bb001a2dd1250 100644 (file)
@@ -1,4 +1,6 @@
-======================================================================
+[
+{ type: install
+  message: <<EOM
 - Add the following lines to /etc/rc.conf to enable nncp-daemon,
   nncp-caller and nncp-toss:
 
@@ -14,4 +16,6 @@
 
     # umask 077
     # nncp-cfgnew > %%PREFIX%%/etc/nncp.hjson
-======================================================================
+EOM
+}
+]