aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/healthd/Makefile18
-rw-r--r--sysutils/healthd/distinfo2
-rw-r--r--sysutils/healthd/pkg-descr2
-rw-r--r--sysutils/healthd/pkg-plist1
4 files changed, 17 insertions, 6 deletions
diff --git a/sysutils/healthd/Makefile b/sysutils/healthd/Makefile
index 0a3f46c5eb7a..46d727c31bd1 100644
--- a/sysutils/healthd/Makefile
+++ b/sysutils/healthd/Makefile
@@ -1,18 +1,28 @@
# New ports collection makefile for: healthd
-# Version required: 0.1
-# Date created: 24 October 1999
+# Version required: 0.2
+# Date created: 15 November 1999
# Whom: jim@thehousleys.net
#
# $FreeBSD$
#
-DISTNAME= healthd-0.1
+DISTNAME= healthd-0.2
CATEGORIES= sysutils
-MASTER_SITES= http://www.thehousleys.net/healthd/
+MASTER_SITES= http://healthd.thehousleys.net/
MAINTAINER= jim@thehousleys.net
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --exec-prefix=${PREFIX}
+MAN8= healthd.8
+
+post-install:
+ @if [ ! -f ${PREFIX}/etc/rc.d/healthd.sh ]; then \
+ ${ECHO} "Installing ${PREFIX}/etc/rc.d/healthd.sh startup file."; \
+ ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/healthd.sh; \
+ ${ECHO} "[ -x ${PREFIX}/bin/healthd ] && ${PREFIX}/bin/healthd > /dev/null && ${ECHO} -n ' healthd'" >> ${PREFIX}/etc/rc.d/healthd.sh; \
+ ${CHMOD} 751 ${PREFIX}/etc/rc.d/healthd.sh; \
+ fi
+
.include <bsd.port.mk>
diff --git a/sysutils/healthd/distinfo b/sysutils/healthd/distinfo
index f919c85b95cb..4df4174bd3c4 100644
--- a/sysutils/healthd/distinfo
+++ b/sysutils/healthd/distinfo
@@ -1 +1 @@
-MD5 (healthd-0.1.tar.gz) = f03c4af9c3e6b195eab9a516e65e42d2
+MD5 (healthd-0.2.tar.gz) = a1fe0e6285d4427d4b7012ca4ebe2061
diff --git a/sysutils/healthd/pkg-descr b/sysutils/healthd/pkg-descr
index c8d9bdaa9a36..9a2231901c67 100644
--- a/sysutils/healthd/pkg-descr
+++ b/sysutils/healthd/pkg-descr
@@ -4,7 +4,7 @@ capable of monitoring up to 3 tempuratures, 3 fan speeds and 7 voltages.
The configuration file specifies which functions are active and their
acceptable ranges.
-WWW: http://thehousleys.net/healthd/
+WWW: http://healthd.thehousleys.net/
- Jim
jim@thehousleys.net
diff --git a/sysutils/healthd/pkg-plist b/sysutils/healthd/pkg-plist
index 5c3593c835c2..8141bc13f1a2 100644
--- a/sysutils/healthd/pkg-plist
+++ b/sysutils/healthd/pkg-plist
@@ -1,2 +1,3 @@
bin/healthd
etc/healthd.conf.sample
+etc/rc.d/healthd.sh