1999-11-14 03:28:56 +00:00
|
|
|
# New ports collection makefile for: healthd
|
1999-11-21 00:45:22 +00:00
|
|
|
# Date created: 15 November 1999
|
1999-11-14 03:28:56 +00:00
|
|
|
# Whom: jim@thehousleys.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 19:09:11 +00:00
|
|
|
PORTNAME= healthd
|
2000-09-17 18:31:46 +00:00
|
|
|
PORTVERSION= 0.6.0
|
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
|
|
|
|
2000-10-02 03:10:28 +00:00
|
|
|
MAINTAINER= jeh@FreeBSD.org
|
1999-11-14 03:28:56 +00:00
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --exec-prefix=${PREFIX}
|
|
|
|
|
2000-06-22 01:18:37 +00:00
|
|
|
MAN8= healthd.8 healthdc.8
|
2000-07-08 00:43:29 +00:00
|
|
|
INSTALL_TARGET= install-all
|
1999-11-21 00:45:22 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@if [ ! -f ${PREFIX}/etc/rc.d/healthd.sh ]; then \
|
|
|
|
${ECHO} "Installing ${PREFIX}/etc/rc.d/healthd.sh startup file."; \
|
2000-07-18 12:06:02 +00:00
|
|
|
${INSTALL_SCRIPT} -m 751 ${WRKSRC}/healthd.sh ${PREFIX}/etc/rc.d/healthd.sh; \
|
1999-11-21 00:45:22 +00:00
|
|
|
fi
|
2000-04-27 12:01:50 +00:00
|
|
|
@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"; \
|
|
|
|
${ECHO} "before running the program."; \
|
|
|
|
${CP} ${PREFIX}/etc/healthd.conf.sample ${PREFIX}/etc/healthd.conf; \
|
|
|
|
fi
|
1999-11-21 00:45:22 +00:00
|
|
|
|
1999-11-14 03:28:56 +00:00
|
|
|
.include <bsd.port.mk>
|