1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/sysutils/healthd/Makefile

52 lines
1.5 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: healthd
# Date created: 15 November 1999
# Whom: jim@thehousleys.net
#
# $FreeBSD$
#
PORTNAME= healthd
PORTVERSION= 0.6.5
2000-10-21 17:47:40 +00:00
CATEGORIES= sysutils ipv6
MASTER_SITES= http://healthd.thehousleys.net/
MAINTAINER= jeh@FreeBSD.org
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
MAN8= healthd.8 healthdc.8
INSTALL_TARGET= install-all
2000-10-21 17:47:40 +00:00
HDDOCDIR= ${PREFIX}/share/doc/healthd
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400014
CONFIGURE_ARGS+= --disable-ipv6
.endif
post-install:
@if [ ! -f ${PREFIX}/etc/rc.d/healthd.sh ]; then \
${ECHO} "Installing ${PREFIX}/etc/rc.d/healthd.sh startup file."; \
${INSTALL_SCRIPT} -m 751 ${WRKSRC}/healthd.sh ${PREFIX}/etc/rc.d/healthd.sh; \
fi
@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
.include <bsd.port.post.mk>