View | Details | Raw Unified | Return to bug 187924 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +2 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	apcupsd
4
PORTNAME=	apcupsd
5
PORTVERSION=	3.14.12
5
PORTVERSION=	3.14.12
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	sysutils
7
CATEGORIES=	sysutils
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20-%20Stable/${PORTVERSION}
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20-%20Stable/${PORTVERSION}
9
9
Lines 84-90 Link Here
84
post-install:
84
post-install:
85
	@${ECHO_CMD} "@unexec if [ -d %D/${ETCDIR_REL} ]; then ${ECHO_CMD} \"If you are permanently removing this port, you should do a ``rm -rf ${ETCDIR}`` to remove config files left.\" | ${FMT} ; fi" >> ${TMPPLIST}
85
	@${ECHO_CMD} "@unexec if [ -d %D/${ETCDIR_REL} ]; then ${ECHO_CMD} \"If you are permanently removing this port, you should do a ``rm -rf ${ETCDIR}`` to remove config files left.\" | ${FMT} ; fi" >> ${TMPPLIST}
86
#	Install sample startup script
86
#	Install sample startup script
87
	for na in apcupsd.conf apcupsd.css hosts.conf multimon.conf; do \
87
	for na in apcupsd.conf apcupsd.css hosts.conf multimon.conf apccontrol changeme commfailure commok onbattery offbattery; do \
88
		if [ -f ${STAGEDIR}${ETCDIR}/$$na ]; then \
88
		if [ -f ${STAGEDIR}${ETCDIR}/$$na ]; then \
89
			${MV} ${STAGEDIR}${ETCDIR}/$$na ${STAGEDIR}${ETCDIR}/$$na.sample; \
89
			${MV} ${STAGEDIR}${ETCDIR}/$$na ${STAGEDIR}${ETCDIR}/$$na.sample; \
90
		fi \
90
		fi \
(-)pkg-plist (-6 / +6 lines)
Lines 3-14 Link Here
3
sbin/apctest
3
sbin/apctest
4
sbin/smtp
4
sbin/smtp
5
@sample %%ETCDIR%%/apcupsd.conf.sample
5
@sample %%ETCDIR%%/apcupsd.conf.sample
6
%%ETCDIR%%/apccontrol
6
@sample %%ETCDIR%%/apccontrol.sample
7
%%ETCDIR%%/changeme
7
@sample %%ETCDIR%%/changeme.sample
8
%%ETCDIR%%/commfailure
8
@sample %%ETCDIR%%/commfailure.sample
9
%%ETCDIR%%/commok
9
@sample %%ETCDIR%%/commok.sample
10
%%ETCDIR%%/onbattery
10
@sample %%ETCDIR%%/onbattery.sample
11
%%ETCDIR%%/offbattery
11
@sample %%ETCDIR%%/offbattery.sample
12
%%CGI%%@sample %%ETCDIR%%/apcupsd.css.sample
12
%%CGI%%@sample %%ETCDIR%%/apcupsd.css.sample
13
%%CGI%%@sample %%ETCDIR%%/hosts.conf.sample
13
%%CGI%%@sample %%ETCDIR%%/hosts.conf.sample
14
%%CGI%%@sample %%ETCDIR%%/multimon.conf.sample
14
%%CGI%%@sample %%ETCDIR%%/multimon.conf.sample

Return to bug 187924