diff options
author | Alex Dupre <ale@FreeBSD.org> | 2011-11-23 13:17:31 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2011-11-23 13:17:31 +0000 |
commit | 0312ded222d8b06a5d50e1bf4ec10cbb0da76386 (patch) | |
tree | 583b933577908ccc49a906d801a41224c49daa60 /lang/php5-extensions/Makefile | |
parent | 449868b8a1d4accba1a51a04260b8d0c4eb6fe91 (diff) | |
download | ports-0312ded222d8b06a5d50e1bf4ec10cbb0da76386.tar.gz ports-0312ded222d8b06a5d50e1bf4ec10cbb0da76386.zip |
Notes
Diffstat (limited to 'lang/php5-extensions/Makefile')
-rw-r--r-- | lang/php5-extensions/Makefile | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/lang/php5-extensions/Makefile b/lang/php5-extensions/Makefile index 3cdb60d5cb9a..d20743c839f9 100644 --- a/lang/php5-extensions/Makefile +++ b/lang/php5-extensions/Makefile @@ -16,12 +16,15 @@ EXTRACT_ONLY= # none MAINTAINER= ale@FreeBSD.org COMMENT= A "meta-port" to install PHP extensions +USE_PHP= yes DEFAULT_PHP_VER=5 IGNORE_WITH_PHP=4 USE_PHP_BUILD= yes NO_BUILD= yes +LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} + WITH_CTYPE= yes WITH_DOM= yes WITH_FILTER= yes @@ -101,14 +104,6 @@ OPTIONS= BCMATH "bc style precision math functions" off \ ZIP "ZIP support" off \ ZLIB "ZLIB support" off -PORT_DBDIR?= /var/db/ports -LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} -OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options - -.if exists(${OPTIONSFILE}) -.include "${OPTIONSFILE}" -.endif - ALL_OPTIONS= BCMATH BZ2 CALENDAR CTYPE CURL DBA \ DOM EXIF FILEINFO FILTER FRIBIDI FTP GD GETTEXT \ GMP HASH ICONV IMAP INTERBASE JSON LDAP MBSTRING MCRYPT \ @@ -119,13 +114,13 @@ ALL_OPTIONS= BCMATH BZ2 CALENDAR CTYPE CURL DBA \ TIDY TOKENIZER WDDX XML XMLREADER XMLRPC XMLWRITER XSL \ YAZ ZIP ZLIB -SEL_OPTIONS= yes +.include <bsd.port.options.mk> + .for opt in ${ALL_OPTIONS} . if defined(WITH_${opt}) && !defined(WITHOUT_${opt}) -SEL_OPTIONS+= ${opt:L} +USE_PHP+= ${opt:L} . endif .endfor -USE_PHP= ${SEL_OPTIONS} do-install: build @${DO_NADA} |