diff options
author | jeh <jeh@FreeBSD.org> | 2003-12-06 05:53:13 +0800 |
---|---|---|
committer | jeh <jeh@FreeBSD.org> | 2003-12-06 05:53:13 +0800 |
commit | d6fdf3e1029a7b46eac4f927606728c0a3e0c65f (patch) | |
tree | 8073bc3790eb46e51ad5ce0072f41bb6e88e728a /sysutils | |
parent | 4a9de5f799fea061457056d2438051a05d258592 (diff) | |
download | freebsd-ports-gnome-d6fdf3e1029a7b46eac4f927606728c0a3e0c65f.tar.gz freebsd-ports-gnome-d6fdf3e1029a7b46eac4f927606728c0a3e0c65f.tar.zst freebsd-ports-gnome-d6fdf3e1029a7b46eac4f927606728c0a3e0c65f.zip |
Update to 0.7.5, this support rc.subr
Diffstat (limited to 'sysutils')
-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 |