Lines 7-14
Link Here
|
7 |
# $Tecnik: ports/sysutils/apcupsd/Makefile,v 1.9 2006/04/30 11:36:52 itetcu Exp $ |
7 |
# $Tecnik: ports/sysutils/apcupsd/Makefile,v 1.9 2006/04/30 11:36:52 itetcu Exp $ |
8 |
|
8 |
|
9 |
PORTNAME= apcupsd |
9 |
PORTNAME= apcupsd |
10 |
PORTVERSION= 3.12.4 |
10 |
PORTVERSION= 3.14.0 |
11 |
PORTREVISION= 1 |
|
|
12 |
CATEGORIES= sysutils |
11 |
CATEGORIES= sysutils |
13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:src_sf/g} \ |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:src_sf/g} \ |
14 |
http://sce-tindy.tecnik93.com/FreeBSD/ports/${PORTNAME}/sources/:src_bk \ |
13 |
http://sce-tindy.tecnik93.com/FreeBSD/ports/${PORTNAME}/sources/:src_bk \ |
Lines 31-37
Link Here
|
31 |
--with-nologin=/var/run \ |
30 |
--with-nologin=/var/run \ |
32 |
--disable-install-distdir \ |
31 |
--disable-install-distdir \ |
33 |
--sysconfdir=${PREFIX}/etc/apcupsd \ |
32 |
--sysconfdir=${PREFIX}/etc/apcupsd \ |
34 |
--with-serial-dev=/dev/usv |
33 |
--with-serial-dev=/dev/usv \ |
35 |
|
34 |
|
36 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \ |
35 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \ |
37 |
CFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \ |
36 |
CFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \ |
Lines 92-99
Link Here
|
92 |
done |
91 |
done |
93 |
@${ECHO_CMD} "@unexec if [ -d %D/etc/apcupsd ]; then ${ECHO_CMD} \"If you are permanently removing this port, you should do a ``rm -rf ${PREFIX}/etc/apcupsd`` to remove config files left.\" | ${FMT} ; fi" >> ${TMPPLIST} |
92 |
@${ECHO_CMD} "@unexec if [ -d %D/etc/apcupsd ]; then ${ECHO_CMD} \"If you are permanently removing this port, you should do a ``rm -rf ${PREFIX}/etc/apcupsd`` to remove config files left.\" | ${FMT} ; fi" >> ${TMPPLIST} |
94 |
# Install sample startup script |
93 |
# Install sample startup script |
95 |
${INSTALL_DATA} ${FILESDIR}/apcupsd.conf.net-master.sample ${PREFIX}/etc/apcupsd/ |
|
|
96 |
${INSTALL_DATA} ${FILESDIR}/apcupsd.conf.net-slave.sample ${PREFIX}/etc/apcupsd/ |
97 |
# If there is already a config file it is installed as ...new |
94 |
# If there is already a config file it is installed as ...new |
98 |
for na in apcupsd.conf apcupsd.css hosts.conf multimon.conf; do \ |
95 |
for na in apcupsd.conf apcupsd.css hosts.conf multimon.conf; do \ |
99 |
if [ -f ${PREFIX}/etc/apcupsd/$$na ]; then \ |
96 |
if [ -f ${PREFIX}/etc/apcupsd/$$na ]; then \ |