diff options
author | ale <ale@FreeBSD.org> | 2011-11-23 21:17:31 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2011-11-23 21:17:31 +0800 |
commit | 89208d43fa5b3e2903eb82261d6780e8eadaf9b8 (patch) | |
tree | 8f7940b2482b2797d5077332b8a66f9f8babe1e7 /lang/php5-extensions | |
parent | cb9445bdad3ec2878d1e1f91891de789b63edcd7 (diff) | |
download | freebsd-ports-gnome-89208d43fa5b3e2903eb82261d6780e8eadaf9b8.tar.gz freebsd-ports-gnome-89208d43fa5b3e2903eb82261d6780e8eadaf9b8.tar.zst freebsd-ports-gnome-89208d43fa5b3e2903eb82261d6780e8eadaf9b8.zip |
Convert to use bsd.port.options.mk makefile.
PR: ports/162754
Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk>
Feature safe: yes
Diffstat (limited to 'lang/php5-extensions')
-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} |