aboutsummaryrefslogtreecommitdiff
path: root/sysutils/healthd/Makefile
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2003-12-05 21:53:13 +0000
committerJames E. Housley <jeh@FreeBSD.org>2003-12-05 21:53:13 +0000
commitb3702d37955d90bfa0dc98e918f49d54282c521a (patch)
tree517a094423ba6bf8ea042fb9d4c33e81503ec626 /sysutils/healthd/Makefile
parented64d3f087ce9651990aad30a85de87dabe9386a (diff)
downloadports-b3702d37955d90bfa0dc98e918f49d54282c521a.tar.gz
ports-b3702d37955d90bfa0dc98e918f49d54282c521a.zip
Notes
Diffstat (limited to 'sysutils/healthd/Makefile')
-rw-r--r--sysutils/healthd/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/sysutils/healthd/Makefile b/sysutils/healthd/Makefile
index de511d299a98..ca2165636c9e 100644
--- a/sysutils/healthd/Makefile
+++ b/sysutils/healthd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= healthd
-PORTVERSION= 0.7.4
+PORTVERSION= 0.7.5
PORTREVISION= 0
CATEGORIES= sysutils ipv6
MASTER_SITES= http://healthd.thehousleys.net/
@@ -35,12 +35,14 @@ HDDOCDIR= ${PREFIX}/share/doc/healthd
CONFIGURE_ARGS+= --disable-ipv6
.endif
+.if ${OSVERSION} >= 500038
+RC_SUBR?= /etc/rc.subr
+.else
+USE_RC_SUBR= yes
+.endif
+
post-install:
- ${INSTALL_SCRIPT} -m 751 ${WRKSRC}/healthd.sh ${PREFIX}/etc/rc.d/healthd.sh.sample
- @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; \
- fi
+ ${INSTALL_SCRIPT} -m 751 ${WRKSRC}/healthd.sh ${PREFIX}/etc/rc.d/healthd.sh
@if [ ! -f ${PREFIX}/etc/healthd.conf ]; then \
${ECHO} "Installing ${PREFIX}/etc/healthd.conf configuration file."; \
${ECHO} "It is recommended you edit this file to match your system"; \