aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-09-13 07:29:12 +0800
committermiwi <miwi@FreeBSD.org>2009-09-13 07:29:12 +0800
commitd18625a079fe010869fdb07a9da5952e629891b8 (patch)
tree45dc6e5c9dce293232fb5a77066342bb6cb6d715 /net
parent0a46f00e4034852ff3b933aaaf7ea8038faee291 (diff)
downloadfreebsd-ports-gnome-d18625a079fe010869fdb07a9da5952e629891b8.tar.gz
freebsd-ports-gnome-d18625a079fe010869fdb07a9da5952e629891b8.tar.zst
freebsd-ports-gnome-d18625a079fe010869fdb07a9da5952e629891b8.zip
- Update to 3.12
PR: 138253 Submitted by: Sylvio Cesar <scjamorim@bsd.com.br> Approved by: maintainer timeout
Diffstat (limited to 'net')
-rw-r--r--net/cnupm/Makefile8
-rw-r--r--net/cnupm/distinfo6
-rw-r--r--net/cnupm/pkg-plist2
3 files changed, 9 insertions, 7 deletions
diff --git a/net/cnupm/Makefile b/net/cnupm/Makefile
index e7504684dca4..a36744c5505f 100644
--- a/net/cnupm/Makefile
+++ b/net/cnupm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= cnupm
-PORTVERSION= 3.11
+PORTVERSION= 3.12
CATEGORIES= net ipv6
MASTER_SITES= http://pdp-11.org.ru/~form/cnupm/files/ \
ftp://cvs.1system.ru/pub/local/src/cnupm/
@@ -25,6 +25,8 @@ PW= /usr/sbin/pw
PLIST_SUB+= CNUPM_OWN="${CNUPM_OWN}" CNUPM_GRP="${CNUPM_GRP}"
+PORTDOCS= README
+
post-install:
${PW} groupshow ${CNUPM_GRP} 2>/dev/null || ${PW} groupadd \
-n ${CNUPM_GRP}
@@ -35,7 +37,9 @@ post-install:
${PW} usermod -n ${CNUPM_OWN} -d ${PREFIX}/var/cnupm
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.for docs in ${PORTDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+.endfor
.endif
@${CAT} ${PKGMESSAGE}
diff --git a/net/cnupm/distinfo b/net/cnupm/distinfo
index 10c82d41f97c..185460fdd9b3 100644
--- a/net/cnupm/distinfo
+++ b/net/cnupm/distinfo
@@ -1,3 +1,3 @@
-MD5 (cnupm-3.11.tar.gz) = b409d12042cef1ceff85fb8823345d68
-SHA256 (cnupm-3.11.tar.gz) = 01e3278e91ea5b211a63b946c383e65a1e76948bb01756b8f005bc3b59d19b39
-SIZE (cnupm-3.11.tar.gz) = 35596
+MD5 (cnupm-3.12.tar.gz) = cea26036cad766968d29aa9771379b26
+SHA256 (cnupm-3.12.tar.gz) = 32f9c23eb7f32507a6a3963600be89269dd2392e57911e8fc30a3d768f6662a1
+SIZE (cnupm-3.12.tar.gz) = 36287
diff --git a/net/cnupm/pkg-plist b/net/cnupm/pkg-plist
index 6074f09129e5..51d7f43efb67 100644
--- a/net/cnupm/pkg-plist
+++ b/net/cnupm/pkg-plist
@@ -1,7 +1,5 @@
sbin/cnupm
sbin/cnupmstat
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
@exec pw groupshow %%CNUPM_GRP%% 2>/dev/null || pw groupadd -n %%CNUPM_GRP%%
@exec pw usershow %%CNUPM_OWN%% 2>/dev/null || pw useradd -n %%CNUPM_OWN%% -c 'Cnupm traffic collector' -g %%CNUPM_GRP%% -s /sbin/nologin
@exec install -o %%CNUPM_OWN%% -g %%CNUPM_GRP%% -m 750 -d %D/var/cnupm