aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2002-07-25 11:25:34 +0000
committerJames E. Housley <jeh@FreeBSD.org>2002-07-25 11:25:34 +0000
commitfa2be3aa76678bceccaffb6f64ca198fd9513241 (patch)
tree883a2f22f15176713cc5a6081180b649e81680ca /sysutils
parent3aae3284ba867e45d14b11524b9b8dcb062fdb49 (diff)
downloadports-fa2be3aa76678bceccaffb6f64ca198fd9513241.tar.gz
ports-fa2be3aa76678bceccaffb6f64ca198fd9513241.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/healthd/Makefile5
-rw-r--r--sysutils/healthd/pkg-plist4
2 files changed, 8 insertions, 1 deletions
diff --git a/sysutils/healthd/Makefile b/sysutils/healthd/Makefile
index ea0f0b988859..6b3c4680bb3d 100644
--- a/sysutils/healthd/Makefile
+++ b/sysutils/healthd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= healthd
PORTVERSION= 0.6.9
+PORTREVISION= 1
CATEGORIES= sysutils ipv6
MASTER_SITES= http://healthd.thehousleys.net/
@@ -32,6 +33,10 @@ CONFIGURE_ARGS+= --disable-ipv6
.endif
post-install:
+ @if [ ! -f ${PREFIX}/etc/rc.d/healthd.sh.sample ]; then \
+ ${ECHO} "Installing ${PREFIX}/etc/rc.d/healthd.sh.sample startup file."; \
+ ${INSTALL_SCRIPT} -m 751 ${WRKSRC}/healthd.sh ${PREFIX}/etc/rc.d/healthd.sh.sample; \
+ fi
@if [ ! -f ${PREFIX}/etc/rc.d/healthd.sh ]; then \
${ECHO} "Installing ${PREFIX}/etc/rc.d/healthd.sh startup file."; \
${INSTALL_SCRIPT} -m 751 ${WRKSRC}/healthd.sh ${PREFIX}/etc/rc.d/healthd.sh; \
diff --git a/sysutils/healthd/pkg-plist b/sysutils/healthd/pkg-plist
index abc55f36a787..e640c2fe3433 100644
--- a/sysutils/healthd/pkg-plist
+++ b/sysutils/healthd/pkg-plist
@@ -3,7 +3,9 @@ sbin/healthd
@unexec if cmp -s %D/etc/healthd.conf %D/etc/healthd.conf.sample; then rm -f %D/etc/healthd.conf; fi
etc/healthd.conf.sample
@exec if [ ! -f %D/etc/healthd.conf ]; then cp -p %D/%F %B/healthd.conf; fi
-etc/rc.d/healthd.sh
+@unexec if cmp -s %D/etc/rc.d/healthd.sh %D/etc/rc.d/healthd.sh.sample; then rm -f %D/etc/rc.d/healthd.sh; fi
+etc/rc.d/healthd.sh.sample
+@exec if [ ! -f %D/etc/rc.d/healthd.sh ]; then cp -p %D/%F %B/healthd.rc.sample; fi
%%PORTDOCS%%share/doc/healthd/README
%%PORTDOCS%%share/doc/healthd/PROTOCOL
%%PORTDOCS%%@dirrm share/doc/healthd