freebsd-ports/sysutils/healthd/Makefile
Kevin Lo a0ce692f90 - Update to 0.5.4
- Update the Makefile so the healthd.sh for the port is installed
  instead the one in the files directory, which is out-of-date.

PR: 19984, 19993
Submitted by: maintainer
2000-07-18 12:06:02 +00:00

34 lines
940 B
Makefile

# New ports collection makefile for: healthd
# Date created: 15 November 1999
# Whom: jim@thehousleys.net
#
# $FreeBSD$
#
PORTNAME= healthd
PORTVERSION= 0.5.4
CATEGORIES= sysutils
MASTER_SITES= http://healthd.thehousleys.net/
MAINTAINER= jim@thehousleys.net
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --exec-prefix=${PREFIX}
MAN8= healthd.8 healthdc.8
INSTALL_TARGET= install-all
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
.include <bsd.port.mk>