Index: head/sysutils/healthd/Makefile =================================================================== --- head/sysutils/healthd/Makefile (revision 63522) +++ head/sysutils/healthd/Makefile (revision 63523) @@ -1,51 +1,56 @@ # New ports collection makefile for: healthd # Date created: 15 November 1999 # Whom: jim@thehousleys.net # # $FreeBSD$ # PORTNAME= healthd PORTVERSION= 0.6.9 +PORTREVISION= 1 CATEGORIES= sysutils ipv6 MASTER_SITES= http://healthd.thehousleys.net/ MAINTAINER= jeh@FreeBSD.org HAS_CONFIGURE= yes CONFIGURE_ARGS= --exec-prefix=${PREFIX} # # 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 HDDOCDIR= ${PREFIX}/share/doc/healthd .include .if ${OSVERSION} < 400014 || defined(WITHOUT_IPV6) CONFIGURE_ARGS+= --disable-ipv6 .endif post-install: + @if [ ! -f ${PREFIX}/etc/rc.d/healthd.sh.sample ]; then \ + ${ECHO} "Installing ${PREFIX}/etc/rc.d/healthd.sh.sample startup file."; \ + ${INSTALL_SCRIPT} -m 751 ${WRKSRC}/healthd.sh ${PREFIX}/etc/rc.d/healthd.sh.sample; \ + fi @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 .if !defined(NOPORTDOCS) @if ! [ -d ${HDDOCDIR} ]; then ${MKDIR} ${HDDOCDIR}; fi ${INSTALL_DATA} ${WRKSRC}/README ${HDDOCDIR} ${INSTALL_DATA} ${WRKSRC}/PROTOCOL ${HDDOCDIR} .endif .include Property changes on: head/sysutils/healthd/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.29 \ No newline at end of property +1.30 \ No newline at end of property Index: head/sysutils/healthd/pkg-plist =================================================================== --- head/sysutils/healthd/pkg-plist (revision 63522) +++ head/sysutils/healthd/pkg-plist (revision 63523) @@ -1,9 +1,11 @@ bin/healthdc sbin/healthd @unexec if cmp -s %D/etc/healthd.conf %D/etc/healthd.conf.sample; then rm -f %D/etc/healthd.conf; fi etc/healthd.conf.sample @exec if [ ! -f %D/etc/healthd.conf ]; then cp -p %D/%F %B/healthd.conf; fi -etc/rc.d/healthd.sh +@unexec if cmp -s %D/etc/rc.d/healthd.sh %D/etc/rc.d/healthd.sh.sample; then rm -f %D/etc/rc.d/healthd.sh; fi +etc/rc.d/healthd.sh.sample +@exec if [ ! -f %D/etc/rc.d/healthd.sh ]; then cp -p %D/%F %B/healthd.rc.sample; fi %%PORTDOCS%%share/doc/healthd/README %%PORTDOCS%%share/doc/healthd/PROTOCOL %%PORTDOCS%%@dirrm share/doc/healthd Property changes on: head/sysutils/healthd/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property