Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= nut |
8 |
PORTNAME= nut |
9 |
PORTVERSION= 2.2.0 |
9 |
PORTVERSION= 2.2.0 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= sysutils |
11 |
CATEGORIES= sysutils |
11 |
MASTER_SITES= http://www.networkupstools.org/source/${PORTVERSION:R}/ |
12 |
MASTER_SITES= http://www.networkupstools.org/source/${PORTVERSION:R}/ |
12 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig |
13 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig |
Lines 15-20
Link Here
|
15 |
MAINTAINER= Joerg.Pulz@frm2.tum.de |
16 |
MAINTAINER= Joerg.Pulz@frm2.tum.de |
16 |
COMMENT= Network UPS Tools |
17 |
COMMENT= Network UPS Tools |
17 |
|
18 |
|
|
|
19 |
USE_AUTOTOOLS= autoconf:261 |
18 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
19 |
USE_GMAKE= yes |
21 |
USE_GMAKE= yes |
20 |
|
22 |
|
Lines 24-29
Link Here
|
24 |
|
26 |
|
25 |
OPTIONS= USB "USB support" on \ |
27 |
OPTIONS= USB "USB support" on \ |
26 |
SNMP "SNMP support" on \ |
28 |
SNMP "SNMP support" on \ |
|
|
29 |
IPV6 "IPV6 support" on \ |
27 |
LIBUPSCLIENT "Include the libupsclient library" off \ |
30 |
LIBUPSCLIENT "Include the libupsclient library" off \ |
28 |
CGI "Web CGI interface" off \ |
31 |
CGI "Web CGI interface" off \ |
29 |
|
32 |
|
Lines 102-107
Link Here
|
102 |
PLIST_SUB+= NUT_SNMP="@comment " |
105 |
PLIST_SUB+= NUT_SNMP="@comment " |
103 |
.endif |
106 |
.endif |
104 |
|
107 |
|
|
|
108 |
.if !defined(WITHOUT_IPV6) |
109 |
CONFIGURE_ARGS+= --with-ipv6 |
110 |
.else |
111 |
CONFIGURE_ARGS+= --without-ipv6 |
112 |
.endif |
113 |
|
105 |
.if defined(WITH_LIBUPSCLIENT) |
114 |
.if defined(WITH_LIBUPSCLIENT) |
106 |
CONFIGURE_ARGS+= --with-lib --enable-pkg-config \ |
115 |
CONFIGURE_ARGS+= --with-lib --enable-pkg-config \ |
107 |
--with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig |
116 |
--with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig |