1999-11-14 03:28:56 +00:00
|
|
|
# New ports collection makefile for: healthd
|
1999-11-21 00:45:22 +00:00
|
|
|
# Version required: 0.2
|
|
|
|
# Date created: 15 November 1999
|
1999-11-14 03:28:56 +00:00
|
|
|
# Whom: jim@thehousleys.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
1999-11-21 00:45:22 +00:00
|
|
|
DISTNAME= healthd-0.2
|
1999-11-14 03:28:56 +00:00
|
|
|
CATEGORIES= sysutils
|
1999-11-21 00:45:22 +00:00
|
|
|
MASTER_SITES= http://healthd.thehousleys.net/
|
1999-11-14 03:28:56 +00:00
|
|
|
|
|
|
|
MAINTAINER= jim@thehousleys.net
|
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --exec-prefix=${PREFIX}
|
|
|
|
|
1999-11-21 00:45:22 +00:00
|
|
|
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
|
|
|
|
|
1999-11-14 03:28:56 +00:00
|
|
|
.include <bsd.port.mk>
|