diff options
author | James E. Housley <jeh@FreeBSD.org> | 2003-12-05 21:53:13 +0000 |
---|---|---|
committer | James E. Housley <jeh@FreeBSD.org> | 2003-12-05 21:53:13 +0000 |
commit | b3702d37955d90bfa0dc98e918f49d54282c521a (patch) | |
tree | 517a094423ba6bf8ea042fb9d4c33e81503ec626 | |
parent | - Update to 1.9.14 (diff) |
Update to 0.7.5, this support rc.subr
Notes
Notes:
svn path=/head/; revision=95165
-rw-r--r-- | sysutils/healthd/Makefile | 14 | ||||
-rw-r--r-- | sysutils/healthd/distinfo | 2 | ||||
-rw-r--r-- | sysutils/healthd/pkg-plist | 3 |
3 files changed, 10 insertions, 9 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"; \ diff --git a/sysutils/healthd/distinfo b/sysutils/healthd/distinfo index 222fdc340149..dd7bbbc445ce 100644 --- a/sysutils/healthd/distinfo +++ b/sysutils/healthd/distinfo @@ -1 +1 @@ -MD5 (healthd-0.7.4.tar.gz) = 0166adf5adaed0b9f0669381270b48f3 +MD5 (healthd-0.7.5.tar.gz) = 6b2c52ab58c9d277007e05f3a301dec2 diff --git a/sysutils/healthd/pkg-plist b/sysutils/healthd/pkg-plist index e640c2fe3433..0a8903a9da1e 100644 --- a/sysutils/healthd/pkg-plist +++ b/sysutils/healthd/pkg-plist @@ -4,8 +4,7 @@ sbin/healthd etc/healthd.conf.sample @exec if [ ! -f %D/etc/healthd.conf ]; then cp -p %D/%F %B/healthd.conf; fi @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 +etc/rc.d/healthd.sh %%PORTDOCS%%share/doc/healthd/README %%PORTDOCS%%share/doc/healthd/PROTOCOL %%PORTDOCS%%@dirrm share/doc/healthd |