diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2012-09-16 15:03:18 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2012-09-16 15:03:18 +0000 |
commit | 4013d79704cd9d6209c9b61690312f795d4f9940 (patch) | |
tree | b85a84773b9125786c208650c53b80ca0edd060b /net-mgmt/xymon-server | |
parent | 5589126ab2216ca23cdac017997a5fe654663b8a (diff) | |
download | ports-4013d79704cd9d6209c9b61690312f795d4f9940.tar.gz ports-4013d79704cd9d6209c9b61690312f795d4f9940.zip |
Notes
Diffstat (limited to 'net-mgmt/xymon-server')
-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 7cfe4d4cb824..2f9889d38b79 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> |