1 diff -ur sysutils/apcupsd/distinfo sysutils/apcupsd/distinfo
2 --- sysutils/apcupsd/distinfo 2014-01-22 09:30:13.000000000 -0600
3 +++ sysutils/apcupsd/distinfo 2014-07-04 02:11:39.777720169 -0500
5 SHA256 (apcupsd-3.14.10.tar.gz) = 0707b5ec9916fbde9e44eb8d18037c8d8f75dfd6aeef51aba5487e189eef2032
6 SIZE (apcupsd-3.14.10.tar.gz) = 1336852
7 -SHA256 (apcupsd.pdf) = IGNORE
8 diff -ur sysutils/apcupsd/Makefile sysutils/apcupsd/Makefile
9 --- sysutils/apcupsd/Makefile 2014-06-22 17:21:38.000000000 -0500
10 +++ sysutils/apcupsd/Makefile 2014-07-04 02:22:31.750385486 -0500
12 http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/:src_bk \
13 http://apcupsd.sourceforge.net/manual/:doc_sf \
14 http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/:doc_bk
15 -DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src_sf,src_bk \
16 - ${PORTNAME}.pdf:doc_sf,doc_bk
17 +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src_sf,src_bk
18 EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
20 MAINTAINER= itetcu@FreeBSD.org
21 COMMENT= Set of programs for controlling APC UPS
23 -BROKEN= no distinfo provided for some of the distfiles
26 SUB_FILES= pkg-message
29 CPPFLAGS+= -I${LOCALBASE}/include
30 LIBS+= -L${LOCALBASE}/lib
33 -MAN8= apcaccess.8 apccontrol.8 apctest.8 apcupsd.8
35 OPTIONS_DEFINE= APCSMART_DRV APCDUMB_DRV CLIENT_ONLY CGI PCNET_DRV USB SNMP_DRV \
36 - SNMP_DRV_OLD TCP_WRAPPERS TEST_DRV GAPCMON DOCS
37 + SNMP_DRV_OLD TCP_WRAPPERS TEST_DRV GAPCMON
38 OPTIONS_DEFAULT= APCSMART_DRV APCDUMB_DRV PCNET_DRV USB TCP_WRAPPERS
39 APCSMART_DRV_DESC= Compile APC SmartUPS serial driver
40 APCDUMB_DRV_DESC= Compile dumb UPS driver
42 TEST_DRV_DESC= Compile TEST driver
43 GAPCMON_DESC= Build GTK GUI front-end
45 -PORTDOCS= ${PORTNAME}.pdf
48 .include <bsd.port.options.mk>
50 .if ${PORT_OPTIONS:MAPCSMART_DRV}
55 -# If the files presaved are identical with the new one, include them in
56 -# the package list, so the port can be removed without problems
57 - for na in apccontrol commfailure mainsback mastertimeout \
58 - changeme commok masterconnect onbattery; do \
59 - if [ -f ${ETCDIR}/$$na.orig ]; then \
60 - if cmp -s ${ETCDIR}/$$na ${ETCDIR}/$$na.orig; then \
61 - ${ECHO_CMD} "%%ETCDIR%%/$$na.orig" >> ${TMPPLIST}; \
65 @${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}
66 -# Install sample startup script
67 -# If there is already a config file it is installed as ...new
68 for na in apcupsd.conf apcupsd.css hosts.conf multimon.conf; do \
69 - if [ -f ${ETCDIR}/$$na ]; then \
70 - if [ -f ${ETCDIR}/$$na.new ]; then \
71 - ${MV} ${ETCDIR}/$$na.new ${ETCDIR}/$$na.sample; \
73 - ${CP} ${ETCDIR}/$$na ${ETCDIR}/$$na.sample; \
75 + if [ -f ${STAGEDIR}${ETCDIR}/$$na ]; then \
76 + ${MV} ${STAGEDIR}${ETCDIR}/$$na ${STAGEDIR}${ETCDIR}/$$na.sample; \
79 -.if ${PORT_OPTIONS:MDOCS}
80 - @${MKDIR} ${DOCSDIR}
81 - ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}.pdf ${DOCSDIR}
83 - @${CAT} ${PKGMESSAGE}
85 .include <bsd.port.mk>
86 diff -ur sysutils/apcupsd/pkg-plist sysutils/apcupsd/pkg-plist
87 --- sysutils/apcupsd/pkg-plist 2014-01-22 09:16:56.000000000 -0600
88 +++ sysutils/apcupsd/pkg-plist 2014-07-04 01:41:31.000000000 -0500
93 +man/man5/apcupsd.conf.5.gz
94 +man/man8/apcaccess.8.gz
95 +man/man8/apccontrol.8.gz
96 +man/man8/apctest.8.gz
97 +man/man8/apcupsd.8.gz
98 @unexec if cmp -s %D/%%ETCDIR%%/apcupsd.conf.sample %D/%%ETCDIR%%/apcupsd.conf; then rm -f %D/%%ETCDIR%%/apcupsd.conf; fi
99 %%ETCDIR%%/apcupsd.conf.sample
100 %%ETCDIR%%/apccontrol
101 Only in /home/cyberleo/scm/svn/CyberLeo/sysutils/apcupsd/: sysutils_apcupsd-stagify_and_remove_pdf.patch