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
|
2001-03-16 20:29:13 +00:00
|
|
|
PORTVERSION= 0.6.5
|
2000-10-21 17:47:40 +00:00
|
|
|
CATEGORIES= sysutils ipv6
|
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-10-21 17:47:40 +00:00
|
|
|
#
|
|
|
|
# To allow reading the doWarn and doFail scripts remotely uncomment
|
|
|
|
# the following line. Enabling the following option might provide
|
|
|
|
# information about the configuration of you system.
|
|
|
|
#CONFIGURE_ARGS+= --enable-full-config
|
1999-11-14 03:28:56 +00:00
|
|
|
|
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
|
|
|
|
2000-10-21 17:47:40 +00:00
|
|
|
HDDOCDIR= ${PREFIX}/share/doc/healthd
|
|
|
|
|
2000-10-26 12:17:55 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 400014
|
|
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
|
|
.endif
|
|
|
|
|
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
|
2000-10-21 17:47:40 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@if ! [ -d ${HDDOCDIR} ]; then ${MKDIR} ${HDDOCDIR}; fi
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${HDDOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/PROTOCOL ${HDDOCDIR}
|
|
|
|
.endif
|
1999-11-21 00:45:22 +00:00
|
|
|
|
2000-10-26 12:17:55 +00:00
|
|
|
.include <bsd.port.post.mk>
|