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 \ |