1999-11-14 04:28:56 +01:00
|
|
|
# New ports collection makefile for: healthd
|
1999-11-21 01:45:22 +01:00
|
|
|
# Date created: 15 November 1999
|
1999-11-14 04:28:56 +01:00
|
|
|
# Whom: jim@thehousleys.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 21:09:11 +02:00
|
|
|
PORTNAME= healthd
|
2002-02-05 02:43:06 +01:00
|
|
|
PORTVERSION= 0.6.6
|
2000-10-21 19:47:40 +02:00
|
|
|
CATEGORIES= sysutils ipv6
|
1999-11-21 01:45:22 +01:00
|
|
|
MASTER_SITES= http://healthd.thehousleys.net/
|
1999-11-14 04:28:56 +01:00
|
|
|
|
2000-10-02 05:10:28 +02:00
|
|
|
MAINTAINER= jeh@FreeBSD.org
|
1999-11-14 04:28:56 +01:00
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --exec-prefix=${PREFIX}
|
2000-10-21 19:47:40 +02: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 04:28:56 +01:00
|
|
|
|
2000-06-22 03:18:37 +02:00
|
|
|
MAN8= healthd.8 healthdc.8
|
2000-07-08 02:43:29 +02:00
|
|
|
INSTALL_TARGET= install-all
|
1999-11-21 01:45:22 +01:00
|
|
|
|
2000-10-21 19:47:40 +02:00
|
|
|
HDDOCDIR= ${PREFIX}/share/doc/healthd
|
|
|
|
|
2000-10-26 14:17:55 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 400014
|
|
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
|
|
.endif
|
|
|
|
|
1999-11-21 01:45:22 +01: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 14:06:02 +02:00
|
|
|
${INSTALL_SCRIPT} -m 751 ${WRKSRC}/healthd.sh ${PREFIX}/etc/rc.d/healthd.sh; \
|
1999-11-21 01:45:22 +01:00
|
|
|
fi
|
2000-04-27 14:01:50 +02: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 19:47:40 +02: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 01:45:22 +01:00
|
|
|
|
2000-10-26 14:17:55 +02:00
|
|
|
.include <bsd.port.post.mk>
|