mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
Convert to use bsd.port.options.mk makefile.
PR: ports/162754 Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk> Feature safe: yes
This commit is contained in:
parent
449868b8a1
commit
0312ded222
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286304
@ -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=4
|
||||
IGNORE_WITH_PHP=5
|
||||
USE_PHP_BUILD= yes
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
|
||||
|
||||
WITH_CTYPE= yes
|
||||
WITH_MYSQL= yes
|
||||
WITH_OVERLOAD= yes
|
||||
@ -94,14 +97,6 @@ OPTIONS= BCMATH "bc style precision math functions" off \
|
||||
ZIP "ZIP support" off \
|
||||
ZLIB "ZLIB support" on
|
||||
|
||||
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 CRACK CTYPE CURL DBA DBASE DBX DIO \
|
||||
DOMXML EXIF FILEINFO FILEPRO FRIBIDI FTP GD GETTEXT \
|
||||
GMP ICONV IMAP INTERBASE LDAP MBSTRING MCAL MCRYPT \
|
||||
@ -111,13 +106,13 @@ ALL_OPTIONS= BCMATH BZ2 CALENDAR CRACK CTYPE CURL DBA DBASE DBX DIO \
|
||||
SYBASE_CT SYSVMSG SYSVSEM SYSVSHM TOKENIZER \
|
||||
WDDX XML XMLRPC XSLT YAZ YP 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}
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user