diff options
author | dinoex <dinoex@FreeBSD.org> | 2012-09-16 23:03:18 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2012-09-16 23:03:18 +0800 |
commit | 052fa231fefac1276805ffbb3d5f63fc2c208b06 (patch) | |
tree | b85a84773b9125786c208650c53b80ca0edd060b /net-mgmt | |
parent | 6fbbee3e24f8b73f81df770e904ca63e935179d2 (diff) | |
download | freebsd-ports-graphics-052fa231fefac1276805ffbb3d5f63fc2c208b06.tar.gz freebsd-ports-graphics-052fa231fefac1276805ffbb3d5f63fc2c208b06.tar.zst freebsd-ports-graphics-052fa231fefac1276805ffbb3d5f63fc2c208b06.zip |
- use OPTIONS_DEFINE
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/xymon-server/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net-mgmt/xymon-server/Makefile b/net-mgmt/xymon-server/Makefile index 7cfe4d4cb82..2f9889d38b7 100644 --- a/net-mgmt/xymon-server/Makefile +++ b/net-mgmt/xymon-server/Makefile @@ -66,17 +66,17 @@ MAN8= enadis.cgi.8 xymon-mailack.8 xymoncgimsg.cgi.8 xymond.8 \ xymond_hostdata.8 xymond_rrd.8 xymond_sample.8 xymonfetch.8 \ xymonlaunch.8 xymonproxy.8 msgcache.8 trimhistory.8 -OPTIONS= LDAP "Enable LDAP support" off \ - SNMP "Enable Net-SNMP support" off +OPTIONS_DEFINE=LDAP NETSNMP +NETSNMP_DESC=Enable Net-SNMP support -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_LDAP) +.if ${PORT_OPTIONS:MLDAP} MAKE_ENV+= WITH_LDAP=1 USE_OPENLDAP= yes .endif -.if defined(WITH_NETSNMP) +.if ${PORT_OPTIONS:MNETSNMP} MAKE_ENV+= WITH_NETSNMP=1 LIB_DEPENDS+= netsnmp.30:${PORTSDIR}/net-mgmt/net-snmp .endif @@ -109,4 +109,4 @@ post-install: ${WWWDIR}/server/etc/${i} .endfor -.include <bsd.port.post.mk> +.include <bsd.port.mk> |