aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-06-16 05:07:07 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-06-16 05:07:07 +0000
commita6a883f5eb2ec8d8133c886ee16b684311e87f3b (patch)
tree9b98ada996b03b8a02a2f58b23e0ee9e08b278c3 /misc
parent2f64b673220091ba32a2f20897b4eea932db1f34 (diff)
downloadports-a6a883f5eb2ec8d8133c886ee16b684311e87f3b.tar.gz
ports-a6a883f5eb2ec8d8133c886ee16b684311e87f3b.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/dnetc/Makefile3
-rw-r--r--misc/dnetc/pkg-plist2
2 files changed, 4 insertions, 1 deletions
diff --git a/misc/dnetc/Makefile b/misc/dnetc/Makefile
index 67c55ddfc116..991bf9c4efa0 100644
--- a/misc/dnetc/Makefile
+++ b/misc/dnetc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dnetc
PORTVERSION= 2.8010.462
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= misc
MASTER_SITES= ftp://ftp.distributed.net/pub/dcti/%SUBDIR%/ \
@@ -72,7 +73,7 @@ do-install:
fi
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
-
+ ${INSTALL} -c -m 644 -o ${CLIENTUID} -g ${CLIENTGID} ${WRKDIR}/dnetc.ini ${BINDIR}/dnetc.ini.default
.if !exists(${BINDIR}/dnetc.ini)
@echo ""
@echo ""
diff --git a/misc/dnetc/pkg-plist b/misc/dnetc/pkg-plist
index d93bff7397ff..9222a089bbf4 100644
--- a/misc/dnetc/pkg-plist
+++ b/misc/dnetc/pkg-plist
@@ -1,5 +1,7 @@
+@unexec if cmp -s %D/distributed.net/dnetc.ini %D/distributed.net/dnetc.ini.default; then rm -f %D/distributed.net/dnetc.ini; fi
distributed.net/dnetc
distributed.net/dnetc.sh
distributed.net/INFO
+distributed.net/dnetc.ini.default
etc/rc.d/dnetc.sh
@unexec rmdir %D/distributed.net 2>/dev/null || true