|
Lines 2-8
Link Here
|
| 2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= apcupsd |
4 |
PORTNAME= apcupsd |
| 5 |
PORTVERSION= 3.14.13 |
5 |
PORTVERSION= 3.14.14 |
| 6 |
CATEGORIES= sysutils |
6 |
CATEGORIES= sysutils |
| 7 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20-%20Stable/${PORTVERSION} |
7 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20-%20Stable/${PORTVERSION} |
| 8 |
|
8 |
|
|
Lines 29-36
Link Here
|
| 29 |
LIBS+= -L${LOCALBASE}/lib |
29 |
LIBS+= -L${LOCALBASE}/lib |
| 30 |
|
30 |
|
| 31 |
OPTIONS_DEFINE= APCSMART_DRV APCDUMB_DRV CLIENT_ONLY CGI PCNET_DRV USB SNMP_DRV \ |
31 |
OPTIONS_DEFINE= APCSMART_DRV APCDUMB_DRV CLIENT_ONLY CGI PCNET_DRV USB SNMP_DRV \ |
| 32 |
SNMP_DRV_OLD TCP_WRAPPERS TEST_DRV GAPCMON DOCS MODBUS |
32 |
SNMP_DRV_OLD TEST_DRV GAPCMON DOCS MODBUS |
| 33 |
OPTIONS_DEFAULT= APCSMART_DRV APCDUMB_DRV PCNET_DRV USB TCP_WRAPPERS MODBUS |
33 |
OPTIONS_DEFAULT= APCSMART_DRV APCDUMB_DRV PCNET_DRV USB MODBUS |
| 34 |
APCSMART_DRV_DESC= Compile APC SmartUPS serial driver |
34 |
APCSMART_DRV_DESC= Compile APC SmartUPS serial driver |
| 35 |
APCDUMB_DRV_DESC= Compile dumb UPS driver |
35 |
APCDUMB_DRV_DESC= Compile dumb UPS driver |
| 36 |
CLIENT_ONLY_DESC= Only NIS client (no network server or drivers) |
36 |
CLIENT_ONLY_DESC= Only NIS client (no network server or drivers) |
|
Lines 39-45
Link Here
|
| 39 |
USB_DESC= Compile with USB Support driver |
39 |
USB_DESC= Compile with USB Support driver |
| 40 |
SNMP_DRV_DESC= Compile with SNMP driver |
40 |
SNMP_DRV_DESC= Compile with SNMP driver |
| 41 |
SNMP_DRV_OLD_DESC= Compile with old SNMP driver |
41 |
SNMP_DRV_OLD_DESC= Compile with old SNMP driver |
| 42 |
TCP_WRAPPERS_DESC= Compile with TCP_WRAPPERS support |
|
|
| 43 |
TEST_DRV_DESC= Compile TEST driver |
42 |
TEST_DRV_DESC= Compile TEST driver |
| 44 |
GAPCMON_DESC= Build GTK GUI front-end |
43 |
GAPCMON_DESC= Build GTK GUI front-end |
| 45 |
MODBUS_DESC= Compile with MODBUS driver |
44 |
MODBUS_DESC= Compile with MODBUS driver |
|
Lines 63-75
Link Here
|
| 63 |
MODBUS_CONFIGURE_ENABLE= modbus |
62 |
MODBUS_CONFIGURE_ENABLE= modbus |
| 64 |
SNMP_DRV_OLD_CONFIGURE_ENABLE= net-snmp |
63 |
SNMP_DRV_OLD_CONFIGURE_ENABLE= net-snmp |
| 65 |
SNMP_DRV_OLD_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp |
64 |
SNMP_DRV_OLD_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp |
| 66 |
TCP_WRAPPERS_CONFIGURE_WITH= libwrap=yes |
|
|
| 67 |
TEST_DRV_CONFIGURE_ENABLE= test |
65 |
TEST_DRV_CONFIGURE_ENABLE= test |
| 68 |
|
66 |
|
| 69 |
#CONFIGURE_ARGS+= --with-libwrap=yes |
|
|
| 70 |
#CONFIGURE_ENV+= LIBS="-lcurses -lmenu" |
| 71 |
#PLIST_SUB+= POWERFL="" |
| 72 |
|
| 73 |
.include <bsd.port.options.mk> |
67 |
.include <bsd.port.options.mk> |
| 74 |
|
68 |
|
| 75 |
pre-configure: |
69 |
pre-configure: |