diff options
Diffstat (limited to 'sysutils/racktables/Makefile')
-rw-r--r-- | sysutils/racktables/Makefile | 37 |
1 files changed, 8 insertions, 29 deletions
diff --git a/sysutils/racktables/Makefile b/sysutils/racktables/Makefile index fd5cc7369779..cf4dda210f43 100644 --- a/sysutils/racktables/Makefile +++ b/sysutils/racktables/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= racktables -DISTVERSION= 0.20.14 +DISTVERSION= 0.21.1 CATEGORIES?= sysutils www MASTER_SITES= SF/${PORTNAME}/ DISTNAME= RackTables-${DISTVERSION} @@ -18,6 +18,7 @@ RACKHOME?= www/racktables PORTEXAMPLES= cleanup_ldap_cache.php init-sample-racks.sql syncdomain.php USES= shebangfix php:web perl5 python:run +NO_ARCH= yes USE_PERL5= run SHEBANG_FILES= gateways/* @@ -27,36 +28,14 @@ PLIST_SUB= WWWDIR_REL=${WWWDIR_REL} WWWDIR=${WWWDIR} WWWUSER?= www WWWGRP?= www -OPTIONS_DEFINE= LDAP SNMP CURL LANG PCNTL PCRE +OPTIONS_DEFINE= LDAP SNMP CURL PCNTL PCRE PCRE_DESC= Regular Expression Support PCNTL_DESC= pcntl Support -LANG_DESC= Additional Language Support - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MLDAP} -USE_PHP+= ldap -.endif - -.if ${PORT_OPTIONS:MSNMP} -USE_PHP+= snmp -.endif - -.if ${PORT_OPTIONS:MCURL} -USE_PHP+= curl -.endif - -.if ${PORT_OPTIONS:MLANG} -USE_PHP+= lang -.endif - -.if ${PORT_OPTIONS:MPCNTL} -USE_PHP+= pcntl -.endif - -.if ${PORT_OPTIONS:MPCRE} -USE_PHP+= pcre -.endif +LDAP_USE= PHP=ldap +SNMP_USE= PHP=snmp +CURL_USE= PHP=curl +PCNTL_USE= PHP=pcntl +PCRE_USE= PHP=pcre post-patch: @${FIND} ${WRKSRC} -name \*.orig -type f -delete |