Index: head/archivers/pecl-lzf/Makefile =================================================================== --- head/archivers/pecl-lzf/Makefile (revision 417718) +++ head/archivers/pecl-lzf/Makefile (revision 417719) @@ -1,28 +1,26 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= lzf PORTVERSION= 1.6.3 CATEGORIES= archivers pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DISTNAME= ${PORTNAME:tu}-${PORTVERSION} DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= Handles LZF de/compression LICENSE= PHP202 -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz CONFIGURE_ARGS= --enable-lzf WRKSRC= ${WRKDIR}/${DISTNAME:tu} OPTIONS_DEFINE= BETTER_COMPRESSION BETTER_COMPRESSION_DESC= Better compression ratio BETTER_COMPRESSION_CONFIGURE_ON= --enable-lzf-better-compression .include Index: head/archivers/pecl-phk/Makefile =================================================================== --- head/archivers/pecl-phk/Makefile (revision 417718) +++ head/archivers/pecl-phk/Makefile (revision 417719) @@ -1,26 +1,24 @@ # Created by: Ditesh Shashikant Gathani # $FreeBSD$ PORTNAME= phk PORTVERSION= 3.0.1 CATEGORIES= archivers pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PHK is a PHP-oriented package/archive system LICENSE= PHP301 BROKEN_powerpc64= Does not build -USES= tar:tgz -USE_PHP= hash -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz +USE_PHP= hash:build IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --enable-phk .include Index: head/archivers/pecl-rar/Makefile =================================================================== --- head/archivers/pecl-rar/Makefile (revision 417718) +++ head/archivers/pecl-rar/Makefile (revision 417719) @@ -1,25 +1,23 @@ # Created by: Chin-San Huang # $FreeBSD$ PORTNAME= rar PORTVERSION= 3.0.2 CATEGORIES= archivers pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PECL extension to create and read RAR files LICENSE= PHP301 -USES= tar:tgz -USE_PHP= spl -USE_PHPEXT= yes -USE_PHP_BUILD= yes +USES= php:ext tar:tgz +USE_PHP= spl:build IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --enable-rar .include Index: head/archivers/php-horde_lz4/Makefile =================================================================== --- head/archivers/php-horde_lz4/Makefile (revision 417718) +++ head/archivers/php-horde_lz4/Makefile (revision 417719) @@ -1,24 +1,23 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= horde_lz4 PORTVERSION= 1.0.7 CATEGORIES= archivers pear MASTER_SITES= http://pear.horde.org/get/ PKGNAMEPREFIX= php- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= mm@FreeBSD.org COMMENT= Horde LZ4 Compression Extension for php -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --enable-horde_lz4 post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/horde_lz4.so .include Index: head/archivers/php5-snappy/Makefile =================================================================== --- head/archivers/php5-snappy/Makefile (revision 417718) +++ head/archivers/php5-snappy/Makefile (revision 417719) @@ -1,33 +1,32 @@ # Created by: Melvyn Sopacua # $FreeBSD$ PORTNAME= php5-snappy PORTVERSION= 0.0.2 PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= GOOGLE_CODE PROJECTHOST= php-snappy DISTNAME= ${PROJECTHOST}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= PHP extension for the snappy compression algorithm LICENSE= BSD2CLAUSE LIB_DEPENDS+= libsnappy.so:archivers/snappy CONFIGURE_ARGS+= --with-snappy-includedir=${LOCALBASE}/include -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext PHP_MODNAME= snappy WRKSRC= ${WRKDIR}/${PROJECTHOST} OPTIONS_DEFINE= TEST IGNORE_WITH_PHP= 70 post-build-TEST-on: @(cd ${WRKSRC} && ${MAKE} ${MAKE_ENV} NO_INTERACTION=yes ${.TARGET}) post-stage: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/snappy.so .include Index: head/benchmarks/phoronix-test-suite/Makefile =================================================================== --- head/benchmarks/phoronix-test-suite/Makefile (revision 417718) +++ head/benchmarks/phoronix-test-suite/Makefile (revision 417719) @@ -1,62 +1,61 @@ # Created by: Kris Moore # $FreeBSD$ PORTNAME= phoronix-test-suite PORTVERSION= 6.4.0 CATEGORIES= benchmarks MASTER_SITES= http://www.phoronix-test-suite.com/releases/ MAINTAINER= luca.pizzamiglio@gmail.com COMMENT= Phoronix Benchmarking Suite LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING +USES= php:cli,build USE_GCC= any USE_PHP= ctype curl dom filter gd hash json openssl pcntl posix session \ simplexml sockets sqlite3 zip zlib -USE_PHP_BUILD= yes -WANT_PHP_CLI= yes NO_BUILD= yes WRKSRC= ${WRKDIR}/phoronix-test-suite RUN_DEPENDS+= fpdf>0:print/fpdf RUN_DEPENDS+= cmake:devel/cmake PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= BASH_COMPLETIONS X11 DOCS OPTIONS_DEFAULT= X11 OPTIONS_SUB= yes BASH_COMPLETIONS_DESC= Install bash completions BASH_COMPLETIONS_CONFIGURE_ON= WITH_BASH_COMPLETIONS=yes X11_DESC= Install X11 icons and mimetypes X11_USES= desktop-file-utils shared-mime-info X11_CONFIGURE_OFF= WITHOUT_X11=yes post-patch: @${SED} -i '' -e "s|/usr/local|${LOCALBASE}|g" \ ${WRKSRC}/phoronix-test-suite \ ${WRKSRC}/pts-core/commands/ob_test_profile_analyze.php \ ${WRKSRC}/pts-core/pts-core.php \ ${WRKSRC}/pts-core/objects/pts_svg_dom_gd.php \ ${WRKSRC}/pts-core/objects/phodevi/components/phodevi_system.php \ ${WRKSRC}/pts-core/objects/client/pts_external_dependencies.php \ ${WRKSRC}/pts-core/objects/client/pts_client.php \ ${WRKSRC}/pts-core/external-test-dependencies/scripts/install-dragonfly-packages.sh \ ${WRKSRC}/pts-core/external-test-dependencies/xml/freebsd-packages.xml @${SED} -i '' -e "s|/usr/share/fonts|${LOCALBASE}/share/fonts| ; \ s|/usr/X11/lib|${LOCALBASE}/lib|" \ ${WRKSRC}/pts-core/objects/pts_svg_dom_gd.php @${SED} -i '' -e "/fpdf.php/s|/usr/share/php|${PREFIX}/share|" \ ${WRKSRC}/pts-core/objects/pts_pdf_template.php #${WRKSRC}/pts-core/pts-core.php \ #${WRKSRC}/pts-core/commands/dump_documentation.php \ #${WRKSRC}/pts-core/commands/result_file_to_pdf.php do-install: (cd ${WRKSRC} && ${CONFIGURE_ARGS} DESTDIR="${STAGEDIR}" ./install-sh ${PREFIX}) .include Index: head/chinese/php-cconv/Makefile =================================================================== --- head/chinese/php-cconv/Makefile (revision 417718) +++ head/chinese/php-cconv/Makefile (revision 417719) @@ -1,26 +1,25 @@ # Created by: Sunpoet Po-Chuan Hsieh # $FreeBSD$ PORTNAME= cconv PORTVERSION= 0.6.4 DISTVERSIONPREFIX= php- CATEGORIES= chinese converters MASTER_SITES= GOOGLE_CODE PKGNAMEPREFIX= php- MAINTAINER= sunpoet@FreeBSD.org COMMENT= PHP wrapper for chinese/cconv LICENSE= GPLv2 LIB_DEPENDS= libcconv.so:chinese/cconv CONFIGURE_ARGS= --with-cconv-dir=${LOCALBASE} -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 70 post-patch: @${REINPLACE_CMD} -e 's| function_entry| zend_function_entry|' ${WRKSRC}/php_cconv.c .include Index: head/converters/pecl-fribidi/Makefile =================================================================== --- head/converters/pecl-fribidi/Makefile (revision 417718) +++ head/converters/pecl-fribidi/Makefile (revision 417719) @@ -1,24 +1,22 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= fribidi PORTVERSION= 1.2 PORTREVISION= 1 CATEGORIES= converters pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= ale@FreeBSD.org COMMENT= PECL extension for the Unicode Bidi algorithm LIB_DEPENDS= libfribidi.so:converters/fribidi -USES= pkgconfig tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext pkgconfig tar:tgz IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --with-fribidi=${LOCALBASE} .include Index: head/converters/pecl-igbinary/Makefile =================================================================== --- head/converters/pecl-igbinary/Makefile (revision 417718) +++ head/converters/pecl-igbinary/Makefile (revision 417719) @@ -1,27 +1,24 @@ # Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= igbinary PORTVERSION= 1.2.1 CATEGORIES= converters MASTER_SITES= http://pecl.php.net/get/ \ LOCAL/sunpoet PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= sunpoet@FreeBSD.org COMMENT= Replacement for the standard PHP serializer LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_powerpc64= does not build IGNORE_WITH_PHP=70 -USE_PHP= session -USE_PHP_BUILD= yes -USE_PHPEXT= yes -USE_PHPIZE= yes -USES= tar:tgz +USE_PHP= session:build +USES= php:ext tar:tgz .include Index: head/converters/php5-bsdconv/Makefile =================================================================== --- head/converters/php5-bsdconv/Makefile (revision 417718) +++ head/converters/php5-bsdconv/Makefile (revision 417719) @@ -1,28 +1,24 @@ # Created by: buganini@gmail.com # $FreeBSD$ PORTNAME= bsdconv PORTVERSION= 11.3.0 CATEGORIES= converters PKGNAMEPREFIX= php5- MAINTAINER= buganini@gmail.com COMMENT= PHP wrapper for bsdconv LICENSE= ISCL LIB_DEPENDS= libbsdconv.so:converters/bsdconv USE_GITHUB= yes GH_ACCOUNT= buganini GH_PROJECT= php-${PORTNAME} -USE_PHP= yes -USE_PHPEXT= yes -USE_PHPIZE= yes -USE_PHP_BUILD= yes -PHP_MODNAME= ${PORTNAME} +USES= php:ext IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --with-bsdconv=${LOCALBASE} .include Index: head/databases/pecl-chdb/Makefile =================================================================== --- head/databases/pecl-chdb/Makefile (revision 417718) +++ head/databases/pecl-chdb/Makefile (revision 417719) @@ -1,33 +1,29 @@ # Created by: Evan Sarmiento # $FreeBSD$ PORTNAME= chdb PORTVERSION= 1.0.2 CATEGORIES= databases PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= CHDB extension LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/lib/libcmph.so:devel/cmph RUN_DEPENDS= ${LOCALBASE}/lib/libcmph.so:devel/cmph -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPIZE= yes -USE_PHPEXT= yes -PHP_MODNAME= chdb +USES= php:ext IGNORE_WITH_PHP= 70 CFLAGS+= -L${LOCALBASE}/lib USE_GITHUB= yes GH_ACCOUNT= lcastelli CONFIGURE_ARGS= --with-libcmph-dir=${LOCALBASE}/lib .include Index: head/databases/pecl-dbase/Makefile =================================================================== --- head/databases/pecl-dbase/Makefile (revision 417718) +++ head/databases/pecl-dbase/Makefile (revision 417719) @@ -1,21 +1,20 @@ # Created by: toomas # $FreeBSD$ PORTNAME= dbase PORTVERSION= 5.1.0 CATEGORIES= databases pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= toomas@median.ee COMMENT= dBase database file access functions for PHP LICENSE= PHP301 -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 70 .include Index: head/databases/pecl-drizzle/Makefile =================================================================== --- head/databases/pecl-drizzle/Makefile (revision 417718) +++ head/databases/pecl-drizzle/Makefile (revision 417719) @@ -1,34 +1,32 @@ # Created by: Greg Larkin # $FreeBSD$ PORTNAME= drizzle PORTVERSION= 0.4.2 CATEGORIES= databases MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PHP wrapper for the libdrizzle library LICENSE= PHP301 LIB_DEPENDS= libdrizzle.so:databases/libdrizzle -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 OPTIONS_DEFINE= DOCS EXAMPLES PORTDOCS= README EXPERIMENTAL ChangeLog CREDITS PORTEXAMPLES= drizzle.php post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC} && ${INSTALL} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKSRC} && ${INSTALL} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} .include Index: head/databases/pecl-leveldb/Makefile =================================================================== --- head/databases/pecl-leveldb/Makefile (revision 417718) +++ head/databases/pecl-leveldb/Makefile (revision 417719) @@ -1,25 +1,21 @@ # Created by: johnpupu # $FreeBSD$ PORTNAME= leveldb PORTVERSION= 0.1.5 CATEGORIES= databases MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= johnpupu@gmail.com COMMENT= This extension is a PHP binding for Google LevelDB LICENSE= PHP301 LIB_DEPENDS= libleveldb.so:databases/leveldb -USES= tar:tgz -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPEXT= yes -USE_PHPIZE= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/databases/pecl-mdbtools/Makefile =================================================================== --- head/databases/pecl-mdbtools/Makefile (revision 417718) +++ head/databases/pecl-mdbtools/Makefile (revision 417719) @@ -1,32 +1,29 @@ # Created by: Ditesh Shashikant Gathani # $FreeBSD$ PORTNAME= mdbtools PORTVERSION= 1.0.0 PORTREVISION= 1 CATEGORIES= databases pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PECL extension for the mdbtools library LICENSE= LGPL21 BUILD_DEPENDS= ${LOCALBASE}/lib/libmdb.a:databases/mdbtools RUN_DEPENDS= ${LOCALBASE}/lib/libmdb.a:databases/mdbtools -USES= pkgconfig tar:tgz -USE_PHP= yes -USE_PHPEXT= yes -USE_PHP_BUILD= yes +USES= php:ext pkgconfig tar:tgz IGNORE_WITH_PHP= 56 70 CONFIGURE_ARGS= --with-mdbtools=${LOCALBASE} post-extract: @${REINPLACE_CMD} -e 's|MDB_SDATETIME|MDB_DATETIME|g' \ ${WRKSRC}/mdbtools.c .include Index: head/databases/pecl-memcache/Makefile =================================================================== --- head/databases/pecl-memcache/Makefile (revision 417718) +++ head/databases/pecl-memcache/Makefile (revision 417719) @@ -1,34 +1,31 @@ # Created by: Gerrit Beine # $FreeBSD$ PORTNAME= memcache PORTVERSION= 3.0.8 CATEGORIES= databases MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= sunpoet@FreeBSD.org COMMENT= Memcached extension LICENSE= PHP30 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_powerpc64= does not build OPTIONS_DEFINE= EXAMPLES CONFIGURE_ARGS= --with-zlib-dir=/usr IGNORE_WITH_PHP=70 USE_CSTD= gnu89 -USE_PHP= zlib session -USE_PHP_BUILD= yes -USE_PHPEXT= yes -USE_PHPIZE= yes -USES= dos2unix tar:tgz +USE_PHP= zlib:build session:build +USES= dos2unix php:ext tar:tgz post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ ${INSTALL_DATA} ${WRKSRC}/example.php ${STAGEDIR}${EXAMPLESDIR}/ .include Index: head/databases/pecl-memcached/Makefile =================================================================== --- head/databases/pecl-memcached/Makefile (revision 417718) +++ head/databases/pecl-memcached/Makefile (revision 417719) @@ -1,38 +1,35 @@ # Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= memcached PORTVERSION= 2.2.0 PORTREVISION= 3 CATEGORIES= databases MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= sunpoet@FreeBSD.org COMMENT= PHP extension for interfacing with memcached via libmemcached library LICENSE= PHP30 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libmemcached.so:databases/libmemcached BROKEN_powerpc64= does not build OPTIONS_DEFINE= IGBINARY SASL IGBINARY_DESC= Binary serializer support CONFIGURE_ARGS= --with-libmemcached-dir=${LOCALBASE} IGNORE_WITH_PHP=70 -USE_PHP= json session -USE_PHPEXT= yes -USE_PHPIZE= yes -USE_PHP_BUILD= yes -USES= pkgconfig tar:tgz +USE_PHP= json:build session:build +USES= php:ext pkgconfig tar:tgz IGBINARY_CONFIGURE_ENABLE= memcached-igbinary IGBINARY_USE= PHP=igbinary SASL_CONFIGURE_ENABLE= memcached-sasl SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 .include Index: head/databases/pecl-mongo/Makefile =================================================================== --- head/databases/pecl-mongo/Makefile (revision 417718) +++ head/databases/pecl-mongo/Makefile (revision 417719) @@ -1,26 +1,24 @@ # Created by: wen # $FreeBSD$ PORTNAME= mongo PORTVERSION= 1.6.14 CATEGORIES= databases pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= bofh@FreeBSD.org COMMENT= PECL classes for Mongo Database Driver LICENSE= APACHE20 BUILD_DEPENDS= re2c>=0.13.4:devel/re2c -USES= tar:tgz -USE_PHP= spl -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz +USE_PHP= spl:build CONFIGURE_ARGS= --enable-mongo SUB_FILES= pkg-message IGNORE_WITH_PHP= 70 .include Index: head/databases/pecl-mongodb/Makefile =================================================================== --- head/databases/pecl-mongodb/Makefile (revision 417718) +++ head/databases/pecl-mongodb/Makefile (revision 417719) @@ -1,20 +1,18 @@ # $FreeBSD$ PORTNAME= mongodb PORTVERSION= 1.1.7 CATEGORIES= databases pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= pi@FreeBSD.org COMMENT= PECL classes for MongoDB LICENSE= APACHE20 -USES= tar:tgz -USE_PHP= spl -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz +USE_PHP= spl:build .include Index: head/databases/pecl-mysqlnd_ms/Makefile =================================================================== --- head/databases/pecl-mysqlnd_ms/Makefile (revision 417718) +++ head/databases/pecl-mysqlnd_ms/Makefile (revision 417719) @@ -1,21 +1,19 @@ # Created by: johnpupu # $FreeBSD$ PORTNAME= mysqlnd_ms PORTVERSION= 1.5.2 CATEGORIES= databases MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= johnpupu@gmail.com COMMENT= Replication and load balancing plugin for mysqlnd -USE_PHP= json -USE_PHP_BUILD= yes -USE_PHPEXT= yes -USE_PHPIZE= yes +USES= php:ext +USE_PHP= json:build IGNORE_WITH_PHP= 56 70 .include Index: head/databases/pecl-mysqlnd_qc/Makefile =================================================================== --- head/databases/pecl-mysqlnd_qc/Makefile (revision 417718) +++ head/databases/pecl-mysqlnd_qc/Makefile (revision 417719) @@ -1,20 +1,18 @@ # Created by: johnpupu # $FreeBSD$ PORTNAME= mysqlnd_qc PORTVERSION= 1.2.0 CATEGORIES= databases MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= johnpupu@gmail.com COMMENT= Query cache plugin for mysqlnd -USE_PHP= yes -USE_PHPEXT= yes -USE_PHPIZE= yes +USES= php:ext IGNORE_WITH_PHP= 56 70 .include Index: head/databases/pecl-pdo_user/Makefile =================================================================== --- head/databases/pecl-pdo_user/Makefile (revision 417718) +++ head/databases/pecl-pdo_user/Makefile (revision 417719) @@ -1,27 +1,24 @@ # Created by: Jui-Nan Lin # $FreeBSD$ PORTNAME= pdo_user PORTVERSION= 0.3.0 CATEGORIES= databases www MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DISTNAME= PDO_USER-${PORTVERSION} EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= jnlin@freebsd.cs.nctu.edu.tw COMMENT= PECL classes provides a Userspace interface for PDO drivers BROKEN_powerpc64= Does not build WRKSRC= ${WRKDIR}/PDO_USER-${PORTVERSION} -USE_PHP= pdo -USE_PHP_BUILD= yes -USE_PHPIZE= yes -USE_PHPEXT= yes -PHP_MODNAME= pdo_user +USES= php:ext +USE_PHP= pdo:build IGNORE_WITH_PHP= 70 .include Index: head/databases/pecl-rrd/Makefile =================================================================== --- head/databases/pecl-rrd/Makefile (revision 417718) +++ head/databases/pecl-rrd/Makefile (revision 417719) @@ -1,25 +1,24 @@ # $FreeBSD$ PORTNAME= rrd DISTVERSION= 1.1.3 PORTREVISION= 3 CATEGORIES= databases pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= flo@FreeBSD.org COMMENT= PHP bindings to rrd tool system LICENSE= PHP301 LIB_DEPENDS= librrd.so:databases/rrdtool LDFLAGS+= -L${LOCALBASE}/lib -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 70 .include Index: head/databases/pecl-tokyo_tyrant/Makefile =================================================================== --- head/databases/pecl-tokyo_tyrant/Makefile (revision 417718) +++ head/databases/pecl-tokyo_tyrant/Makefile (revision 417719) @@ -1,27 +1,24 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= tokyo_tyrant PORTVERSION= 0.7.0 CATEGORIES= databases pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- MAINTAINER= miwi@FreeBSD.org COMMENT= Wrapper to the Tokyo Tyrant client library LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_powerpc64= Does not build LIB_DEPENDS= libtokyotyrant.so:databases/tokyotyrant -USES= pkgconfig tar:tgz -USE_PHP= session -USE_PHP_BUILD= spl -USE_PHPIZE= yes -USE_PHPEXT= yes +USES= php:ext pkgconfig tar:tgz +USE_PHP= session:build IGNORE_WITH_PHP= 70 .include Index: head/databases/php-adodb-ext/Makefile =================================================================== --- head/databases/php-adodb-ext/Makefile (revision 417718) +++ head/databases/php-adodb-ext/Makefile (revision 417719) @@ -1,31 +1,28 @@ # Created by: JoeHorn # $FreeBSD$ PORTNAME= adodb-ext PORTVERSION= 5.04 PORTREVISION= 3 CATEGORIES= databases MASTER_SITES= http://phplens.com/lens/dl/ PKGNAMEPREFIX= php- DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//} MAINTAINER= ports@FreeBSD.org COMMENT= ADOdb Extension WRKSRC= ${WRKDIR}/adodb-${PORTVERSION:S/.//} -USES= dos2unix zip -USE_PHP= yes -USE_PHPEXT= yes -PHP_MODNAME= adodb +USES= dos2unix php:ext zip IGNORE_WITH_PHP=56 70 SUB_FILES= pkg-message .include -.if ${PHP_VER} == "5" || ${PHP_VER} == "54" || ${PHP_VER} == "55" +.if ${PHP_VER} == "55" EXTRA_PATCHES= ${PATCHDIR}/extra-patch-php54-adodb.c .endif .include Index: head/databases/php-mdcached/Makefile =================================================================== --- head/databases/php-mdcached/Makefile (revision 417718) +++ head/databases/php-mdcached/Makefile (revision 417719) @@ -1,24 +1,23 @@ # Created by: Ivan Voras # $FreeBSD$ PORTNAME= mdcached PORTVERSION= 1.0.9 CATEGORIES= databases devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} PKGNAMEPREFIX= php- EXTRACT_SUFX= .tgz MAINTAINER= ivoras@FreeBSD.org COMMENT= The PHP client library for Bullet Cache (mdcached) LICENSE= BSD2CLAUSE LIB_DEPENDS= libmdcached.so:databases/mdcached -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --enable-mdcached -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}/client_php/${PORTNAME} +WRKSRC_SUBDIR= ${PORTNAME}/client_php/${PORTNAME} .include Index: head/databases/php5-pdo_cassandra/Makefile =================================================================== --- head/databases/php5-pdo_cassandra/Makefile (revision 417718) +++ head/databases/php5-pdo_cassandra/Makefile (revision 417719) @@ -1,51 +1,49 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= pdo_cassandra PORTVERSION= 0.2.1 PORTREVISION= 5 CATEGORIES= databases PKGNAMEPREFIX= php5- MAINTAINER= gasol.wu@gmail.com COMMENT= PDO driver for Apache Cassandra LICENSE= APACHE20 BROKEN_powerpc64= Does not build LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs USE_GITHUB= yes GH_ACCOUNT= mkoppanen GH_PROJECT= php-${PORTNAME} GH_TAGNAME= 7debd5b -USES= compiler:c++11-lib pkgconfig +USES= compiler:c++11-lib php:ext pkgconfig USE_CXXSTD= c++11 -USE_PHP_BUILD= yes -USE_PHP= pdo -USE_PHPEXT= yes +USE_PHP= pdo:build IGNORE_WITH_PHP= 70 .include .include "${PORTSDIR}/devel/thrift/bsd.thrift.mk" THRIFT_MAJOR_VER= ${THRIFT_PORTVERSION:R:R} THRIFT_MINOR_VER= ${THRIFT_PORTVERSION:R:E} THRIFT_PATCH_VER= ${THRIFT_PORTVERSION:E} .if ${THRIFT_MAJOR_VER} >= 0 || ${THRIFT_MINOR_VER} >= 9 || ${THRIFT_PATCH_VER} >= 1 LIB_DEPENDS+= libthrift.so:devel/thrift-cpp BUILD_DEPENDS+= ${LOCALBASE}/bin/thrift:devel/thrift .else LIB_DEPENDS+= libthrift.so:devel/thrift .endif post-configure: ${REINPLACE_CMD} 's/\([^:]\)apache::thrift/\1 ::apache::thrift/g' ${WRKSRC}/gen-cpp/Cassandra.cpp ${REINPLACE_CMD} 's/\([^:]\)apache::thrift/\1 ::apache::thrift/g' ${WRKSRC}/gen-cpp/Cassandra.h ${REINPLACE_CMD} 's/\([^:]\)apache::thrift/\1 ::apache::thrift/g' ${WRKSRC}/gen-cpp/cassandra_types.cpp .include Index: head/databases/php5-tarantool/Makefile =================================================================== --- head/databases/php5-tarantool/Makefile (revision 417718) +++ head/databases/php5-tarantool/Makefile (revision 417719) @@ -1,25 +1,22 @@ # Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= tarantool PORTVERSION= ${TR_VER} CATEGORIES= databases PKGNAMEPREFIX= php5- MAINTAINER= vg@FreeBSD.org COMMENT= PECL PHP driver for Tarantool/Box +USES= php:ext USE_GITHUB= yes -USE_PHP= yes -USE_PHPEXT= yes -USE_PHPIZE= yes -PHP_MODNAME= ${PORTNAME} GH_PROJECT= ${PORTNAME}-php GH_TAGNAME= c1c5d5f TR_VER= 20151222 IGNORE_WITH_PHP= 70 CONFIGURE_ARGS+= --with-tarantool .include Index: head/databases/php55-redis/Makefile =================================================================== --- head/databases/php55-redis/Makefile (revision 417718) +++ head/databases/php55-redis/Makefile (revision 417719) @@ -1,40 +1,37 @@ # Created by: Arjan Koole # $FreeBSD$ PORTNAME= redis PORTVERSION= 2.2.4 CATEGORIES= databases PKGNAMEPREFIX= php55- MAINTAINER= m.tsatsenko@gmail.com COMMENT= PHP5-Extension for Redis LICENSE= PHP301 BROKEN_powerpc64= Does not build USE_GITHUB= yes GH_ACCOUNT= nicolasff GH_PROJECT= phpredis -USE_PHP= session -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext +USE_PHP= session:build PHP_DEFAULT= 5.5 IGNORE_WITH_PHP= 56 70 -PHP_MODNAME= redis - OPTIONS_DEFINE= IGBINARY IGBINARY_DESC= Build with Igbinary serializer .include .if ${PORT_OPTIONS:MIGBINARY} -USE_PHP+= igbinary +USE_PHP+= igbinary:build CONFIGURE_ARGS+=--enable-redis-igbinary .else CONFIGURE_ARGS+=--disable-redis-igbinary .endif .include Index: head/databases/php56-redis/Makefile =================================================================== --- head/databases/php56-redis/Makefile (revision 417718) +++ head/databases/php56-redis/Makefile (revision 417719) @@ -1,34 +1,31 @@ # Created by: Benedikt Niessen # $FreeBSD$ PORTNAME= redis PORTVERSION= 2.2.8 CATEGORIES= databases PKGNAMEPREFIX= php56- MAINTAINER= m.tsatsenko@gmail.com COMMENT= PHP5 extension for Redis LICENSE= PHP301 BROKEN_powerpc64= Does not build -USE_PHP= session -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext +USE_PHP= session:build PHP_DEFAULT= 5.6 IGNORE_WITH_PHP= 55 70 USE_GITHUB= yes GH_ACCOUNT= nicolasff GH_PROJECT= phpredis - -PHP_MODNAME= redis OPTIONS_DEFINE= IGBINARY IGBINARY_DESC= Build with Igbinary serializer IGBINARY_CONFIGURE_ENABLE= redis-igbinary IGBINARY_USE= php=igbinary .include Index: head/databases/php70-redis/Makefile =================================================================== --- head/databases/php70-redis/Makefile (revision 417718) +++ head/databases/php70-redis/Makefile (revision 417719) @@ -1,25 +1,24 @@ # $FreeBSD$ PORTNAME= redis PORTVERSION= 3.0.0 CATEGORIES= databases PKGNAMEPREFIX= php70- MAINTAINER= joshruehlig@gmail.com COMMENT= PHP7 extension for Redis LICENSE= PHP301 -USE_PHP= session -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext +USE_PHP= session:build PHP_DEFAULT= 7.0 IGNORE_WITH_PHP= 55 56 USE_GITHUB= yes GH_ACCOUNT= phpredis GH_PROJECT= phpredis PHP_MODNAME= redis .include Index: head/databases/vfront/Makefile =================================================================== --- head/databases/vfront/Makefile (revision 417718) +++ head/databases/vfront/Makefile (revision 417719) @@ -1,47 +1,47 @@ # $FreeBSD$ PORTNAME= vfront DISTVERSION= 0.96c CATEGORIES= databases www MASTER_SITES= SF/vfront/vfront/vfront-${DISTVERSION} MAINTAINER= crees@FreeBSD.org COMMENT= Simple frontend for database data entry LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/license BROKEN_powerpc64= Does not build NO_BUILD= yes NO_ARCH= yes PLIST= ${WRKDIR}/pkg-plist -USE_PHP= yes +USES= php OPTIONS_MULTI= database OPTIONS_MULTI_database= MYSQL PGSQL OPTIONS_DEFAULT= MYSQL PGSQL MYSQL_USE= MYSQL=yes PHP=mysqli PGSQL_USES= pgsql PGSQL_USE= PHP=pgsql post-patch: ${REINPLACE_CMD} -i '' -e \ 's/\(AUTHORIZATION \\*"\)postgres\(\\*"\)/\1pgsql\2/' \ ${WRKSRC}/_install/vfront.postgres.sql \ ${WRKSRC}/_install/vfront.postgres.sql.php pre-install: (cd ${WRKSRC} && \ ${FIND} * -type f | ${SED} 's,^,%%WWWDIR%%/,' > ${PLIST} && \ ${FIND} * -type d -empty | ${SORT} -r | \ ${SED} 's,^,@dir %%WWWDIR%%/,' >> ${PLIST}) @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN} %D/%%WWWDIR%%' >> ${PLIST} @${ECHO_CMD} '@exec ${CHMOD} 700 %D/%%WWWDIR%%/conf' >> ${PLIST} do-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR}) .include Index: head/databases/xapian-bindings/Makefile =================================================================== --- head/databases/xapian-bindings/Makefile (revision 417718) +++ head/databases/xapian-bindings/Makefile (revision 417719) @@ -1,49 +1,49 @@ # Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= xapian-bindings PORTVERSION= 1.2.23 CATEGORIES= databases MASTER_SITES= http://oligarchy.co.uk/xapian/${PORTVERSION}/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Bindings allowing Xapian to be used from various programming languages LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libxapian.so:databases/xapian-core OPTIONS_DEFINE= DOCS LUA PHP PYTHON RUBY OPTIONS_DEFAULT=PHP PYTHON RUBY OPTIONS_SUB= yes PORTSCOUT= limitw:1,even CONFIGURE_ARGS= --datarootdir=${DATADIR} --docdir=${DOCSDIR} \ --without-csharp --without-java --without-perl --without-tcl GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USES= libtool tar:xz PORTDOCS= * LUA_CONFIGURE_ENV= LUA="${LUA_CMD}" LUA_INC="${LUA_INCDIR}" LUA_LIB="${LUA_MODLIBDIR}" LUA_SO=.so LUA_CONFIGURE_WITH= lua LUA_USES= lua PHP_CONFIGURE_ENV= PHP_CONFIG=${LOCALBASE}/bin/php-config PHP_CONFIGURE_WITH= php -PHP_USE= PHP=yes PHP_BUILD=yes +PHP_USES= php:build PYTHON_CONFIGURE_ENV= PYTHON_LIB=${PYTHON_SITELIBDIR} PYTHON_CONFIGURE_WITH= python PYTHON_USES= python:2 RUBY_CONFIGURE_WITH= ruby RUBY_USE= RUBY=yes RUBY_RDOC=no post-patch: @${REINPLACE_CMD} -e 's|-lstdc++||g' ${WRKSRC}/configure # do not install rdoc @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' ${WRKSRC}/ruby/Makefile.in .include Index: head/devel/ioncube/Makefile =================================================================== --- head/devel/ioncube/Makefile (revision 417718) +++ head/devel/ioncube/Makefile (revision 417719) @@ -1,35 +1,35 @@ # Created by: Svyatoslav Lempert # $FreeBSD$ PORTNAME= ioncube DISTVERSION= 5.0.21 CATEGORIES= devel MASTER_SITES= http://downloads3.ioncube.com/loader_downloads/ \ http://dl.ispsystem.info/ioncube/${DISTVERSION}/ \ http://downloads2.ioncube.com/loader_downloads/ DISTNAME= ${PORTNAME}_loaders_fre_${VER}_${ARCH:S,i386,x86,:S,amd64,x86-64,} DIST_SUBDIR= ${PORTNAME}/${DISTVERSION} MAINTAINER= svyatoslav.lempert@gmail.com COMMENT= Loader for ionCube-encoded PHP files ONLY_FOR_ARCHS= i386 amd64 NO_BUILD= yes -USE_PHP= yes +USES= php SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/${PORTNAME} VER= 9 IGNORE_DragonFly= is unsupported on DragonFly PHP_INSTVER= ${PHP_VERSION:C/^([0-9]+\.[0-9]+).*/\1/} do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/ ${INSTALL_DATA} ${WRKSRC}/ioncube_loader_fre_${PHP_INSTVER}.so \ ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/ioncube_loader.so ${INSTALL_DATA} ${WRKSRC}/ioncube_loader_fre_${PHP_INSTVER}_ts.so \ ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/ioncube_loader_ts.so .include Index: head/devel/pear/Makefile =================================================================== --- head/devel/pear/Makefile (revision 417718) +++ head/devel/pear/Makefile (revision 417719) @@ -1,49 +1,47 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= pear PORTVERSION= 1.10.1 CATEGORIES= devel MASTER_SITES= http://mirror.miwibox.org/ MAINTAINER= miwi@FreeBSD.org COMMENT= PEAR framework for PHP LICENSE= PHP301 BROKEN_powerpc64= Does not build -USES= cpe tar:bzip2 +USES= cpe php:cli tar:bzip2 CPE_VENDOR= php NO_BUILD= yes NO_ARCH= yes -WANT_PHP_CLI= yes -USE_PHP= pcre xml zlib -USE_PHP_BUILD= yes +USE_PHP= pcre:build xml:build zlib:build PEARDIR= ${PREFIX}/share/pear post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" \ -e "s|%%BUNDLEDIR%%|${WRKSRC}/go-pear-bundle|" \ -e "s|%%TMPDIR%%|/tmp/pear|" \ ${WRKSRC}/go-pear @cd ${WRKSRC}/go-pear-bundle && ${MKDIR} tmp && ${TAR} -C tmp -xf PEAR-${PORTVERSION}.tar @cd ${WRKSRC}/go-pear-bundle/tmp/PEAR-${PORTVERSION} && ${PATCH} -s -p0 < ${FILESDIR}/extra-patch-PEAR-Config.php @${RM} ${WRKSRC}/go-pear-bundle/tmp/PEAR-${PORTVERSION}/PEAR/Config.php.orig @${MD5} -q ${WRKSRC}/go-pear-bundle/tmp/PEAR-${PORTVERSION}/PEAR/Config.php > ${WRKSRC}/Config.php.md5 @cd ${WRKSRC}/go-pear-bundle/tmp && ${TAR} -cf ../PEAR-${PORTVERSION}.tar PEAR-${PORTVERSION} package.xml do-install: @cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} ${LOCALBASE}/bin/php -q ./go-pear @${SED} -i "" "s| Index: head/devel/pear-Horde_Nls/Makefile =================================================================== --- head/devel/pear-Horde_Nls/Makefile (revision 417718) +++ head/devel/pear-Horde_Nls/Makefile (revision 417719) @@ -1,23 +1,23 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= Horde_Nls PORTVERSION= 2.2.0 CATEGORIES= devel www pear MASTER_SITES= http://pear.horde.org/get/ PKGNAMEPREFIX= pear- MAINTAINER= horde@FreeBSD.org COMMENT= Horde Native Language Support USES= horde USE_HORDE_RUN= Horde_Translation \ Horde_Util OPTIONS_DEFINE= GEOIP GEOIP_DESC= Depend on geoip PHP extension -GEOIP_USE= PHP=yes +GEOIP_USES= php GEOIP_RUN_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/geoip.so:net/pecl-geoip .include Index: head/devel/pear-VersionControl_SVN/Makefile =================================================================== --- head/devel/pear-VersionControl_SVN/Makefile (revision 417718) +++ head/devel/pear-VersionControl_SVN/Makefile (revision 417719) @@ -1,19 +1,18 @@ # Created by: Greg Larkin # $FreeBSD$ PORTNAME= VersionControl_SVN PORTVERSION= 0.5.2 CATEGORIES= devel pear MAINTAINER= bofh@FreeBSD.org COMMENT= Wrapper interface for the Subversion command-line client LICENSE= BSD2CLAUSE BUILD_DEPENDS= pear-XML_Parser>=1.3.4:devel/pear-XML_Parser RUN_DEPENDS= pear-XML_Parser>=1.3.4:devel/pear-XML_Parser -USE_PHP= yes USES= pear .include Index: head/devel/pecl-APCu/Makefile =================================================================== --- head/devel/pecl-APCu/Makefile (revision 417718) +++ head/devel/pecl-APCu/Makefile (revision 417719) @@ -1,29 +1,24 @@ # Created by: John Chen # $FreeBSD$ PORTNAME= APCu PORTVERSION= 4.0.10 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DISTNAME= ${PORTNAME:tl}-${PORTVERSION} DIST_SUBDIR= PECL MAINTAINER= johnpupu@gmail.com COMMENT= APC User Caching LICENSE= PHP301 CONFLICTS= pecl-APC-[0-9]* CFLAGS+= -I${LOCALBASE}/include -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPIZE= yes -USE_PHPEXT= yes IGNORE_WITH_PHP= 70 -USES= tar:tgz +USES= php:ext tar:tgz PHP_MODNAME= ${PORTNAME:tl} -WRKSRC= ${WRKDIR}/${PORTNAME:tl}-${PORTVERSION} .include Index: head/devel/pecl-automap/Makefile =================================================================== --- head/devel/pecl-automap/Makefile (revision 417718) +++ head/devel/pecl-automap/Makefile (revision 417719) @@ -1,25 +1,22 @@ # Created by: Ditesh Shashikant Gathani # $FreeBSD$ PORTNAME= automap PORTVERSION= 2.1.0 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PECL extension offering a fast map-based autoloader LICENSE= PHP301 -USES= tar:tgz -USE_PHP= spl -USE_PHP_BUILD= yes -USE_PHPEXT= yes -PHP_MODNAME= automap +USES= php:ext tar:tgz +USE_PHP= spl:build IGNORE_WITH_PHP= 56 70 CONFIGURE_ARGS= --enable-automap .include Index: head/devel/pecl-bbcode/Makefile =================================================================== --- head/devel/pecl-bbcode/Makefile (revision 417718) +++ head/devel/pecl-bbcode/Makefile (revision 417719) @@ -1,28 +1,25 @@ # Created by: Ditesh Shashikant Gathani # $FreeBSD$ PORTNAME= bbcode PORTVERSION= 1.0.2 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PECL extension which allows quick and efficient BBCode Parsing LICENSE= PHP301 BSD3CLAUSE LICENSE_COMB= multi -USES= tar:tgz -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 56 70 CONFIGURE_ARGS= --enable-bbcode post-patch: @${REINPLACE_CMD} -e 's/#include /\/\/#include /g' ${WRKSRC}/lib/bbcode2.c .include Index: head/devel/pecl-bcompiler/Makefile =================================================================== --- head/devel/pecl-bcompiler/Makefile (revision 417718) +++ head/devel/pecl-bcompiler/Makefile (revision 417719) @@ -1,23 +1,22 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= bcompiler PORTVERSION= 1.0.2 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= Bytecode compiler extension LICENSE= PHP202 -USES= tar:tgz -USE_PHP= bz2 -USE_PHPEXT= yes +USES= php:ext tar:tgz +USE_PHP= bz2:build IGNORE_WITH_PHP=56 70 CONFIGURE_ARGS= --enable-bcompiler .include Index: head/devel/pecl-dio/Makefile =================================================================== --- head/devel/pecl-dio/Makefile (revision 417718) +++ head/devel/pecl-dio/Makefile (revision 417719) @@ -1,20 +1,19 @@ # $FreeBSD$ PORTNAME= dio DISTVERSION= 0.0.7 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= flo@FreeBSD.org COMMENT= PECL extension that provides direct access to low level IO LICENSE= PHP30 -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-eio/Makefile =================================================================== --- head/devel/pecl-eio/Makefile (revision 417718) +++ head/devel/pecl-eio/Makefile (revision 417719) @@ -1,22 +1,21 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= eio PORTVERSION= 1.2.1 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= Provides interface to the libeio library LICENSE= PHP301 CONFIGURE_ARGS= --enable-eio -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-ev/Makefile =================================================================== --- head/devel/pecl-ev/Makefile (revision 417718) +++ head/devel/pecl-ev/Makefile (revision 417719) @@ -1,25 +1,21 @@ # Created by: John Chen # $FreeBSD$ PORTNAME= ev PORTVERSION= 0.2.15 PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= johnpupu@gmail.com COMMENT= Libev extension for PHP LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= tar:tgz -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPIZE= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-event/Makefile =================================================================== --- head/devel/pecl-event/Makefile (revision 417718) +++ head/devel/pecl-event/Makefile (revision 417719) @@ -1,28 +1,26 @@ # Created by: John Chen # $FreeBSD$ PORTNAME= event PORTVERSION= 2.0.4 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= johnpupu@gmail.com COMMENT= Provides interface to libevent library LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libevent.so:devel/libevent2 BROKEN_powerpc64= does not build -USES= tar:tgz +USES= php:ext tar:tgz USE_OPENSSL= yes CONFIGURE_ARGS= --with-openssl-dir=${OPENSSLBASE} -USE_PHP= sockets -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USE_PHP= sockets:build .include Index: head/devel/pecl-expect/Makefile =================================================================== --- head/devel/pecl-expect/Makefile (revision 417718) +++ head/devel/pecl-expect/Makefile (revision 417719) @@ -1,27 +1,25 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= expect PORTVERSION= 0.3.3 PORTREVISION= 1 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PHP extension for expect library LICENSE= PHP301 LIB_DEPENDS= libexpect.so:lang/expect -USES= tar:tgz tcl:86 -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz tcl:86 IGNORE_WITH_PHP= 70 CFLAGS+= -I${TCL_INCLUDEDIR} CONFIGURE_ARGS+=--with-expect=${LOCALBASE} .include Index: head/devel/pecl-gearman/Makefile =================================================================== --- head/devel/pecl-gearman/Makefile (revision 417718) +++ head/devel/pecl-gearman/Makefile (revision 417719) @@ -1,25 +1,22 @@ # Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= gearman PORTVERSION= 1.1.2 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= Gearman API LICENSE= PHP301 LIB_DEPENDS= libgearman.so:devel/gearmand -USES= tar:tgz +USES= php:ext tar:tgz CONFIGURE_ARGS= --with-gearman -PHP_MODNAME= ${PORTNAME} -USE_PHP= yes -USE_PHPEXT= yes IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-hidef/Makefile =================================================================== --- head/devel/pecl-hidef/Makefile (revision 417718) +++ head/devel/pecl-hidef/Makefile (revision 417719) @@ -1,30 +1,28 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= hidef PORTVERSION= 0.1.13 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= Constants for real LICENSE= PHP301 -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 56 70 CONFIGURE_ARGS= --enable-hidef CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib post-patch: @${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,g' \ ${WRKSRC}/hidef.c .include Index: head/devel/pecl-hrtime/Makefile =================================================================== --- head/devel/pecl-hrtime/Makefile (revision 417718) +++ head/devel/pecl-hrtime/Makefile (revision 417719) @@ -1,20 +1,18 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= hrtime PORTVERSION= 0.5.1 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= High resolution timing for PHP LICENSE= BSD2CLAUSE -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz .include Index: head/devel/pecl-htscanner/Makefile =================================================================== --- head/devel/pecl-htscanner/Makefile (revision 417718) +++ head/devel/pecl-htscanner/Makefile (revision 417719) @@ -1,23 +1,21 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= htscanner PORTVERSION= 1.0.1 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= Support htaccess for PHP LICENSE= PHP30 -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --enable-htscanner .include Index: head/devel/pecl-inotify/Makefile =================================================================== --- head/devel/pecl-inotify/Makefile (revision 417718) +++ head/devel/pecl-inotify/Makefile (revision 417719) @@ -1,26 +1,23 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= inotify PORTVERSION= 0.1.6 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= This extension allows to use inotify functions in a PHP scripts LICENSE= PHP301 LIB_DEPENDS= libinotify.so:devel/libinotify -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPIZE= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-intl/Makefile =================================================================== --- head/devel/pecl-intl/Makefile (revision 417718) +++ head/devel/pecl-intl/Makefile (revision 417719) @@ -1,24 +1,22 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= intl PORTVERSION= 3.0.0 PORTREVISION= 2 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= sunpoet@FreeBSD.org COMMENT= PECL extension to support Internationalization(ICU) LICENSE= PHP301 LIB_DEPENDS= libicui18n.so:devel/icu -USE_PHP= yes -USE_PHPEXT= yes -USES= tar:tgz +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-jsmin/Makefile =================================================================== --- head/devel/pecl-jsmin/Makefile (revision 417718) +++ head/devel/pecl-jsmin/Makefile (revision 417719) @@ -1,21 +1,19 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= jsmin PORTVERSION= 2.0.1 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= PHP extension for minifying JavaScript LICENSE= PHP301 -USE_PHP= yes -USE_PHPEXT= yes -USES= tar:tgz +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-json_post/Makefile =================================================================== --- head/devel/pecl-json_post/Makefile (revision 417718) +++ head/devel/pecl-json_post/Makefile (revision 417719) @@ -1,24 +1,22 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= json_post PORTVERSION= 1.0.1 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= JSON POST handler in PHP LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_powerpc64= Does not build -USES= tar:tgz -USE_PHP= json -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz +USE_PHP= json:build .include Index: head/devel/pecl-jsonc/Makefile =================================================================== --- head/devel/pecl-jsonc/Makefile (revision 417718) +++ head/devel/pecl-jsonc/Makefile (revision 417719) @@ -1,26 +1,24 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= jsonc PORTVERSION= 1.3.7 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= PECL extension for JSON manipulation LICENSE= PHP301 LIB_DEPENDS= libjson-c.so:devel/json-c -USES= pkgconfig tar:tgz +USES= php:ext pkgconfig tar:tgz CONFIGURE_ARGS= --with-jsonc --with-libjson MAKE_ARGS= EXTRA_CFLAGS=-DCOMPILE_DL_JSON=1 -USE_PHP= yes -USE_PHPEXT= yes IGNORE_WITH_PHP=70 CONFLICTS_INSTALL= php54-json-5* php55-json-5* php5-json-5* .include Index: head/devel/pecl-jsond/Makefile =================================================================== --- head/devel/pecl-jsond/Makefile (revision 417718) +++ head/devel/pecl-jsond/Makefile (revision 417719) @@ -1,21 +1,19 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= jsond PORTVERSION= 1.3.0 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= JavaScript Object Notation in PHP LICENSE= PHP301 -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-jsonnet/Makefile =================================================================== --- head/devel/pecl-jsonnet/Makefile (revision 417718) +++ head/devel/pecl-jsonnet/Makefile (revision 417719) @@ -1,29 +1,27 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= jsonnet PORTVERSION= 1.0.0 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DISTNAME= JsonNet-${PORTVERSION} DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= Google JsonNet for PHP LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_powerpc64= Does not build LIB_DEPENDS= libjsonnet.so:devel/jsonnet -USES= tar:tgz -USE_PHP= json -USE_PHPEXT= yes -USE_PHP_BUILD= yes +USES= php:ext tar:tgz +USE_PHP= json:build CONFIGURE_ARGS= --with-jsonnet=${LOCALBASE} IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-judy/Makefile =================================================================== --- head/devel/pecl-judy/Makefile (revision 417718) +++ head/devel/pecl-judy/Makefile (revision 417719) @@ -1,26 +1,25 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= judy PORTVERSION= 1.0.2 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DISTNAME= Judy-${PORTVERSION} EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= PHP Judy implements sparse dynamic arrays LICENSE= PHP301 RUN_DEPENDS= Judy>=0:devel/judy BUILD_DEPENDS= Judy>=0:devel/judy CONFIGURE_ARGS= --with-judy=${LOCALBASE} -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-libevent/Makefile =================================================================== --- head/devel/pecl-libevent/Makefile (revision 417718) +++ head/devel/pecl-libevent/Makefile (revision 417719) @@ -1,27 +1,22 @@ # Created by: Ilya Bakulin # $FreeBSD$ PORTNAME= libevent PORTVERSION= 0.1.0 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= webmaster@kibab.com COMMENT= Libevent extension for PHP LICENSE= PHP301 LIB_DEPENDS= libevent.so:devel/libevent2 -USES= tar:tgz +USES= php:ext tar:tgz -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPIZE= yes -USE_PHPEXT= yes -PHP_MODNAME= libevent IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-mcve/Makefile =================================================================== --- head/devel/pecl-mcve/Makefile (revision 417718) +++ head/devel/pecl-mcve/Makefile (revision 417719) @@ -1,30 +1,28 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= mcve PORTVERSION= 7.0.3 PORTREVISION= 1 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PECL Extension for Interface the MCVE/Monetra API LICENSE= PHP30 LIB_DEPENDS= libmonetra.so:devel/libmonetra -USES= tar:tgz +USES= php:ext tar:tgz USE_OPENSSL= yes -USE_PHP= yes -USE_PHPEXT= yes IGNORE_WITH_PHP= 56 70 CONFIGURE_ARGS+= --with-mcve="${LOCALBASE}" post-patch: ${REINPLACE_CMD} -e '/SEARCH_PATH/ s,=",="${LOCALBASE} ${PREFIX} ,' \ ${WRKSRC}/config.m4 .include Index: head/devel/pecl-memoize/Makefile =================================================================== --- head/devel/pecl-memoize/Makefile (revision 417718) +++ head/devel/pecl-memoize/Makefile (revision 417719) @@ -1,36 +1,34 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= memoize PORTVERSION= 0.2.0 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= PHP extension which transparently caches PHP functions LICENSE= PHP301 -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz CONFIGURE_ARGS= --enable-memoize IGNORE_WITH_PHP= 70 OPTIONS_DEFINE= APC MEMCACHED MEMORY OPTIONS_DEFAULT=MEMORY APC_DESC= Enable memoize APC module MEMCACHED_DESC= Enable memcached storage module MEMORY_DESC= Enable the memoize memory storage module APC_CONFIGURE_ON= --enable-memoize-apc APC_USE= PHP=apc MEMCACHED_CONFIGURE_ON= --with-memoize-memcached MEMCACHED_BUILD_DEPENDS=libmemcached>=0:databases/libmemcached MEMCACHED_RUN_DEPENDS= libmemcached>=0:databases/libmemcached MEMORY_CONFIGURE_OFF= --disable-memoize-memory .include Index: head/devel/pecl-msgpack/Makefile =================================================================== --- head/devel/pecl-msgpack/Makefile (revision 417718) +++ head/devel/pecl-msgpack/Makefile (revision 417719) @@ -1,24 +1,22 @@ # Created by: John Chen # $FreeBSD$ PORTNAME= msgpack PORTVERSION= 0.5.7 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= johnpupu@gmail.com COMMENT= Provides API for communicating with MessagePack serialization LICENSE= BSD3CLAUSE BROKEN_powerpc64= Does not build -USES= tar:tgz -USE_PHP= session -USE_PHPEXT= yes -USE_PHP_BUILD= yes +USES= php:ext tar:tgz +USE_PHP= session:build IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-ncurses/Makefile =================================================================== --- head/devel/pecl-ncurses/Makefile (revision 417718) +++ head/devel/pecl-ncurses/Makefile (revision 417719) @@ -1,24 +1,20 @@ # Created by: Jille Timmermans # $FreeBSD$ PORTNAME= ncurses PORTVERSION= 1.0.2 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= tj@FreeBSD.org COMMENT= PECL extension for ncurses LICENSE= PHP301 -USES= ncurses -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPEXT= yes -WANT_PHP_CLI= yes +USES= php:ext,cli ncurses IGNORE_WITH_PHP=70 .include Index: head/devel/pecl-newt/Makefile =================================================================== --- head/devel/pecl-newt/Makefile (revision 417718) +++ head/devel/pecl-newt/Makefile (revision 417719) @@ -1,28 +1,23 @@ # $FreeBSD$ PORTNAME= newt PORTVERSION= 1.2.9 CATEGORIES= devel www MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- MAINTAINER= garga@FreeBSD.org COMMENT= PHP language extension for RedHat Newt library LICENSE= PHP301 LIB_DEPENDS= libnewt.so:devel/newt -USES= tar:tgz -USE_PHP= yes -USE_PHPIZE= yes -USE_PHP_BUILD= yes -USE_PHPEXT= yes -PHP_MODNAME= newt +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 post-patch: @${REINPLACE_CMD} -e '/SEARCH_PATH/ s,=",="${LOCALBASE} ${PREFIX} ,' \ ${WRKSRC}/config.m4 .include Index: head/devel/pecl-operator/Makefile =================================================================== --- head/devel/pecl-operator/Makefile (revision 417718) +++ head/devel/pecl-operator/Makefile (revision 417719) @@ -1,25 +1,22 @@ # Created by: Alexander Zhuravlev # $FreeBSD$ PORTNAME= operator PORTVERSION= 0.3 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PHP extension that provides operator overloading for PHP objects LICENSE= PHP30 -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes -PHP_MODNAME= ${PORTNAME} +USES= php:ext tar:tgz IGNORE_WITH_PHP= 56 70 post-extract:: @${CAT} ${PKGMESSAGE} .include Index: head/devel/pecl-params/Makefile =================================================================== --- head/devel/pecl-params/Makefile (revision 417718) +++ head/devel/pecl-params/Makefile (revision 417719) @@ -1,22 +1,19 @@ # Created by: Ditesh Shashikant Gathani # $FreeBSD$ PORTNAME= params PORTVERSION= 1.0 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PECL extension for a userspace equivalent of zend_parse_parameters() -USES= tar:tgz -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --enable-params .include Index: head/devel/pecl-parsekit/Makefile =================================================================== --- head/devel/pecl-parsekit/Makefile (revision 417718) +++ head/devel/pecl-parsekit/Makefile (revision 417719) @@ -1,25 +1,23 @@ # Created by: Sébastien Santoro # $FreeBSD$ PORTNAME= parsekit PORTVERSION= 1.3.0 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= dereckson@gmail.com COMMENT= Extension for opcodes runtime analysis LICENSE= PHP301 -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 56 70 CONFIGURE_ARGS= --enable-parsekit CFLAGS+= -I${LOCALBASE}/include .include Index: head/devel/pecl-propro/Makefile =================================================================== --- head/devel/pecl-propro/Makefile (revision 417718) +++ head/devel/pecl-propro/Makefile (revision 417719) @@ -1,24 +1,22 @@ # Created by: vanilla@ # $FreeBSD$ PORTNAME= propro PORTVERSION= 1.0.2 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- MAINTAINER= vanilla@FreeBSD.org COMMENT= Facility to manage extension object properties LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE PORTSCOUT= limit:^1.* -USES= gmake tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= gmake php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-propro2/Makefile =================================================================== --- head/devel/pecl-propro2/Makefile (revision 417718) +++ head/devel/pecl-propro2/Makefile (revision 417719) @@ -1,25 +1,23 @@ # Created by: Muhammad Moinur Rahman # $FreeBSD$ PORTNAME= propro PORTVERSION= 2.0.1 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- PKGNAMESUFFIX= 2 MAINTAINER= bofh@FreeBSD.org COMMENT= Facility to manage extension object properties LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE PORTSCOUT= limit:^2.* -USES= gmake tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= gmake php:ext tar:tgz IGNORE_WITH_PHP= 55 56 CONFLICTS= pecl-propro-1* .include Index: head/devel/pecl-pthreads/Makefile =================================================================== --- head/devel/pecl-pthreads/Makefile (revision 417718) +++ head/devel/pecl-pthreads/Makefile (revision 417719) @@ -1,37 +1,32 @@ # Created by: John Chen # $FreeBSD$ PORTNAME= pthreads PORTVERSION= 2.0.10 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= johnpupu@gmail.com COMMENT= Compatible Threading API for PHP5.3+ LICENSE= PHP301 CFLAGS+= -I${LOCALBASE}/include -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPIZE= yes -USE_PHPEXT= yes -PHP_MODNAME= pthreads -USES= tar:tgz +USES= php:ext tar:tgz .include .if !defined(PHP_ZTS) && exists(${LOCALBASE}/bin/php) PHP_ZTS!= ${LOCALBASE}/bin/php -r 'phpinfo();' | ${GREP} 'Thread Safety' | ${AWK} -F '=> ' '{print $$2}' .else PHP_ZTS= disabled .endif .if ${PHP_ZTS} == "disabled" IGNORE= pthreads requires ZTS, please re-compile PHP with ZTS enabled .endif .include Index: head/devel/pecl-qb/Makefile =================================================================== --- head/devel/pecl-qb/Makefile (revision 417718) +++ head/devel/pecl-qb/Makefile (revision 417719) @@ -1,31 +1,29 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= qb PORTVERSION= 2.4.0 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= PHP Accelerator designed mainly for graphic work LICENSE= PHP301 -USE_PHP= yes -USE_PHPEXT= yes -USES= tar:tgz +USES= php:ext tar:tgz USE_GCC= any IGNORE_WITH_PHP= 70 .include .if ${OSVERSION} < 1000034 LIB_DEPENDS+= libmissing.so:math/libmissing CONFIGURE_ARGS= --with-libmissing=${LOCALBASE} EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libmissing .endif .include Index: head/devel/pecl-raphf/Makefile =================================================================== --- head/devel/pecl-raphf/Makefile (revision 417718) +++ head/devel/pecl-raphf/Makefile (revision 417719) @@ -1,24 +1,22 @@ # Created by: vanilla@ # $FreeBSD$ PORTNAME= raphf PORTVERSION= 1.1.2 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- MAINTAINER= vanilla@FreeBSD.org COMMENT= Resource and persistent handles factory LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE PORTSCOUT= limit:^1.* -USES= gmake tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= gmake php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-raphf2/Makefile =================================================================== --- head/devel/pecl-raphf2/Makefile (revision 417718) +++ head/devel/pecl-raphf2/Makefile (revision 417719) @@ -1,25 +1,23 @@ # Created by: Muhammad Moinur Rahman # $FreeBSD$ PORTNAME= raphf PORTVERSION= 2.0.0 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- PKGNAMESUFFIX= 2 MAINTAINER= bofh@FreeBSD.org COMMENT= Resource and persistent handles factory LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE PORTSCOUT= limit:^2.* -USES= gmake tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= gmake php:ext tar:tgz IGNORE_WITH_PHP= 55 56 CONFLICTS= pecl-raphf-1* .include Index: head/devel/pecl-runkit/Makefile =================================================================== --- head/devel/pecl-runkit/Makefile (revision 417718) +++ head/devel/pecl-runkit/Makefile (revision 417719) @@ -1,24 +1,21 @@ # Created by: Elias Mandouvalos # $FreeBSD$ PORTNAME= runkit PORTVERSION= 1.0.4 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PECL extension to modify constants, user-defined functions, and classes LICENSE= PHP30 -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes -PHP_MODNAME= runkit +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --enable-runkit=classkit .include Index: head/devel/pecl-scream/Makefile =================================================================== --- head/devel/pecl-scream/Makefile (revision 417718) +++ head/devel/pecl-scream/Makefile (revision 417719) @@ -1,24 +1,23 @@ # Created by: Volodymyr Kostyrko # $FreeBSD$ PORTNAME= scream DISTVERSION= 0.1.0 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= c.kworr@gmail.com COMMENT= Break the silence operator LICENSE= PHP301 -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 70 test: build @(cd ${WRKSRC} && ${MAKE} test) .include Index: head/devel/pecl-shape/Makefile =================================================================== --- head/devel/pecl-shape/Makefile (revision 417718) +++ head/devel/pecl-shape/Makefile (revision 417719) @@ -1,33 +1,30 @@ # Created by: Ditesh Shashikant Gathani # $FreeBSD$ PORTNAME= shape PORTVERSION= 0.9.2 PORTREVISION= 1 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PECL extension that wraps libshape LICENSE= PHP30 LIB_DEPENDS= libshp.so:devel/shapelib -USES= tar:tgz -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz PHP_MODNAME= shp IGNORE_WITH_PHP= 56 70 CONFIGURE_ARGS+= --with-shp=${LOCALBASE} post-patch: @${REINPLACE_CMD} -e 's|include/libshp|include|g' ${WRKSRC}/config.m4 @${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/config.m4 @${REINPLACE_CMD} -e 's|include "libshp/|include "|g' ${WRKSRC}/php_shp.h .include Index: head/devel/pecl-spl_types/Makefile =================================================================== --- head/devel/pecl-spl_types/Makefile (revision 417718) +++ head/devel/pecl-spl_types/Makefile (revision 417719) @@ -1,30 +1,28 @@ # Created by: Ditesh Shashikant Gathani # $FreeBSD$ PORTNAME= spl_types PORTVERSION= 0.4.0 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DISTNAME= SPL_Types-${PORTVERSION} DIST_SUBDIR= PECL MAINTAINER= bofh@FreeBSD.org COMMENT= PECL extension of a collection of special typehandling classes LICENSE= PHP301 OPTIONS_DEFINE= RE2C RE2C_DESC= Compile regular expression 2 C RE2C_RUN_DEPENDS= re2c:devel/re2c USE_PHP= spl -#USE_PHP_BUILD= yes -USE_PHPEXT= yes -USES= tar:tgz +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --enable-spl-types CFLAGS+= -I${LOCALBASE}/include .include Index: head/devel/pecl-spread/Makefile =================================================================== --- head/devel/pecl-spread/Makefile (revision 417718) +++ head/devel/pecl-spread/Makefile (revision 417719) @@ -1,27 +1,25 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= spread PORTVERSION= 2.1.0 PORTREVISION= 2 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= ports@FreeBSD.org COMMENT= Php Interface to the Spread Toolkit API LICENSE= PHP301 BUILD_DEPENDS= ${LOCALBASE}/include/sp.h:net/spread4 RUN_DEPENDS= ${LOCALBASE}/include/sp.h:net/spread4 -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 56 70 CONFIGURE_ARGS+= --with-spread=${LOCALBASE} .include Index: head/devel/pecl-statgrab/Makefile =================================================================== --- head/devel/pecl-statgrab/Makefile (revision 417718) +++ head/devel/pecl-statgrab/Makefile (revision 417719) @@ -1,25 +1,24 @@ # Created by: Tim Bishop # $FreeBSD$ PORTNAME= statgrab PORTVERSION= 0.6.0 PORTREVISION= 1 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DISTNAME= Statgrab-${PORTVERSION} EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= tdb@FreeBSD.org COMMENT= PECL extension to retrieve information from libstatgrab LIB_DEPENDS= libstatgrab0.so:devel/libstatgrab0 -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --with-statgrab=${LOCALBASE} .include Index: head/devel/pecl-strict/Makefile =================================================================== --- head/devel/pecl-strict/Makefile (revision 417718) +++ head/devel/pecl-strict/Makefile (revision 417719) @@ -1,21 +1,19 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= strict PORTVERSION= 0.4.1 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= Strict scalar parameter type hint support for 5.4+ LICENSE= PHP301 -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-svn/Makefile =================================================================== --- head/devel/pecl-svn/Makefile (revision 417718) +++ head/devel/pecl-svn/Makefile (revision 417719) @@ -1,24 +1,22 @@ # Created by: Alex Kiesel # $FreeBSD$ PORTNAME= svn PORTVERSION= 1.0.2 PORTREVISION= 2 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PECL extension to the libsvn library LICENSE= PHP301 LIB_DEPENDS= libsvn_client-1.so:devel/subversion18 -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-swoole/Makefile =================================================================== --- head/devel/pecl-swoole/Makefile (revision 417718) +++ head/devel/pecl-swoole/Makefile (revision 417719) @@ -1,23 +1,21 @@ # Created by: vanilla@ # $FreeBSD$ PORTNAME= swoole PORTVERSION= 1.7.22 CATEGORIES= devel net MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= vanilla@FreeBSD.org COMMENT= Asynchronous & concurrent & distributed networking framework LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= tar:tgz +USES= php:ext tar:tgz CFLAGS+= -I${LOCALBASE}/include -PHP_MODNAME= ${PORTNAME} USE_PHP= pcre -USE_PHPEXT= yes .include Index: head/devel/pecl-sync/Makefile =================================================================== --- head/devel/pecl-sync/Makefile (revision 417718) +++ head/devel/pecl-sync/Makefile (revision 417719) @@ -1,21 +1,20 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= sync PORTVERSION= 1.0.1 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= Named and unnamed synchronization objects in PHP LICENSE= MIT -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-test_helpers/Makefile =================================================================== --- head/devel/pecl-test_helpers/Makefile (revision 417718) +++ head/devel/pecl-test_helpers/Makefile (revision 417719) @@ -1,26 +1,21 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= test_helpers PORTVERSION= 1.1.0 PORTREVISION= 1 CATEGORIES= devel pear MASTER_SITES= http://pear.phpunit.de/get/ PKGNAMEPREFIX= pecl- MAINTAINER= gasol.wu@gmail.com COMMENT= Extension to ease testing of PHP code LICENSE= BSD3CLAUSE CONFIGURE_ARGS= --enable-test-helpers -USE_PHP= yes -USE_PHPEXT= yes -USE_PHPIZE= yes -USES= tar:tgz +USES= php:ext tar:tgz SUB_FILES= pkg-message IGNORE_WITH_PHP= 70 - -PKGMESSAGE= ${WRKDIR}/pkg-message .include Index: head/devel/pecl-trace/Makefile =================================================================== --- head/devel/pecl-trace/Makefile (revision 417718) +++ head/devel/pecl-trace/Makefile (revision 417719) @@ -1,40 +1,37 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= trace PORTVERSION= 0.3.0 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= Low-overhead tracing tool for PHP LICENSE= APACHE20 -WRKSRC= ${WRKDIR}/${DISTNAME}/extension +WRKSRC_SUBDIR= extension CMDTOOLSRC= ${WRKSRC}/../cmdtool GNU_CONFIGURE= yes -USES= gmake shebangfix tar:tgz -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= gmake php:ext shebangfix tar:tgz IGNORE_WITH_PHP= 70 SHEBANG_FILES= ${CMDTOOLSRC}/phptrace PLIST_FILES= bin/phptrace \ bin/trace-php post-patch: ${REINPLACE_CMD} -e 's|Darwin|FreeBSD|g' ${CMDTOOLSRC}/phptrace post-build: (cd ${CMDTOOLSRC} && ${GMAKE} ${MAKE_ENV}) post-install: ${INSTALL_PROGRAM} ${CMDTOOLSRC}/trace-php ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${CMDTOOLSRC}/phptrace ${STAGEDIR}${PREFIX}/bin .include Index: head/devel/pecl-uopz/Makefile =================================================================== --- head/devel/pecl-uopz/Makefile (revision 417718) +++ head/devel/pecl-uopz/Makefile (revision 417719) @@ -1,21 +1,19 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= uopz PORTVERSION= 2.0.7 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= User Operations for PHP Zend engine LICENSE= PHP301 -USE_PHP= yes -USE_PHPEXT= yes -USES= tar:tgz +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-uploadprogress/Makefile =================================================================== --- head/devel/pecl-uploadprogress/Makefile (revision 417718) +++ head/devel/pecl-uploadprogress/Makefile (revision 417719) @@ -1,23 +1,21 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= uploadprogress PORTVERSION= 1.0.3 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= Provides track progress of a file upload LICENSE= PHP301 -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --enable-uploadprogress .include Index: head/devel/pecl-uri_template/Makefile =================================================================== --- head/devel/pecl-uri_template/Makefile (revision 417718) +++ head/devel/pecl-uri_template/Makefile (revision 417719) @@ -1,21 +1,20 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= uri_template PORTVERSION= 1.0 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= URI Template(RFC6570) library for PHP LICENSE= PHP301 -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-uuid/Makefile =================================================================== --- head/devel/pecl-uuid/Makefile (revision 417718) +++ head/devel/pecl-uuid/Makefile (revision 417719) @@ -1,22 +1,20 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= uuid PORTVERSION= 1.0.4 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= UUID extension in PHP LICENSE= LGPL3 LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz .include Index: head/devel/pecl-vld/Makefile =================================================================== --- head/devel/pecl-vld/Makefile (revision 417718) +++ head/devel/pecl-vld/Makefile (revision 417719) @@ -1,23 +1,21 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= vld PORTVERSION= 0.13.0 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= Dump the internal representation of PHP scripts LICENSE= BSD2CLAUSE -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --enable-vld .include Index: head/devel/pecl-weakref/Makefile =================================================================== --- head/devel/pecl-weakref/Makefile (revision 417718) +++ head/devel/pecl-weakref/Makefile (revision 417719) @@ -1,26 +1,23 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= weakref PORTVERSION= 0.2.6 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DISTNAME= Weakref-${PORTVERSION} DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PECL Weakref extension LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= tar:tgz -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 CFLAGS+= -I${LOCALBASE}/include .include Index: head/devel/pecl-xhprof/Makefile =================================================================== --- head/devel/pecl-xhprof/Makefile (revision 417718) +++ head/devel/pecl-xhprof/Makefile (revision 417719) @@ -1,24 +1,22 @@ # Created by: Conor McDermottroe # $FreeBSD$ PORTNAME= xhprof PORTVERSION= 0.9.4 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz MAINTAINER= ports@mcdermottroe.com COMMENT= Hierarchical Profiler for PHP LICENSE= APACHE20 WRKSRC= ${WRKDIR}/${DISTNAME}/extension -USE_PHP= yes -USE_PHPIZE= yes -USE_PHPEXT= yes +USES= php:ext ONLY_FOR_ARCHS= i386 amd64 IGNORE_WITH_PHP= 70 .include Index: head/devel/pecl-yac/Makefile =================================================================== --- head/devel/pecl-yac/Makefile (revision 417718) +++ head/devel/pecl-yac/Makefile (revision 417719) @@ -1,27 +1,25 @@ # Created by: Oliver Lehmann # $FreeBSD$ PORTNAME= yac PORTVERSION= 0.9.2 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= oliver@FreeBSD.org COMMENT= Yac is a shared memory user data cache for PHP LICENSE= PHP301 -USE_PHP= yes -USE_PHPEXT= yes -USES= tar:tgz +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 OPTIONS_DEFINE= MSGPACK MSGPACK_DESC= Enable MSGPACK module MSGPACK_BUILD_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/msgpack.so:devel/pecl-msgpack MSGPACK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/msgpack.so:devel/pecl-msgpack .include Index: head/devel/pecl-zookeeper/Makefile =================================================================== --- head/devel/pecl-zookeeper/Makefile (revision 417718) +++ head/devel/pecl-zookeeper/Makefile (revision 417719) @@ -1,29 +1,27 @@ # Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= zookeeper PORTVERSION= 0.2.2 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= sunpoet@FreeBSD.org COMMENT= PHP extension for interfacing with Apache ZooKeeper LICENSE= PHP301 LIB_DEPENDS= libzookeeper_mt.so:devel/libzookeeper -USE_PHP= session -USE_PHP_BUILD= session -USE_PHPEXT= yes -USES= tar:tgz +USE_PHP= session:build +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 post-install: ${MKDIR} ${STAGEDIR}${DATADIR}/ ${INSTALL_DATA} ${WRKSRC}/zookeeper-api.php ${STAGEDIR}${DATADIR}/ .include Index: head/devel/php-jq/Makefile =================================================================== --- head/devel/php-jq/Makefile (revision 417718) +++ head/devel/php-jq/Makefile (revision 417719) @@ -1,31 +1,28 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= jq PORTVERSION= 0.0.1 CATEGORIES= devel PKGNAMEPREFIX= php- MAINTAINER= gasol.wu@gmail.com COMMENT= Jq shared extension for php LICENSE= MIT LIB_DEPENDS= libjq.so:textproc/jq USE_GITHUB= yes GH_ACCOUNT= kjdev GH_PROJECT= php-ext-jq -USE_PHP= yes -USE_PHPIZE= yes -USE_PHPEXT= yes IGNORE_WITH_PHP= 70 -USES= tar:tgz +USES= php:ext tar:tgz JQ_CMD= ${LOCALBASE}/bin/jq pre-build: (${JQ_CMD} -V | ${SED} 's,jq-\(.*\),#define JQ_VERSION "\1",' >> ${WRKSRC}/version.h) .include Index: head/devel/php-maxminddb/Makefile =================================================================== --- head/devel/php-maxminddb/Makefile (revision 417718) +++ head/devel/php-maxminddb/Makefile (revision 417719) @@ -1,32 +1,28 @@ # Created by: Daniel Gerzo # $FreeBSD$ PORTNAME= maxminddb PORTVERSION= 1.1.0 DISTVERSIONPREFIX= v CATEGORIES= devel net PKGNAMEPREFIX= php- MAINTAINER= danger@FreeBSD.org COMMENT= MaxMind DB Reader extension for PHP LICENSE= APACHE20 LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_GITHUB= yes GH_ACCOUNT= maxmind GH_PROJECT= MaxMind-DB-Reader-php WRKSRC_SUBDIR= ext -USE_PHP= yes -IGNORE_WITH_PHP=4 -USE_PHPIZE= yes -USE_PHPEXT= yes -USES= tar:tgz +USES= php:ext tar:tgz .include Index: head/devel/php-memoize/Makefile =================================================================== --- head/devel/php-memoize/Makefile (revision 417718) +++ head/devel/php-memoize/Makefile (revision 417719) @@ -1,47 +1,36 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= php-memoize PORTVERSION= 0.2.0b1 DISTVERSIONPREFIX= v PORTREVISION= 2 CATEGORIES= devel MAINTAINER= gasol.wu@gmail.com COMMENT= PHP extension which transparently caches PHP functions USE_GITHUB= yes GH_ACCOUNT= arraypad -USE_PHP= yes -USE_PHPEXT= yes -USE_PHPIZE= yes -USE_PHP_BUILD= yes +USES= php:ext PHP_MODNAME= memoize IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --enable-memoize OPTIONS_DEFINE= APC MEMCACHED MEMORY OPTIONS_DEFAULT= MEMORY APC_DESC= Enable memoize APC module MEMCACHED_DESC= Enable memcached storage module MEMORY_DESC= Enable the memoize memory storage module -.include +APC_CONFIGURE_ENABLE= memoize-apc +APC_BUILD_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:www/pecl-APC -.if ${PORT_OPTIONS:MAPC} -CONFIGURE_ARGS+= --enable-memoize-apc -BUILD_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:www/pecl-APC -.endif +MEMCACHED_CONFIGURE_WITH= memoize-memcached +MEMCACHED_BUILD_DEPENDS= libmemcached>0:databases/libmemcached +MEMCACHED_RUN_DEPENDS= libmemcached>0:databases/libmemcached -.if ${PORT_OPTIONS:MMEMCACHED} -CONFIGURE_ARGS+= --with-memoize-memcached -BUILD_DEPENDS+= libmemcached>0:databases/libmemcached -RUN_DEPENDS+= libmemcached>0:databases/libmemcached -.endif +MEMORY_CONFIGURE_OFF= --disable-memoize-memory -.if empty(PORT_OPTIONS:MMEMORY) -CONFIGURE_ARGS+= --disable-memoize-memory -.endif - -.include +.include Index: head/devel/php-scalar_objects/Makefile =================================================================== --- head/devel/php-scalar_objects/Makefile (revision 417718) +++ head/devel/php-scalar_objects/Makefile (revision 417719) @@ -1,25 +1,22 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= scalar_objects PORTVERSION= 0.0.20140124 PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= php- MAINTAINER= gasol.wu@gmail.com COMMENT= Support method calls on primitive types in PHP LICENSE= PHP301 USE_GITHUB= yes GH_ACCOUNT= nikic GH_TAGNAME= baf4985 -USE_PHP= yes -USE_PHPEXT= yes -USE_PHPIZE= yes -USE_PHP_BUILD= yes +USES= php:ext IGNORE_WITH_PHP= 70 .include Index: head/devel/php-uprofiler/Makefile =================================================================== --- head/devel/php-uprofiler/Makefile (revision 417718) +++ head/devel/php-uprofiler/Makefile (revision 417719) @@ -1,27 +1,24 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= uprofiler PORTVERSION= 0.11.0.20150219 CATEGORIES= devel PKGNAMEPREFIX= php- MAINTAINER= gasol.wu@gmail.com COMMENT= Lightweight profiler for PHP LICENSE= APACHE20 BROKEN_powerpc64= Does not build USE_GITHUB= yes GH_ACCOUNT= FriendsOfPHP GH_TAGNAME= 483c1e5 -WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}/extension -USE_PHP= yes -USE_PHPIZE= yes -USE_PHPEXT= yes -USES= tar:tgz +WRKSRC_SUBDIR= extension +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/devel/php-xdebug/Makefile =================================================================== --- head/devel/php-xdebug/Makefile (revision 417718) +++ head/devel/php-xdebug/Makefile (revision 417719) @@ -1,23 +1,20 @@ # Created by: Jens Rehsack # $FreeBSD$ PORTNAME= xdebug PORTVERSION= 2.4.0 CATEGORIES= devel MASTER_SITES= https://xdebug.org/files/ PKGNAMEPREFIX= php- MAINTAINER= freebsd-ports-maintainers@intermedix.com COMMENT= Xdebug extension for PHP LICENSE= PHP30 CONFIGURE_ARGS= --enable-xdebug -USE_PHP= yes -USE_PHPIZE= yes -USE_ZENDEXT= yes -USES= tar:tgz +USES= php:zend tar:tgz SUB_FILES= pkg-message .include Index: head/devel/php5-blitz/Makefile =================================================================== --- head/devel/php5-blitz/Makefile (revision 417718) +++ head/devel/php5-blitz/Makefile (revision 417719) @@ -1,20 +1,18 @@ # Created by: Valery Komarov # $FreeBSD$ PORTNAME= blitz PORTVERSION= 0.8.2 CATEGORIES= devel MASTER_SITES= http://alexeyrybak.com/blitz/ PKGNAMEPREFIX= php5- MAINTAINER= komarov@valerka.net COMMENT= PHP templating engine CONFLICTS= php5-blitz-devel-[0-9]* -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 70 .include Index: head/devel/php5-blitz-devel/Makefile =================================================================== --- head/devel/php5-blitz-devel/Makefile (revision 417718) +++ head/devel/php5-blitz-devel/Makefile (revision 417719) @@ -1,22 +1,20 @@ # Created by: Valery Komarov # $FreeBSD$ PORTNAME= blitz-devel PORTVERSION= 0.7.2 CATEGORIES= devel MASTER_SITES= http://alexeyrybak.com/blitz/ PKGNAMEPREFIX= php5- DISTNAME= blitz-${PORTVERSION}-devel MAINTAINER= komarov@valerka.net COMMENT= PHP templating engine CONFLICTS= php5-blitz-0.6* -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext PHP_MODNAME= blitz IGNORE_WITH_PHP= 70 .include Index: head/devel/php5-dav/Makefile =================================================================== --- head/devel/php5-dav/Makefile (revision 417718) +++ head/devel/php5-dav/Makefile (revision 417719) @@ -1,28 +1,25 @@ # Created by: Valery Komarov # $FreeBSD$ PORTNAME= dav PORTVERSION= 1.2 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://download.pureftpd.org/php-webdav/ PKGNAMEPREFIX= php5- DISTNAME= php-webdav-${PORTVERSION} MAINTAINER= komarov@valerka.net COMMENT= The PHP WebDAV extension LICENSE= ISCL LIB_DEPENDS= libneon.so:www/neon -USE_PHP= yes -USE_PHPIZE= yes -USE_PHPEXT= yes -PHP_MODNAME= dav +USES= php:ext IGNORE_WITH_PHP= 70 WRKSRC= ${WRKDIR}/${PORTNAME} .include Index: head/devel/php5-geshi/Makefile =================================================================== --- head/devel/php5-geshi/Makefile (revision 417718) +++ head/devel/php5-geshi/Makefile (revision 417719) @@ -1,33 +1,33 @@ # Created by: Eygene Ryabinkin # $FreeBSD$ PORTNAME= geshi DISTVERSION= 1_0_8_12 DISTVERSIONPREFIX= RELEASE_ CATEGORIES= devel PKGNAMEPREFIX= php5- MAINTAINER= bofh@FreeBSD.org COMMENT= Native PHP syntax highlighting engine LICENSE= GPLv2 +USES= php USE_GITHUB= yes GH_ACCOUNT= GeSHi GH_PROJECT= geshi-1.0 NO_BUILD= yes -USE_PHP= yes OPTIONS_DEFINE= DOCS NO_ARCH= yes EXTRACT_AFTER_ARGS=--exclude=.gitignore do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/geshi/ ${INSTALL_DATA} ${WRKSRC}/src/geshi.php ${STAGEDIR}${PREFIX}/lib/php/geshi/ cd ${WRKSRC}/src/ && ${COPYTREE_SHARE} geshi ${STAGEDIR}${PREFIX}/lib/php/geshi/ ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/src/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ .include Index: head/devel/php5-ice/Makefile =================================================================== --- head/devel/php5-ice/Makefile (revision 417718) +++ head/devel/php5-ice/Makefile (revision 417719) @@ -1,65 +1,64 @@ # Created by: DIrk Ye # $FreeBSD$ CATEGORIES= devel PKGNAMEPREFIX= php5- MAINTAINER= freebsd@grem.de COMMENT= Ice (Internet Communications Engine) language mapping for PHP LICENSE= GPLv2 BUILD_DEPENDS= mcpp:devel/mcpp \ slice2php:devel/ice LIB_DEPENDS= libIce.so.${LIB_VRS}:devel/ice OPTIONS_DEFINE= DEBUG NAMESPACES OPTIONS_DEFAULT= NAMESPACES_DESC= Use PHP namespaces (recommended) SLAVE_PORT= yes MASTERDIR= ${.CURDIR}/../ice PLIST= ${.CURDIR}/pkg-plist MAKE_ARGS+= PHP_EXT_DIR=${PHP_EXT_DIR} ICE_HOME=${LOCALBASE} \ PHP_HOME=${LOCALBASE} OPTIMIZE=yes -USE_PHP= yes -USE_PHP_BUILD= yes +USES+= php:build IGNORE_WITH_PHP=70 BUILD_WRKSRC= ${WRKSRC}/php INSTALL_WRKSRC= ${WRKSRC}/php LIB_VRS= ${PORTVERSION:S|.||g:C|0$||} PHP_MODNAME?= IcePHP post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/*.so @${MKDIR} ${STAGEDIR}${PREFIX}/etc/php add-plist-info: @${ECHO_CMD} "@exec mkdir -p %D/etc/php" \ >> ${TMPPLIST} @${ECHO_CMD} "@exec echo extension=${PHP_MODNAME}.so >> %D/etc/php/extensions.ini" \ >> ${TMPPLIST} @${ECHO_CMD} "@unexec cp %D/etc/php/extensions.ini %D/etc/php/extensions.ini.orig" \ >> ${TMPPLIST} @${ECHO_CMD} "@unexec grep -v extension=${PHP_MODNAME}\\\.so %D/etc/php/extensions.ini.orig > %D/etc/php/extensions.ini || true" \ >> ${TMPPLIST} @${ECHO_CMD} "@unexec rm %D/etc/php/extensions.ini.orig" \ >> ${TMPPLIST} @${ECHO_CMD} "@unexec [ -s %D/etc/php/extensions.ini ] || rm %D/etc/php/extensions.ini" \ >> ${TMPPLIST} @${ECHO_CMD} "@unexec rmdir %D/etc/php 2> /dev/null || true" \ >> ${TMPPLIST} security-check: @${ECHO_CMD} "****************************************************************************" @${ECHO_CMD} "" @${ECHO_CMD} "The following line has been added to your ${PREFIX}/etc/php/extensions.ini" @${ECHO_CMD} "configuration file to automatically load the installed extension:" @${ECHO_CMD} "" @${ECHO_CMD} "extension=${PHP_MODNAME}.so" @${ECHO_CMD} "" @${ECHO_CMD} "****************************************************************************" .include "${MASTERDIR}/Makefile" Index: head/devel/php5-msgpack/Makefile =================================================================== --- head/devel/php5-msgpack/Makefile (revision 417718) +++ head/devel/php5-msgpack/Makefile (revision 417719) @@ -1,26 +1,23 @@ # Created by: Valery Komarov # $FreeBSD$ PORTNAME= msgpack PORTVERSION= 2012.05.05 CATEGORIES= devel PKGNAMEPREFIX= php5- MAINTAINER= komarov@valerka.net COMMENT= PHP extension for interfacing with MessagePack BROKEN_powerpc64= Does not build USE_GITHUB= yes GH_TAGNAME= 980a652 WRKSRC_SUBDIR= php -USE_PHP= session -USE_PHP_BUILD= yes -USE_PHPIZE= yes -USE_PHPEXT= yes -PHP_MODNAME= msgpack +USES= php:ext +USE_PHP= session:build IGNORE_WITH_PHP= 70 .include Index: head/devel/php5-pinba/Makefile =================================================================== --- head/devel/php5-pinba/Makefile (revision 417718) +++ head/devel/php5-pinba/Makefile (revision 417719) @@ -1,25 +1,23 @@ # Created by: raven428 # $FreeBSD$ PORTNAME= pinba PORTVERSION= 2012.03.20 PORTREVISION= 2 CATEGORIES= devel PKGNAMEPREFIX= php5- MAINTAINER= komarov@valerka.net COMMENT= PHP-extension part of statistics server for PHP LIB_DEPENDS= libprotobuf.so:devel/protobuf USE_GITHUB= yes GH_ACCOUNT= tony2001 GH_PROJECT= pinba_extension GH_TAGNAME= f76b673 -USE_PHP= yes -USE_PHPEXT= yes -PHP_MODNAME= pinba +USES= php:ext IGNORE_WITH_PHP= 70 .include Index: head/devel/php5-thrift/Makefile =================================================================== --- head/devel/php5-thrift/Makefile (revision 417718) +++ head/devel/php5-thrift/Makefile (revision 417719) @@ -1,24 +1,21 @@ # Created by: Ilya Bakulin # $FreeBSD$ PORTNAME= thrift PORTVERSION= ${THRIFT_PORTVERSION} CATEGORIES= devel MASTER_SITES= APACHE/thrift/${PORTVERSION} PKGNAMEPREFIX= php5- MAINTAINER= webmaster@kibab.com COMMENT= PHP interface to Thrift -USE_PHP= yes - -USE_PHPIZE= yes -USE_PHPEXT= yes +USES= php:ext PHP_MODNAME= thrift_protocol IGNORE_WITH_PHP= 70 DISTINFO_FILE= ${.CURDIR}/../thrift/distinfo WRKSRC_SUBDIR= lib/php/src/ext/thrift_protocol .include "${.CURDIR}/../thrift/bsd.thrift.mk" .include Index: head/finance/myphpmoney/Makefile =================================================================== --- head/finance/myphpmoney/Makefile (revision 417718) +++ head/finance/myphpmoney/Makefile (revision 417719) @@ -1,32 +1,30 @@ # Created by: courou # $FreeBSD$ PORTNAME= myphpmoney PORTVERSION= 1.3.r3 PORTEPOCH= 1 CATEGORIES= finance www MASTER_SITES= SF/${PORTNAME}/MyPhpMoney/1.3RC3 DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/RC/} MAINTAINER= ports@FreeBSD.org COMMENT= PHP script for managing your accounts WEBOWN?= www WEBGRP?= www APACHEDIR= ${PREFIX}/www/data INSTALLDIR= ${APACHEDIR}/myphpmoney -USES= tar:bzip2 -USE_PHP= yes -WANT_PHP_WEB= yes +USES= php:web tar:bzip2 NO_BUILD= yes PLIST_SUB+= INSTALLDIR=${INSTALLDIR:S,^${PREFIX}/,,} WWWOWN="${WEBOWN}" WWWGRP="${WEBGRP}" do-install: ${MKDIR} ${STAGEDIR}${INSTALLDIR} cd ${WRKSRC}; ${FIND} . | ${CPIO} -pdm ${STAGEDIR}${INSTALLDIR} ${CHMOD} -R ${BINMODE} ${STAGEDIR}${INSTALLDIR} ${CHMOD} 777 ${STAGEDIR}${INSTALLDIR}/public_html/dump ${FIND} ${STAGEDIR}${INSTALLDIR} ! -type d | ${XARGS} ${CHMOD} ${NOBINMODE} .include Index: head/finance/php-tclink/Makefile =================================================================== --- head/finance/php-tclink/Makefile (revision 417718) +++ head/finance/php-tclink/Makefile (revision 417719) @@ -1,21 +1,20 @@ # Created by: # $FreeBSD$ PORTNAME= tclink PORTVERSION= 4.0.2 PORTREVISION= 1 CATEGORIES= finance MASTER_SITES= https://vault.trustcommerce.com/downloads/ PKGNAMEPREFIX= php- DISTNAME= ${PORTNAME}-${PORTVERSION}-php MAINTAINER= mbowie@buzmo.com COMMENT= PHP extension for TrustCommerce credit card processing -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext USE_OPENSSL= yes IGNORE_WITH_PHP= 70 .include Index: head/graphics/geos/Makefile =================================================================== --- head/graphics/geos/Makefile (revision 417718) +++ head/graphics/geos/Makefile (revision 417719) @@ -1,41 +1,41 @@ # Created by: Leonardo Martins # $FreeBSD$ PORTNAME= geos PORTVERSION= 3.5.0 CATEGORIES= graphics geography MASTER_SITES= http://download.osgeo.org/geos/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= GEOS implements all the OpenGIS "Simple Features for SQL" LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING OPTIONS_DEFINE= PHP PYTHON RUBY OPTIONS_SUB= yes CONFIGURE_ARGS= ac_cv_path_SWIG=${LOCALBASE}/bin/swig3.0 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes USES= gmake libtool tar:bzip2 PLIST_SUB= PORTVERSION=${PORTVERSION} PHP_BUILD_DEPENDS= swig3.0:devel/swig30 PHP_CONFIGURE_ENABLE= php -PHP_USE= PHP=yes PHP_BUILD=yes +PHP_USES= php:build PYTHON_BUILD_DEPENDS= swig3.0:devel/swig30 PYTHON_CONFIGURE_ENABLE=python PYTHON_USES= python:2 RUBY_BUILD_DEPENDS= swig3.0:devel/swig30 RUBY_CONFIGURE_ENABLE= ruby RUBY_CONFIGURE_ENV= RUBY="${RUBY}" RUBY_USE= RUBY=yes post-patch: @${REINPLACE_CMD} -e 's|-lstdc++||' ${WRKSRC}/tests/geostest/Makefile.in ${WRKSRC}/tests/thread/Makefile.in .include Index: head/graphics/graphviz/Makefile =================================================================== --- head/graphics/graphviz/Makefile (revision 417718) +++ head/graphics/graphviz/Makefile (revision 417719) @@ -1,346 +1,346 @@ # Created by: Thomas Gellekum # $FreeBSD$ PORTNAME= graphviz PORTVERSION= 2.38.0 PORTREVISION= 12 CATEGORIES= graphics tk MASTER_SITES= http://www.graphviz.org/pub/graphviz/ARCHIVE/ MAINTAINER= dinoex@FreeBSD.org COMMENT= Graph Visualization Software from AT&T and Bell Labs LIB_DEPENDS= libltdl.so:devel/libltdl \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libexpat.so:textproc/expat2 \ libgd.so:${GD_PORT} USES= bison cpe gmake jpeg libtool:keepla pkgconfig pathfix shebangfix GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include PLIST_SUB= PORTVERSION="${PORTVERSION}" MAKE_ENV= EXPR_COMPAT=yes SHEBANG_LANG= tcl tcl_OLD_CMD= /usr/bin/tclsh tcl_CMD= ${TCLSH} FIX_INCLUDE= ast_common.h \ lib/cdt/dthdr.h \ lib/pathplan/tri.h lib/pathplan/pathplan.h \ lib/pathplan/pathutil.h lib/pathplan/solvers.h \ lib/pathplan/vis.h lib/pathplan/vispath.h \ lib/common/arith.h lib/common/logic.h \ lib/common/globals.h \ lib/gvc/gvcint.h PATCH_TCL_SCRIPTS= tclpkg/gv/Makefile.in tclpkg/tcldot/demo/doted.tcl \ tclpkg/tclpathplan/demo/pathplan.tcl \ tclpkg/tkspline/demo/spline.tcl PATCH_TK_SCRIPTS= ${PATCH_TCL_SCRIPTS} PDOCS_TXT= doc/Dot.ref doc/latex_suggestions.txt PDOCS_PDF= doc/*.pdf */*/*.pdf PDOCS_HTML= doc/*.html doc/info/*.gif USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} OPTIONS_DEFINE= XPM DIGCOLA IPSEPCOLA ICONV NLS PANGOCAIRO LIBRSVG2 POPPLER \ ANN GTS GTK2 GDK GDK_PIXBUF GNOMEUI SMYRNA GVEDIT MING DEVIL \ GHOSTSCRIPT PERL PHP PYTHON RUBY LUA TCL TK GUILE NVTHREADS \ DOCS EXAMPLES OPTIONS_DEFAULT= XPM DIGCOLA IPSEPCOLA ICONV PANGOCAIRO NVTHREADS NO_OPTIONS_SORT=yes OPTIONS_SUB= yes DIGCOLA_DESC= neato layout engine wiwth DIGCOLA features IPSEPCOLA_DESC= neato layout engine wiwth IPSEPCOLA features PANGOCAIRO_DESC=pangocairo support ANN_DESC= ANN edge bundling support GTS_DESC= GNU Triangulated Surface Library support GTK2_DESC= gtk2 plugin (requires PANGOCAIRO) GDK_DESC= gdk library support (requires GTK2) GDK_PIXBUF_DESC=gdk pixbuf support (requires GDK) GNOMEUI_DESC= libgnomeui support SMYRNA_DESC= SMYRNA graph viewer (requires GTK2) GVEDIT_DESC= gvedit (requires qt) MING_DESC= ming plugin DEVIL_DESC= devil plugin GHOSTSCRIPT_DESC=ghostscript plugin (requires PANGOCAIRO) PERL_DESC= Perl bindings (swig) PHP_DESC= PHP bindings (swig) PYTHON_DESC= Python bindings (swig) RUBY_DESC= Ruby bindings (swig) LUA_DESC= Lua bindings (swig) TCL_DESC= TCL bindings (swig) GUILE_DESC= Guile bindings (swig) TK_DESC= TK toolkit support NVTHREADS_DESC= Link with threads (needed for nvidia) XPM_USE= XORG=xaw,xpm,xmu,xt,sm,ice,xext,x11,xau,xdmcp,xp ICONV_USES= iconv NLS_USES= gettext PANGOCAIRO_USE= GNOME=pango XORG=xrender,x11,xau,xdmcp LIBRSVG2_USE= GNOME=librsvg2 GL=gl,glu,glut GTK2_USE= XORG=sm,ice,xext,xinerama,xi,xrandr,xcursor,xfixes GNOME=gtk20 GNOMEUI_USE= GNOME=libgnomeui SMYRNA_USE= GNOME=libglade2 GL=glut GVEDIT_USE= qt4=qmake_build,moc_build,rcc_build,uic_build \ qt4=linguist_build,corelib,gui GHOSTSCRIPT_USES=ghostscript PERL_USES= perl5 -PHP_USE= PHP=yes PHP_BUILD=yes +PHP_USES= php:build PYTHON_USES= python:2.7,build RUBY_USE= RUBY=yes LUA_USES= lua TCL_USES= tcl:build TK_USES= tk:build POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib ANN_LIB_DEPENDS= libann.so:math/ann GTS_LIB_DEPENDS= libgts.so:graphics/gts SMYRNA_LIB_DEPENDS= libgtkgl-2.0.so:x11-toolkits/gtkglarea2 \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext MING_LIB_DEPENDS= libming.so:graphics/ming DEVIL_LIB_DEPENDS= libIL.so:graphics/devil GUILE_LIB_DEPENDS= libguile-2.0.so:lang/guile2 XPM_CONFIGURE_WITH= x DIGCOLA_CONFIGURE_WITH= digcola IPSEPCOLA_CONFIGURE_WITH= ipsepcola NLS_CONFIGURE_ENABLE= nls PANGOCAIRO_CONFIGURE_WITH= pangocairo LIBRSVG2_CONFIGURE_WITH= rsvg POPPLER_CONFIGURE_WITH= poppler ANN_CONFIGURE_WITH= ann ANN_CONFIGURE_ENV= ANN_CFLAGS=-I${LOCALBASE}/include ANN_LIBS=-lann GTS_CONFIGURE_WITH= gts GTK2_CONFIGURE_WITH= gtk GDK_CONFIGURE_WITH= gdk GDK_PIXBUF_CONFIGURE_WITH= gdk-pixbuf GNOMEUI_CONFIGURE_WITH= gnomeui SMYRNA_CONFIGURE_WITH= smyrna glade gtkgl gtkglext GVEDIT_CONFIGURE_ON= --with-gvedit=yes GVEDIT_CONFIGURE_OFF= --with-qt=no MING_CONFIGURE_WITH= ming DEVIL_CONFIGURE_WITH= devil GHOSTSCRIPT_CONFIGURE_OFF= --with-ghostscript=no PERL_CONFIGURE_ENABLE= perl PHP_CONFIGURE_ENABLE= php PHP_CPPFLAGS= -I${LOCALBASE}/include/php/Zend PYTHON_CONFIGURE_ENABLE= python PYTHON_LDFLAGS= "-L${PYTHON_LIBDIR}" RUBY_CONFIGURE_ENABLE= ruby RUBY_CONFIGURE_ENV= RUBY="${RUBY}" LUA_CONFIGURE_ENABLE= lua LUA_CFLAGS= -I${LUA_INCDIR} LUA_LDFLAGS= -L${LUA_LIBDIR} -lm LUA_CONFIGURE_ENV= LUA="${LUA_BINDIR}/lua" \ LUA_INSTALL_DIR=${PREFIX}/lib/lua/${LUA_VER} TCL_CONFIGURE_ENABLE= tcl TCL_CPPFLAGS= -I${TK_INCLUDEDIR} TCL_CONFIGURE_ON= --with-tclsh=${TCLSH} --enable-tcl=yes TCL_CONFIGURE_ENV= TCLCONFIG="${TCL_LIBDIR}/tclConfig.sh" TK_CPPFLAGS= -I${TK_INCLUDEDIR} TK_CONFIGURE_ON= --with-wish=${WISH} TK_CONFIGURE_ENV= TKCONFIG="${TK_LIBDIR}/tkConfig.sh" GUILE_CONFIGURE_ENABLE= guile NVTHREADS_LDFLAGS= -lpthread .include # allow the use localized gd ports in Makefile.local or slave ports. GD_PORT?= graphics/gd CONFIGURE_ARGS+= --program-transform-name="s/x/x/" \ --enable-dependency-tracking \ --enable-r=no \ --with-freetype2=yes \ --with-libgd \ --with-fontconfigincludedir=${LOCALBASE}/include \ --with-fontconfiglibdir=${LOCALBASE}/lib \ --disable-io --disable-ocaml --disable-java \ --disable-sharp \ --disable-silent-rules .if ${PORT_OPTIONS:MMING} BROKEN= Ming incomplete, uses removed libgraph .endif .if ${PORT_OPTIONS:MTK} .if empty(PORT_OPTIONS:MTCL) IGNORE= option TCL is required for option TK .endif # USES=tk:build is BROKEN: Does not allow to set both tcl and tk depedencies BUILD_DEPENDS+= tclsh${TCL_VER}:lang/tcl${_TCLTK_WANTED_VERSION} .endif .if ${PORT_OPTIONS:MTCL} PLIST_SUB+= TCL_VER="${TCL_VER}" .endif .if ${PORT_OPTIONS:MICONV} CONFIGURE_ARGS+= --with-iconvlibdir=${ICONV_PREFIX}/lib CONFIGURE_ARGS+= --with-iconvincludedir=${ICONV_PREFIX}/include .else CONFIGURE_ARGS+= --without-libiconv-prefix .endif .if ${PORT_OPTIONS:MLIBRSVG2} .if empty(PORT_OPTIONS:MPANGOCAIRO) IGNORE= option PANGOCAIRO is required for option LIBRVG2 .endif .endif .if ${PORT_OPTIONS:MGHOSTSCRIPT} .if empty(PORT_OPTIONS:MPANGOCAIRO) IGNORE= option PANGOCAIRO is required for option GHOSTSCRIPT .endif .endif .if ${PORT_OPTIONS:MGTK2} .if empty(PORT_OPTIONS:MPANGOCAIRO) IGNORE= option PANGOCAIRO is required for option GTK2 .endif .else .if ${PORT_OPTIONS:MGNOMEUI} IGNORE= option GTK2 is required for option GNOMEUI .endif .endif .if ${PORT_OPTIONS:MGDK_PIXBUF} .if empty(PORT_OPTIONS:MGTK2) IGNORE= option GTK2 is required for option GDK_PIXBUF .endif .if empty(PORT_OPTIONS:MGDK) IGNORE= option GDK is required for option GDK_PIXBUF .endif .endif .if ${PORT_OPTIONS:MSMYRNA} .if empty(PORT_OPTIONS:MGTK2) IGNORE= option GTK2 is required for option SMYRNA .endif .if empty(PORT_OPTIONS:MGTS) IGNORE= option GTS is required for option SMYRNA .endif .endif .if ${PORT_OPTIONS:MIPSEPCOLA} .if empty(PORT_OPTIONS:MDIGCOLA) IGNORE= option WITH_DIGCOLA is required for option WITH_IPSEPCOLA .endif .endif .if ${PORT_OPTIONS:MPERL} || ${PORT_OPTIONS:MPHP} || ${PORT_OPTIONS:MPYTHON} || \ ${PORT_OPTIONS:MRUBY} || ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MTCL} || \ ${PORT_OPTIONS:MGUILE} BUILD_DEPENDS+= swig3.0:devel/swig30 RUN_DEPENDS+= swig3.0:devel/swig30 CONFIGURE_ARGS+= --enable-swig CONFIGURE_ENV+= SWIG="${LOCALBASE}/bin/swig3.0" .else CONFIGURE_ARGS+= --disable-swig CONFIGURE_ENV+= SWIG="/nonexistent" .endif .if ${PORT_OPTIONS:MPHP} SHEBANG_FILES+= tclpkg/gv/demo/modgraph.php .endif .if ${PORT_OPTIONS:MRUBY} SHEBANG_FILES+= tclpkg/gv/demo/modgraph.rb .endif .if ${PORT_OPTIONS:MLUA} SHEBANG_FILES+= tclpkg/gv/demo/modgraph.lua .endif .if ${PORT_OPTIONS:MTCL} SHEBANG_FILES+= tclpkg/gv/demo/modgraph.tcl .endif post-patch: ${FIND} ${WRKSRC} -name Makefile.in | \ ${XARGS} ${REINPLACE_CMD} \ -e "s|\([^:]*:.*\) install-pdfDATA\(.*\)|\1\2|g" \ -e "s|\([^:]*:.*\) install-htmlDATA\(.*\)|\1\2|g" \ -e "s|\([^:]*:.*\) install-txtDATA\(.*\)|\1\2|g" \ -e "s|\([^:]*:.*\) install-demoDATA\(.*\)|\1\2|g" \ -e "s|\([^:]*:.*\) install-demoSCRIPTS\(.*\)|\1\2|g" \ -e "s|\([^:]*:.*\) install-pathplanexampleDATA\(.*\)|\1\2|g" \ -e 's|txtdir = $$(pkgdatadir)/doc|txtdir = ${DOCSDIR}|' \ -e 's|demodir = $$(pkgdatadir)/demo|demodir = ${EXAMPLESDIR}|'; ${REINPLACE_CMD} \ -e 's|^\.SUFFIXES: \(.*\)\.1\(.*\)|.SUFFIXES: \1 \2|' \ ${WRKSRC}/cmd/tools/Makefile.in \ ${WRKSRC}/cmd/gvpr/Makefile.in ${FIND} ${WRKSRC}/lib -name 'Makefile.in' | \ ${XARGS} ${REINPLACE_CMD} \ -e 's|pkglibdir = $$(libdir)/@PACKAGE@|pkglibdir = $$(libdir)|g' \ -e 's|libdir = @libdir@|libdir = @libdir@/@PACKAGE@|g'; ${FIND} ${WRKSRC}/lib -name '*.pc.in' | \ ${XARGS} ${REINPLACE_CMD} \ -e 's|libdir=@libdir@|libdir=@libdir@/@PACKAGE@|'; ${REINPLACE_CMD} -e "s|/usr/include/php|${LOCALBASE}/include/php|g" \ -e "s|vendorarchdir|sitearchdir|g" \ -e "s|-lruby|-lruby${RUBY_SUFFIX}|g" \ -e "s|ruby-1[.]9|ruby-${RUBY_VER}|g" \ -e "s|Config::|RbConfig::|" \ -e 's|PHP_INSTALL_DIR=.*|PHP_INSTALL_DIR="${PREFIX}/lib/php/${PHP_EXT_DIR}"|' \ -e 's|PHP_INSTALL_DATADIR=.*|PHP_INSTALL_DATADIR="${PREFIX}/share/php"|' \ -e '/if test/ s| == | = |g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|#include "gui.h"|#include "gui/gui.h"|' \ ${WRKSRC}/cmd/smyrna/tvnodes.h ${REINPLACE_CMD} -e 's|GTS_LIBS)|GTS_LIBS) $$(MATH_LIBS)|' \ ${WRKSRC}/cmd/smyrna/Makefile.in ${CP} ${WRKSRC}/lib/cgraph/cgraph.h ${WRKSRC}/plugin/ming/ .if ${OSVERSION} >= 1100093 ${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' \ ${WRKSRC}/lib/sfio/*.[ch] .endif .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e 's| install-txtDATA$$||' \ ${WRKSRC}/Makefile.in .endif post-install: install-ldconfig-file cd ${WRKSRC}/lib/expr && \ ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} ${INSTALL_TARGET} cd ${WRKSRC} && \ ${INSTALL_DATA} ${FIX_INCLUDE} ${STAGEDIR}${PREFIX}/include/graphviz/ .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${MKDIR} ${STAGEDIR}${DOCSDIR}/pdf cd ${WRKSRC} && \ ${INSTALL_DATA} ${PDOCS_TXT} ${STAGEDIR}${DOCSDIR}/ && \ ${INSTALL_DATA} ${PDOCS_PDF} ${STAGEDIR}${DOCSDIR}/pdf/ && \ ${INSTALL_DATA} ${PDOCS_HTML} ${STAGEDIR}${DOCSDIR}/html/ .endif .if ${PORT_OPTIONS:MEXAMPLES} @${ECHO_MSG} "Installing demo data..." ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} \ ${WRKSRC}/tclpkg/gdtclft/demo/entities.tcl \ ${WRKSRC}/tclpkg/tcldot/demo/doted.tcl \ ${WRKSRC}/tclpkg/tcldot/demo/gcat.tcl \ ${WRKSRC}/tclpkg/tclpathplan/demo/pathplan.tcl \ ${WRKSRC}/tclpkg/tkspline/demo/spline.tcl \ ${STAGEDIR}${EXAMPLESDIR}/ ${INSTALL_DATA} \ ${WRKSRC}/tclpkg/gdtclft/demo/entities.tcl.README \ ${WRKSRC}/tclpkg/tcldot/demo/doted.tcl.README \ ${WRKSRC}/tclpkg/tcldot/demo/gcat.tcl.README \ ${WRKSRC}/tclpkg/tclpathplan/demo/pathplan.tcl.README \ ${WRKSRC}/tclpkg/tkspline/demo/spline.tcl.README \ ${STAGEDIR}${EXAMPLESDIR}/ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/pathplan_data ${INSTALL_DATA} \ ${WRKSRC}/tclpkg/tclpathplan/demo/pathplan_data/*.dat \ ${STAGEDIR}${EXAMPLESDIR}/pathplan_data/ .endif .include Index: head/graphics/pear-Image_Graph/Makefile =================================================================== --- head/graphics/pear-Image_Graph/Makefile (revision 417718) +++ head/graphics/pear-Image_Graph/Makefile (revision 417719) @@ -1,18 +1,17 @@ # Created by: Nick Hilliard # $FreeBSD$ PORTNAME= Image_Graph PORTVERSION= 0.8.0 CATEGORIES= graphics www pear MAINTAINER= miwi@FreeBSD.org COMMENT= OO PEAR graph rendering package RUN_DEPENDS= ${PEARDIR}/Log.php:sysutils/pear-Log \ ${PEARDIR}/Image/Canvas.php:graphics/pear-Image_Canvas -USE_PHP= yes USES= dos2unix pear DOS2UNIX_REGEX= .*php$$ .include Index: head/graphics/pecl-gmagick/Makefile =================================================================== --- head/graphics/pecl-gmagick/Makefile (revision 417718) +++ head/graphics/pecl-gmagick/Makefile (revision 417719) @@ -1,26 +1,24 @@ # Created by: Dan Rowe # $FreeBSD$ PORTNAME= gmagick PORTVERSION= 1.1.7RC3 CATEGORIES= graphics MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= bsdports@wayfair.com COMMENT= Provides a wrapper to the GraphicsMagick library LICENSE= PHP301 LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick -USES= tar:tgz +USES= php:ext tar:tgz -USE_PHP= yes -USE_PHPEXT= yes IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --with-gmagick=${LOCALBASE} .include Index: head/graphics/pecl-imagick/Makefile =================================================================== --- head/graphics/pecl-imagick/Makefile (revision 417718) +++ head/graphics/pecl-imagick/Makefile (revision 417719) @@ -1,27 +1,25 @@ # Created by: Andrey Slusar # $FreeBSD$ PORTNAME= imagick DISTVERSION= 3.4.1 CATEGORIES= graphics MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= mm@FreeBSD.org COMMENT= Provides a wrapper to the ImageMagick/GraphicsMagick library LICENSE= PHP301 OPTIONS_DEFINE= X11 X11_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick X11_LIB_DEPENDS_OFF= libMagickWand-6.so:graphics/ImageMagick-nox11 -USES= pkgconfig tar:tgz localbase -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext pkgconfig tar:tgz localbase CONFIGURE_ARGS= --with-imagick=${LOCALBASE} .include Index: head/graphics/pecl-imlib2/Makefile =================================================================== --- head/graphics/pecl-imlib2/Makefile (revision 417718) +++ head/graphics/pecl-imlib2/Makefile (revision 417719) @@ -1,32 +1,30 @@ # Created by: Yen-Ming Lee # $FreeBSD$ PORTNAME= imlib2 PORTVERSION= 0.1.00 PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= leeym@FreeBSD.org COMMENT= PECL extension if imlib2 LICENSE= PHP202 LIB_DEPENDS= libImlib2.so:graphics/imlib2 -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 # libImlib2 may or may not depend on X, however, # imlib2 extension doesn't need X related functions in libImlib2 CFLAGS+= -DX_DISPLAY_MISSING -Wno-deprecated post-patch: @${REINPLACE_CMD} -e 's/-ldl//' ${WRKSRC}/config.m4 @${REINPLACE_CMD} -e 's,/usr/share,${LOCALBASE}/share,' ${WRKSRC}/imlib2.c .include Index: head/graphics/pecl-qrencode/Makefile =================================================================== --- head/graphics/pecl-qrencode/Makefile (revision 417718) +++ head/graphics/pecl-qrencode/Makefile (revision 417719) @@ -1,25 +1,23 @@ # Created by: vanilla # $FreeBSD$ PORTNAME= qrencode PORTVERSION= 0.4 CATEGORIES= graphics pear MASTER_SITES= LOCAL/vanilla PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= vanilla@FreeBSD.org COMMENT= PECL extension for generate qrcode LIB_DEPENDS= libqrencode.so:graphics/libqrencode -USE_PHP= yes -USE_PHPEXT= yes -USES= tar:bzip2 +USES= php:ext tar:bzip2 IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --with-qrencode=${LOCALBASE} LDFLAGS+= -L${LOCALBASE}/lib ${EXTRA_LIBS} CFLAGS+= -I${LOCALBASE}/include .include Index: head/graphics/php-facedetect/Makefile =================================================================== --- head/graphics/php-facedetect/Makefile (revision 417718) +++ head/graphics/php-facedetect/Makefile (revision 417719) @@ -1,37 +1,35 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= facedetect PORTVERSION= 1.1 PORTREVISION= 2 CATEGORIES= graphics PKGNAMEPREFIX= php- MAINTAINER= mm@FreeBSD.org COMMENT= Face detection extension for PHP using OpenCV library LICENSE= PHP30 LIB_DEPENDS= libopencv_objdetect.so:graphics/opencv USE_GITHUB= yes GH_ACCOUNT= infusion GH_PROJECT= PHP-Facedetect GH_TAGNAME= 4b1dfe1 CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lopencv_core -USE_PHP= yes -USE_PHPIZE= yes -USE_PHPEXT= yes +USES= php:ext CONFIGURE_ARGS+= --with-facedetect .include .if ${ARCH} == "amd64" USE_GCC= any .endif .include Index: head/graphics/php-gdal/Makefile =================================================================== --- head/graphics/php-gdal/Makefile (revision 417718) +++ head/graphics/php-gdal/Makefile (revision 417719) @@ -1,46 +1,44 @@ # Created by: Sunpoet Po-Chuan Hsieh # $FreeBSD$ PORTNAME= gdal PORTVERSION= 2.1.0 CATEGORIES= graphics MASTER_SITES= http://download.osgeo.org/gdal/${PORTVERSION}/ \ ftp://ftp.remotesensing.org/pub/gdal/${PORTVERSION}/ \ LOCAL/sunpoet PKGNAMEPREFIX= php- MAINTAINER= sunpoet@FreeBSD.org COMMENT= PHP binding for GDAL LICENSE= MIT LICENSE_FILE= ${WRKSRC}/../../LICENSE.TXT BUILD_DEPENDS= swig3.0:devel/swig30 LIB_DEPENDS= libgdal.so:graphics/gdal ALL_TARGET= php_gdal.so php_gdalconst.so php_ogr.so php_osr.so CFLAGS+= -fPIC IGNORE_WITH_PHP=70 MAKEFILE= GNUmakefile PHP_MOD_NAME= php_${PORTNAME} -USE_PHP= yes -USE_PHP_BUILD= yes -USES= gmake localbase tar:xz +USES= php:build gmake localbase tar:xz WRKSRC_SUBDIR= swig/php post-patch: @${REINPLACE_CMD} -e '/^SWIG = swig/ s|$$|3.0|' ${WRKSRC}/../SWIGmake.base @${REINPLACE_CMD} -e 's|^CC=.*$$|CC=${CC}|; s|^CXX=.*$$|CXX=${CXX}|; s|^CFLAGS=.*$$|CFLAGS=${CFLAGS}|' ${WRKSRC}/${MAKEFILE} # include/cpl_config.h will exist after build phase pre-build: ${SED} -e '/^GDAL_ROOT/d' ${DATADIR}/GDALmake.opt > ${WRKSRC}/../../GDALmake.opt ${CP} ${LOCALBASE}/include/cpl_config.h ${WRKSRC}/../../port/ do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/ ${STAGEDIR}${PREFIX}/include/php/ext/${PORTNAME}/ ${INSTALL_LIB} ${WRKSRC}/*.so ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/ ${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/php/ext/${PORTNAME}/ .include Index: head/graphics/php-libpuzzle/Makefile =================================================================== --- head/graphics/php-libpuzzle/Makefile (revision 417718) +++ head/graphics/php-libpuzzle/Makefile (revision 417719) @@ -1,33 +1,29 @@ # Created by: Naram Qashat # $FreeBSD$ PORTNAME= libpuzzle PORTVERSION= 0.11 PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://download.pureftpd.org/pub/pure-ftpd/misc/libpuzzle/release/ \ ftp://ftp.pureftpd.org/pub/pure-ftpd/misc/libpuzzle/releases/ PKGNAMEPREFIX= php- MAINTAINER= cyberbotx@cyberbotx.com COMMENT= PHP extension for Puzzle library to find similar pictures LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC:H:H}/COPYING LIB_DEPENDS= libpuzzle.so:graphics/libpuzzle \ libgd.so:graphics/gd -USES= tar:bzip2 -USE_PHP= yes -USE_PHPIZE= yes -USE_PHPEXT= yes -USE_PHP_BUILD= yes +USES= php:ext tar:bzip2 IGNORE_WITH_PHP= 70 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/php/${PORTNAME} pre-install: @${STRIP_CMD} ${WRKSRC}/modules/libpuzzle.so .include Index: head/graphics/php-magickwand/Makefile =================================================================== --- head/graphics/php-magickwand/Makefile (revision 417718) +++ head/graphics/php-magickwand/Makefile (revision 417719) @@ -1,31 +1,29 @@ # Created by: # $FreeBSD$ PORTNAME= magickwand PORTVERSION= 1.0.9 PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= http://www.magickwand.org/download/php/ PKGNAMEPREFIX= php- DISTNAME= MagickWandForPHP-${PORTVERSION}-2 MAINTAINER= ports@FreeBSD.org COMMENT= PHP extension to manipulate images LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick -USES= pkgconfig -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext pkgconfig IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --with-magickwand=${LOCALBASE} WRKSRC= ${WRKDIR}/MagickWandForPHP-${PORTVERSION} pre-configure: @${REINPLACE_CMD} -e 's|-lMagickWand|-lMagickWand-6|g' \ -e 's|-lMagickCore|-lMagickCore-6|g' \ ${WRKSRC}/configure .include Index: head/graphics/php5-ffmpeg/Makefile =================================================================== --- head/graphics/php5-ffmpeg/Makefile (revision 417718) +++ head/graphics/php5-ffmpeg/Makefile (revision 417719) @@ -1,26 +1,23 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= ffmpeg PORTVERSION= 0.6.0.20120114 DISTVERSIONPREFIX= php- CATEGORIES= graphics MASTER_SITES= LOCAL/sunpoet PKGNAMEPREFIX= php5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= FFmpeg shared extension for php LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgd.so:graphics/gd \ libavutil.so:multimedia/ffmpeg IGNORE_WITH_PHP=70 -USE_PHP= yes -USE_PHPEXT= yes -USE_PHPIZE= yes -USES= localbase tar:xz +USES= localbase php:ext tar:xz .include Index: head/graphics/phplot/Makefile =================================================================== --- head/graphics/phplot/Makefile (revision 417718) +++ head/graphics/phplot/Makefile (revision 417719) @@ -1,42 +1,41 @@ # Created by: yukinopo@livedoor.com # $FreeBSD$ PORTNAME= phplot PORTVERSION= 6.2.0 CATEGORIES= graphics www MASTER_SITES= SF \ SF/${PORTNAME}/Manual/20130511:source2 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${PORTNAME}docs-20130511.zip:source2 MAINTAINER= ports@FreeBSD.org COMMENT= PHP class for creating scientific and business charts LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgd.so:graphics/gd NO_ARCH= yes NO_BUILD= yes -USES= zip -USE_PHP= yes +USES= php zip PHPLOT_DIR= ${STAGEDIR}${PREFIX}/include/php/phplot LIBRARIES= phplot.php rgb.inc.php OPTIONS_DEFINE= DOCS FONTS OPTIONS_DEFAULT= FONTS FONTS_DESC= install TrueType fonts FONTS_LIB_DEPENDS= libfreetype.so:print/freetype2 do-install: @${MKDIR} ${PHPLOT_DIR} ${INSTALL_DATA} ${LIBRARIES:S,^,${WRKSRC}/,} ${PHPLOT_DIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKDIR}/phplotdocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include Index: head/japanese/guesswork-classic/Makefile =================================================================== --- head/japanese/guesswork-classic/Makefile (revision 417718) +++ head/japanese/guesswork-classic/Makefile (revision 417719) @@ -1,46 +1,45 @@ # Created by: Shinsuke Matsui () # $FreeBSD$ PORTNAME= guesswork-classic PORTVERSION= 0.0.3 PORTREVISION= 1 CATEGORIES= japanese devel MASTER_SITES= http://classic.guesswork.jp/download/files/ MAINTAINER= ports@FreeBSD.org COMMENT= PHP lightweight framework BROKEN= unfetchable DEPRECATED= Broken for more than 6 months EXPIRATION_DATE= 2016-07-04 RUN_DEPENDS= ${LOCALBASE}/share/smarty/Smarty.class.php:www/smarty2 NO_BUILD= yes -USE_PHP= yes -WANT_PHP_WEB= yes +USES= php:web SUB_FILES= pkg-message PORTDOCS= ChangeLog README LICENSE OPTIONS_DEFINE= DOCS post-extract: @${FIND} ${WRKSRC} -name '.cvsignore' -delete do-install: ${MKDIR} ${STAGEDIR}${DATADIR} .for DIR in lib test ${CP} -Rp ${WRKSRC}/${DIR} ${STAGEDIR}${DATADIR} ${FIND} ${STAGEDIR}${DATADIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE} .endfor ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for DIR in examples public_html smarty ${CP} -Rp ${WRKSRC}/${DIR} ${STAGEDIR}${EXAMPLESDIR} .endfor ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/japanese/php5-mecab/Makefile =================================================================== --- head/japanese/php5-mecab/Makefile (revision 417718) +++ head/japanese/php5-mecab/Makefile (revision 417719) @@ -1,24 +1,23 @@ # $FreeBSD$ PORTNAME= mecab PORTVERSION= 0.5.0 CATEGORIES= japanese MASTER_SITES= http://github.com/downloads/rsky/php-${PORTNAME}/ DISTNAME= php-mecab-${PORTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= kuriyama@FreeBSD.org COMMENT= PHP5 extension for MeCab Morphological Analyzer LIB_DEPENDS= libmecab.so:japanese/mecab -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --with-mecab=${LOCALBASE}/bin/mecab-config .include PKGNAMEPREFIX:= ${PKGNAMEPREFIX}php5- .include Index: head/lang/pecl-perl/Makefile =================================================================== --- head/lang/pecl-perl/Makefile (revision 417718) +++ head/lang/pecl-perl/Makefile (revision 417719) @@ -1,24 +1,20 @@ # Created by: Luke Jee # $FreeBSD$ PORTNAME= perl DISTVERSION= 1.0.1 CATEGORIES= lang perl5 MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= bofh@FreeBSD.org COMMENT= Embedded Perl LICENSE= PHP301 -USE_PHP= yes -USE_PHPIZE= yes -USE_PHPEXT= yes -USE_PHP_BUILD= yes IGNORE_WITH_PHP= 70 -USES= perl5 tar:tgz +USES= perl5 php:ext tar:tgz .include Index: head/lang/php55/Makefile =================================================================== --- head/lang/php55/Makefile (revision 417718) +++ head/lang/php55/Makefile (revision 417719) @@ -1,207 +1,207 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= php55 PORTVERSION= 5.5.37 PORTREVISION?= 0 CATEGORIES?= lang devel www MASTER_SITES= PHP/distributions DISTNAME= php-${PORTVERSION} MAINTAINER= ale@FreeBSD.org COMMENT= PHP Scripting Language LICENSE= PHP301 USES= tar:bzip2 cpe CPE_PRODUCT= php NO_OPTIONS_SORT=yes .if !defined(PKGNAMESUFFIX) USE_AUTOTOOLS= autoconf LIB_DEPENDS= libpcre.so:devel/pcre CONFIGURE_ARGS+=--with-layout=GNU \ --localstatedir=/var \ --with-config-file-scan-dir=${PREFIX}/etc/php \ --disable-all \ --enable-libxml \ --enable-mysqlnd \ --with-libxml-dir=${LOCALBASE} \ --with-pcre-regex=${LOCALBASE} \ --with-zlib-dir=/usr \ --program-prefix="" USE_GNOME= libxml2 OPTIONS_DEFINE+=CLI CGI FPM EMBED DEBUG DTRACE IPV6 MAILHEAD LINKTHR ZTS OPTIONS_DEFAULT=CLI CGI FPM LINKTHR # Bug 197128: No ASM code for MIPS/MIPS64, disable FPM OPTIONS_EXCLUDE_mips=FPM OPTIONS_EXCLUDE_mips64=FPM OPTIONS_SUB= yes CLI_DESC= Build CLI version CGI_DESC= Build CGI version FPM_DESC= Build FPM version EMBED_DESC= Build embedded library DEBUG_DESC= Enable debug DTRACE_DESC= Enable DTrace support IPV6_DESC= Enable ipv6 support MAILHEAD_DESC= Enable mail header patch LINKTHR_DESC= Link thread lib (for threaded extensions) ZTS_DESC= Force Zend Thread Safety (ZTS) build CONFLICTS= php56-5* php70-* DESTDIRNAME= INSTALL_ROOT .include PATCH_DIST_STRIP= -p1 PATCH_SITES+= LOCAL/ale .if ${PORT_OPTIONS:MMAILHEAD} PATCHFILES+= php-5.5.x-mail-header.patch:mail PATCH_SITES+= http://choon.net/opensource/php/:mail .endif .if ${PORT_OPTIONS:MCLI} PHP_SAPI+= cli .else CONFIGURE_ARGS+=--disable-cli .endif .if ${PORT_OPTIONS:MCGI} PHP_SAPI+= cgi .else CONFIGURE_ARGS+=--disable-cgi .endif .if ${PORT_OPTIONS:MFPM} PHP_SAPI+= fpm USE_RC_SUBR+= php-fpm CONFIGURE_ARGS+=--enable-fpm \ --with-fpm-user=${WWWOWN} \ --with-fpm-group=${WWWGRP} .endif .if defined(OPTIONS_FILE_SET) && ${OPTIONS_FILE_SET:MAPACHE} IGNORE= doesn't install the Apache module anymore:\ update your OPTIONS and build www/mod_php55 port instead .endif .if defined(PKGNAMEPREFIX) -USE_PHP= yes +USES+= php PHP_DEFAULT= 5.5 IGNORE_WITH_PHP=53 54 5 USE_APACHE= 22+ .include "${PORTSDIR}/Mk/bsd.apache.mk" .if ${PORT_OPTIONS:MAP2FILTER} CONFIGURE_ARGS+=--with-apxs2filter=${APXS} .else CONFIGURE_ARGS+=--with-apxs2=${APXS} .endif PLIST= ${PKGDIR}/pkg-plist.mod PKGMESSAGE= ${PKGDIR}/pkg-message.mod MODULENAME= libphp5 SHORTMODNAME= php5 WARNING= "!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!" .endif .if ${PORT_OPTIONS:MEMBED} PHP_SAPI+= embed CONFIGURE_ARGS+=--enable-embed .endif .if ${PORT_OPTIONS:MCLI} || ${PORT_OPTIONS:MEMBED} PLIST_SUB+= SAPI_INC="" .else PLIST_SUB+= SAPI_INC="@comment " .endif .if !defined(WITH_REGEX_TYPE) || ${WITH_REGEX_TYPE} == "php" CONFIGURE_ARGS+=--with-regex=php .elif defined(WITH_REGEX_TYPE) && ${WITH_REGEX_TYPE} == "system" CONFIGURE_ARGS+=--with-regex=system .endif .if !defined(WITH_ZEND_VM) || ${WITH_ZEND_VM} == "CALL" CONFIGURE_ARGS+=--with-zend-vm=CALL .elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "SWITCH" CONFIGURE_ARGS+=--with-zend-vm=SWITCH .elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "GOTO" CONFIGURE_ARGS+=--with-zend-vm=GOTO .endif CONFIGURE_ENV+= ac_cv_pthreads_lib="" \ ac_cv_pthreads_cflags="" \ ac_cv_decimal_fp_supported="no" \ pthreads_working="yes" \ lt_cv_path_SED="sed" .if ${PORT_OPTIONS:MLINKTHR} LIBS+= -lpthread .endif .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-debug .endif .if ${PORT_OPTIONS:MZTS} CONFIGURE_ARGS+=--enable-maintainer-zts .endif .if ${PORT_OPTIONS:MDTRACE} CONFIGURE_ARGS+=--enable-dtrace PLIST_SUB+= DTRACE="" .else PLIST_SUB+= DTRACE="@comment " .endif .if empty(PORT_OPTIONS:MIPV6) CONFIGURE_ARGS+=--disable-ipv6 .endif post-patch: @${TOUCH} ${WRKSRC}/ext/php_config.h @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* .if ${PORT_OPTIONS:MFPM} @${REINPLACE_CMD} -e "s|^;\(pid\)|\1|;s|^;\(pm\.[a-z_]*_servers\)|\1|" \ ${WRKSRC}/sapi/fpm/php-fpm.conf.in .endif # Work around issues with newer (>=2.64) autoconf pre-configure: @${REINPLACE_CMD} -E 's:^((m4_)?divert)[(]([0-9]*)[)]:\1(600\3):' \ ${WRKSRC}/configure.in `${FIND} ${WRKSRC} -name '*.m4'` @${RM} ${WRKSRC}/configure @${CAT} ${WRKSRC}/acinclude.m4 ${WRKSRC}/build/libtool.m4 > ${WRKSRC}/aclocal.m4 .if !defined(PKGNAMEPREFIX) post-build: @${ECHO_CMD} "PHP_VER=55" > ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_VERSION=${PORTVERSION}" >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_SAPI=${PHP_SAPI}" >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_EXT_INC=pcre spl" >> ${WRKDIR}/php.conf @${ECHO_CMD} -n "PHP_EXT_DIR=" >> ${WRKDIR}/php.conf @${SH} ${WRKSRC}/scripts/php-config --extension-dir | sed -ne 's,^${PREFIX}/lib/php/,,p' >> ${WRKDIR}/php.conf test: build @(cd ${WRKSRC} && ${MAKE} test) post-install: @${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-production \ ${WRKDIR}/php.conf ${STAGEDIR}/${PREFIX}/etc .else do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${INSTALL_LIB} ${WRKSRC}/libs/${MODULENAME}.so \ ${STAGEDIR}${PREFIX}/${APACHEMODDIR} .endif .else .include "${MASTERDIR}/Makefile.ext" .endif .include Index: head/lang/php55/Makefile.ext =================================================================== --- head/lang/php55/Makefile.ext (revision 417718) +++ head/lang/php55/Makefile.ext (revision 417719) @@ -1,601 +1,587 @@ COMMENT= The ${PHP_MODNAME} shared extension for php -USE_PHP= yes -USE_PHPEXT= yes +USES+= php:ext PHP_MODNAME= ${PKGNAMESUFFIX:S/-//} PHP_DEFAULT= 5.5 IGNORE_WITH_PHP= 56 70 EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME} WRKSRC= ${WRKDIR}/${EXTSUBDIR} PATCHDIR= ${.CURDIR}/files PLIST= ${NONEXISTENT} EXTRACT_AFTER_ARGS?= ${EXTSUBDIR} .if ${PHP_MODNAME} == "bcmath" CONFIGURE_ARGS+=--enable-bcmath PHP_HEADER_DIRS=libbcmath libbcmath/src .endif .if ${PHP_MODNAME} == "bz2" CONFIGURE_ARGS+=--with-bz2=/usr .endif .if ${PHP_MODNAME} == "calendar" CONFIGURE_ARGS+=--enable-calendar .endif .if ${PHP_MODNAME} == "ctype" CONFIGURE_ARGS+=--enable-ctype .endif .if ${PHP_MODNAME} == "curl" LIB_DEPENDS+= libcurl.so:ftp/curl CONFIGURE_ARGS+=--with-curl=${LOCALBASE} .endif .if ${PHP_MODNAME} == "dba" CONFIGURE_ARGS+=--enable-dba OPTIONS_DEFINE= CDB DB4 GDBM QDBM TOKYO INIFILE FLATFILE OPTIONS_DEFAULT=CDB INIFILE FLATFILE CDB_DESC= cdb database support DB4_DESC= Berkeley DB4 support GDBM_DESC= GDBM database support QDBM_DESC= QDBM database support TOKYO_DESC= Tokyo Cabinet database support INIFILE_DESC= INI file support FLATFILE_DESC= flatfile support PHP_HEADER_DIRS= libcdb libflatfile libinifile .endif .if ${PHP_MODNAME} == "dom" CONFIGURE_ARGS+=--enable-dom \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "exif" CONFIGURE_ARGS+=--enable-exif .endif .if ${PHP_MODNAME} == "fileinfo" CONFIGURE_ARGS+=--enable-fileinfo \ --with-pcre-dir=${LOCALBASE} PHP_HEADER_DIRS= libmagic .endif .if ${PHP_MODNAME} == "filter" CONFIGURE_ARGS+=--enable-filter \ --with-pcre-dir=${LOCALBASE} .endif .if ${PHP_MODNAME} == "ftp" CONFIGURE_ARGS+=--enable-ftp \ --with-openssl-dir=${OPENSSLBASE} LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "gd" LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpng.so:graphics/png USES+= jpeg CONFIGURE_ARGS+=--with-gd \ --with-freetype-dir=${LOCALBASE} \ --with-jpeg-dir=${LOCALBASE} \ --with-png-dir=${LOCALBASE} \ --with-zlib-dir=/usr OPTIONS_DEFINE= T1LIB TRUETYPE JIS X11 VPX OPTIONS_DEFAULT=T1LIB TRUETYPE X11 T1LIB_DESC= Include T1lib support TRUETYPE_DESC= Enable TrueType string function JIS_DESC= Enable JIS-mapped Japanese font support X11_DESC= Enable XPM support VPX_DESC= Enable VP8 codec support PHP_HEADER_DIRS=libgd .endif .if ${PHP_MODNAME} == "gettext" CONFIGURE_ARGS+=--with-gettext=${LOCALBASE} USES+= gettext .endif .if ${PHP_MODNAME} == "gmp" LIB_DEPENDS+= libgmp.so:math/gmp CONFIGURE_ARGS+=--with-gmp=${LOCALBASE} .endif .if ${PHP_MODNAME} == "hash" CONFIGURE_ARGS+=--enable-hash \ --with-mhash .endif .if ${PHP_MODNAME} == "iconv" CONFIGURE_ARGS+=--with-iconv=${LOCALBASE} USES+= iconv:translit .endif .if ${PHP_MODNAME} == "imap" OPTIONS_DEFINE= PANDA PANDA_DESC= Uses the forked panda-cclient instead of the original cclient CONFIGURE_ARGS+=--with-imap=${LOCALBASE} \ --with-pcre-dir=${LOCALBASE} \ --with-imap-ssl=${OPENSSLBASE} LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "interbase" CONFIGURE_ARGS+=--with-interbase=${LOCALBASE} USES+= firebird .endif .if ${PHP_MODNAME} == "json" CONFIGURE_ARGS+=--enable-json .endif .if ${PHP_MODNAME} == "ldap" CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} USE_OPENLDAP= yes . ifdef(WANT_OPENLDAP_SASL) CONFIGURE_ARGS+=--with-ldap-sasl=${LOCALBASE} . endif .endif .if ${PHP_MODNAME} == "mbstring" CONFIGURE_ARGS+=--enable-mbstring \ --with-pcre-dir=${LOCALBASE} OPTIONS_DEFINE= REGEX OPTIONS_DEFAULT=REGEX REGEX_DESC= Enable multibyte regex support PHP_HEADER_DIRS=libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls .endif .if ${PHP_MODNAME} == "mcrypt" LIB_DEPENDS+= libltdl.so:devel/libltdl \ libmcrypt.so:security/libmcrypt CONFIGURE_ARGS+=--with-mcrypt=${LOCALBASE} .endif .if ${PHP_MODNAME} == "mssql" LIB_DEPENDS+= libsybdb.so:databases/freetds CONFIGURE_ARGS+=--with-mssql=${LOCALBASE} .endif .if ${PHP_MODNAME} == "mysql" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT=MYSQLND MYSQLND_DESC= Use MySQL Native Driver .endif .if ${PHP_MODNAME} == "mysqli" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT=MYSQLND MYSQLND_DESC= Use MySQL Native Driver .endif .if ${PHP_MODNAME} == "odbc" LIB_DEPENDS+= libodbc.so:databases/unixODBC CONFIGURE_ARGS+=--enable-odbc \ --with-unixODBC=${LOCALBASE} .endif .if ${PHP_MODNAME} == "openssl" CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "opcache" CONFIGURE_ARGS+=--enable-opcache .endif .if ${PHP_MODNAME} == "pcntl" CONFIGURE_ARGS+=--enable-pcntl .endif .if ${PHP_MODNAME} == "pdo" CONFIGURE_ARGS+=--enable-pdo .endif .if ${PHP_MODNAME} == "pdo_dblib" CONFIGURE_ARGS+=--with-pdo-dblib=${LOCALBASE} -USE_PHP= pdo -USE_PHP_BUILD= yes +USE_PHP= pdo:build OPTIONS_DEFINE= MSSQL MSSQL_DESC= Enable Microsoft SQL Server support .endif .if ${PHP_MODNAME} == "pdo_firebird" CONFIGURE_ARGS+=--with-pdo-firebird=${LOCALBASE} -USE_PHP= pdo -USE_PHP_BUILD= yes +USE_PHP= pdo:build USES+= firebird .endif .if ${PHP_MODNAME} == "pdo_mysql" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT=MYSQLND MYSQLND_DESC= Use MySQL Native Driver -USE_PHP= pdo -USE_PHP_BUILD= yes +USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_odbc" LIB_DEPENDS+= libodbc.so:databases/unixODBC CONFIGURE_ARGS+=--with-pdo-odbc=unixODBC,${LOCALBASE} -USE_PHP= pdo -USE_PHP_BUILD= yes +USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_pgsql" USES+= pgsql CONFIGURE_ARGS+=--with-pdo-pgsql=${LOCALBASE} -USE_PHP= pdo -USE_PHP_BUILD= yes +USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_sqlite" USES+= sqlite CONFIGURE_ARGS+=--with-pdo-sqlite=${LOCALBASE} -USE_PHP= pdo -USE_PHP_BUILD= yes +USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pgsql" USES+= pgsql CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE} .endif .if ${PHP_MODNAME} == "phar" CONFIGURE_ARGS+=--enable-phar \ --with-pcre-dir=${LOCALBASE} -USE_PHP= hash -USE_PHP_BUILD= yes +USE_PHP= hash:build .endif .if ${PHP_MODNAME} == "posix" CONFIGURE_ARGS+=--enable-posix .endif .if ${PHP_MODNAME} == "pspell" LIB_DEPENDS+= libaspell.so:textproc/aspell CONFIGURE_ARGS+=--with-pspell=${LOCALBASE} # Ugly hack to load session before psell to avoid crashes -USE_PHP= session -USE_PHP_BUILD= yes +USE_PHP= session:build .endif .if ${PHP_MODNAME} == "readline" CONFIGURE_ARGS+=--with-readline=/usr USES+= readline .endif .if ${PHP_MODNAME} == "recode" LIB_DEPENDS+= librecode.so:converters/recode CONFIGURE_ARGS+=--with-recode=${LOCALBASE} .endif .if ${PHP_MODNAME} == "session" CONFIGURE_ARGS+=--enable-session .endif .if ${PHP_MODNAME} == "shmop" CONFIGURE_ARGS+=--enable-shmop .endif .if ${PHP_MODNAME} == "simplexml" CONFIGURE_ARGS+=--enable-simplexml \ --with-pcre-dir=${LOCALBASE} \ --with-libxml-dir=${LOCALBASE} USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "snmp" CONFIGURE_ARGS+=--with-snmp=${LOCALBASE} \ --with-openssl-dir=${OPENSSLBASE} CONFIGURE_ENV+= ac_cv_buggy_snprint_value="no" LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "soap" CONFIGURE_ARGS+=--enable-soap \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 -USE_PHP= session -USE_PHP_BUILD= yes +USE_PHP= session:build .endif .if ${PHP_MODNAME} == "sockets" CONFIGURE_ARGS+=--enable-sockets .endif .if ${PHP_MODNAME} == "sqlite3" USES+= sqlite CONFIGURE_ARGS+=--with-sqlite3=${LOCALBASE} .endif .if ${PHP_MODNAME} == "sybase_ct" LIB_DEPENDS+= libct.so:databases/freetds CONFIGURE_ARGS+=--with-sybase-ct=${LOCALBASE} .endif .if ${PHP_MODNAME} == "sysvmsg" CONFIGURE_ARGS+=--enable-sysvmsg .endif .if ${PHP_MODNAME} == "sysvsem" CONFIGURE_ARGS+=--enable-sysvsem .endif .if ${PHP_MODNAME} == "sysvshm" CONFIGURE_ARGS+=--enable-sysvshm .endif .if ${PHP_MODNAME} == "tidy" CONFIGURE_ARGS+=--with-tidy=${LOCALBASE} LIB_DEPENDS+= libtidy.so:www/tidy-lib .endif .if ${PHP_MODNAME} == "tokenizer" CONFIGURE_ARGS+=--enable-tokenizer .endif .if ${PHP_MODNAME} == "wddx" CONFIGURE_ARGS+=--enable-wddx \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 -USE_PHP= xml session -USE_PHP_BUILD= yes +USE_PHP= xml:build session:build .endif .if ${PHP_MODNAME} == "xml" CONFIGURE_ARGS+=--enable-xml \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xmlreader" CONFIGURE_ARGS+=--enable-xmlreader \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 -USE_PHP= dom -USE_PHP_BUILD= yes +USE_PHP= dom:build .endif .if ${PHP_MODNAME} == "xmlrpc" CONFIGURE_ARGS+=--with-xmlrpc \ --with-libxml-dir=${LOCALBASE} \ --with-iconv-dir=${LOCALBASE} USES+= iconv:translit USE_GNOME= libxml2 PHP_HEADER_DIRS=libxmlrpc -USE_PHP= xml -USE_PHP_BUILD= yes +USE_PHP= xml:build .endif .if ${PHP_MODNAME} == "xmlwriter" CONFIGURE_ARGS+=--enable-xmlwriter \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xsl" CONFIGURE_ARGS+=--with-xsl=${LOCALBASE} USE_GNOME= libxslt -USE_PHP= dom xml -USE_PHP_BUILD= yes +USE_PHP= dom:build xml:build .endif .if ${PHP_MODNAME} == "zip" CONFIGURE_ARGS+=--enable-zip \ --with-zlib-dir=/usr \ --with-pcre-dir=${LOCALBASE} .endif .if ${PHP_MODNAME} == "zlib" CONFIGURE_ARGS+=--with-zlib=/usr .endif .include .if ${PHP_MODNAME} == "dba" . if empty(PORT_OPTIONS:MCDB) CONFIGURE_ARGS+=--without-cdb . endif . if ${PORT_OPTIONS:MDB4} CONFIGURE_ARGS+=--with-db4=${LOCALBASE} USE_BDB= 40+ WITH_BDB_HIGHEST= yes . endif . if ${PORT_OPTIONS:MGDBM} LIB_DEPENDS+= libgdbm.so:databases/gdbm CONFIGURE_ARGS+=--with-gdbm=${LOCALBASE} . endif . if ${PORT_OPTIONS:MQDBM} LIB_DEPENDS+= libqdbm.so:databases/qdbm CONFIGURE_ARGS+=--with-qdbm=${LOCALBASE} . endif . if ${PORT_OPTIONS:MTOKYO} LIB_DEPENDS+= libtokyocabinet.so:databases/tokyocabinet CONFIGURE_ARGS+=--with-tcadb=${LOCALBASE} . endif . if empty(PORT_OPTIONS:MINIFILE) CONFIGURE_ARGS+=--disable-inifile . endif . if empty(PORT_OPTIONS:MFLATFILE) CONFIGURE_ARGS+=--disable-flatfile . endif .endif .if ${PHP_MODNAME} == "mysql" . if ${PORT_OPTIONS:MMYSQLND} CONFIGURE_ARGS+=--with-mysql=mysqlnd . else CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} \ --with-zlib-dir=/usr USES+= mysql . endif .endif .if ${PHP_MODNAME} == "mysqli" . if ${PORT_OPTIONS:MMYSQLND} CONFIGURE_ARGS+=--with-mysqli=mysqlnd . else CONFIGURE_ARGS+=--with-mysqli=${LOCALBASE}/bin/mysql_config USES+= mysql . endif .endif .if ${PHP_MODNAME} == "pdo_mysql" . if ${PORT_OPTIONS:MMYSQLND} CONFIGURE_ARGS+=--with-pdo-mysql=mysqlnd USE_PHP+= mysql . else CONFIGURE_ARGS+=--with-pdo-mysql=${LOCALBASE} \ --with-zlib-dir=/usr USES+= mysql . endif .endif .include .if ${PHP_MODNAME} == "gd" . if ${PORT_OPTIONS:MT1LIB} LIB_DEPENDS+= libt1.so:devel/t1lib CONFIGURE_ARGS+=--with-t1lib=${LOCALBASE} . endif . if ${PORT_OPTIONS:MTRUETYPE} CONFIGURE_ARGS+=--enable-gd-native-ttf . endif . if ${PORT_OPTIONS:MJIS} CONFIGURE_ARGS+=--enable-gd-jis-conv . endif . if ${PORT_OPTIONS:MX11} USE_XORG= xpm CONFIGURE_ARGS+=--with-xpm-dir=${LOCALBASE} . endif . if ${PORT_OPTIONS:MVPX} LIB_DEPENDS+= libvpx.so:multimedia/libvpx CONFIGURE_ARGS+=--with-vpx-dir=${LOCALBASE} . endif .endif .if ${PHP_MODNAME} == "imap" . if ${PORT_OPTIONS:MPANDA} LIB_DEPENDS+= libc-client4.so.10:mail/panda-cclient . else LIB_DEPENDS+= libc-client4.so.9:mail/cclient . endif .endif .if ${PHP_MODNAME} == "mbstring" . if ${PORT_OPTIONS:MREGEX} LIB_DEPENDS+= libonig.so:devel/oniguruma5 CONFIGURE_ARGS+=--with-onig=${LOCALBASE} . else CONFIGURE_ARGS+=--disable-mbregex . endif .endif .if ${PHP_MODNAME} == "openssl" || ${PHP_MODNAME} == "sqlite3" post-extract: @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 .endif .if ${PHP_MODNAME} == "pdo_dblib" . if ${PORT_OPTIONS:MMSSQL} LIB_DEPENDS+= libsybdb.so:databases/freetds . else LIB_DEPENDS+= libct.so:databases/freetds . endif .endif .if ${PHP_MODNAME} == "xml" post-extract: @${MKDIR} ${WRKSRC}/ext/xml @${CP} ${WRKSRC}/expat_compat.h ${WRKSRC}/ext/xml .endif .if ${PHP_MODNAME} == "zlib" post-extract: @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 .endif Index: head/lang/php55-extensions/Makefile =================================================================== --- head/lang/php55-extensions/Makefile (revision 417718) +++ head/lang/php55-extensions/Makefile (revision 417719) @@ -1,121 +1,119 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= php55 PORTVERSION= 1.8 CATEGORIES= lang PKGNAMESUFFIX= -extensions MAINTAINER= ale@FreeBSD.org COMMENT= "meta-port" to install PHP extensions -USES= metaport -USE_PHP= yes +USES= metaport php PHP_DEFAULT= 5.5 IGNORE_WITH_PHP=56 70 -USE_PHP_BUILD= yes OPTIONS_DEFINE= BCMATH BZ2 CALENDAR CTYPE CURL DBA \ DOM EXIF FILEINFO FILTER FTP GD GETTEXT \ GMP HASH ICONV IMAP INTERBASE JSON LDAP MBSTRING MCRYPT \ MSSQL MYSQL MYSQLI \ ODBC OPCACHE OPENSSL PCNTL PDF PDO PDO_DBLIB PDO_FIREBIRD \ PDO_MYSQL PDO_ODBC PDO_PGSQL PDO_SQLITE PGSQL PHAR POSIX \ PSPELL READLINE RECODE SESSION SHMOP SIMPLEXML SNMP SOAP \ SOCKETS SQLITE3 SYBASE_CT SYSVMSG SYSVSEM SYSVSHM \ TIDY TOKENIZER WDDX XML XMLREADER XMLRPC XMLWRITER XSL \ ZIP ZLIB BCMATH_DESC= bc style precision math functions BZ2_DESC= bzip2 library support CALENDAR_DESC= calendar conversion support CTYPE_DESC= ctype functions CURL_DESC= CURL support DBA_DESC= dba support DOM_DESC= DOM support EXIF_DESC= EXIF support FILEINFO_DESC= fileinfo support FILTER_DESC= input filter support FTP_DESC= FTP support GD_DESC= GD library support GETTEXT_DESC= gettext library support GMP_DESC= GNU MP support HASH_DESC= HASH Message Digest Framework ICONV_DESC= iconv support IMAP_DESC= IMAP support INTERBASE_DESC= Interbase 6 database support (Firebird) JSON_DESC= JavaScript Object Serialization support LDAP_DESC= OpenLDAP support MBSTRING_DESC= multibyte string support MCRYPT_DESC= Encryption support MSSQL_DESC= MS-SQL database support MYSQL_DESC= MySQL database support MYSQLI_DESC= MySQLi database support ODBC_DESC= ODBC support OPCACHE_DESC= OPcache support OPENSSL_DESC= OpenSSL support PCNTL_DESC= pcntl support (CLI only) PDF_DESC= PDFlib support (implies GD) PDO_DESC= PHP Data Objects Interface (PDO) PDO_DBLIB_DESC= PDO DBLIB-DB driver PDO_FIREBIRD_DESC= PDO Firebird driver PDO_MYSQL_DESC= PDO MySQL driver PDO_ODBC_DESC= PDO ODBC driver PDO_PGSQL_DESC= PDO PostgreSQL driver PDO_SQLITE_DESC= PDO sqlite driver PGSQL_DESC= PostgreSQL database support PHAR_DESC= phar support POSIX_DESC= POSIX-like functions PSPELL_DESC= pspell support READLINE_DESC= readline support (CLI only) RECODE_DESC= recode support SESSION_DESC= session support SHMOP_DESC= shmop support SIMPLEXML_DESC= simplexml support SNMP_DESC= SNMP support SOAP_DESC= SOAP support SOCKETS_DESC= sockets support SQLITE3_DESC= sqlite3 support SYBASE_CT_DESC= Sybase database support SYSVMSG_DESC= System V message support SYSVSEM_DESC= System V semaphore support SYSVSHM_DESC= System V shared memory support TIDY_DESC= TIDY support TOKENIZER_DESC= tokenizer support WDDX_DESC= WDDX support (implies XML) XML_DESC= XML support XMLREADER_DESC= XMLReader support XMLRPC_DESC= XMLRPC-EPI support XMLWRITER_DESC= XMLWriter support XSL_DESC= XSL support (Implies DOM) ZIP_DESC= ZIP support ZLIB_DESC= ZLIB support OPTIONS_DEFAULT= CTYPE \ DOM \ FILTER \ HASH \ ICONV \ JSON \ OPCACHE \ PDO \ PDO_SQLITE \ PHAR \ POSIX \ SESSION \ SIMPLEXML \ SQLITE3 \ TOKENIZER \ XML \ XMLREADER \ XMLWRITER .include .for opt in ${OPTIONS_DEFINE} . if ${PORT_OPTIONS:M${opt}} USE_PHP+= ${opt:tl} . endif .endfor .include Index: head/lang/php56/Makefile =================================================================== --- head/lang/php56/Makefile (revision 417718) +++ head/lang/php56/Makefile (revision 417719) @@ -1,210 +1,210 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= php56 PORTVERSION= 5.6.23 PORTREVISION?= 0 CATEGORIES?= lang devel www MASTER_SITES= PHP/distributions DISTNAME= php-${PORTVERSION} MAINTAINER= ale@FreeBSD.org COMMENT= PHP Scripting Language LICENSE= PHP301 USES= tar:bzip2 cpe CPE_PRODUCT= php NO_OPTIONS_SORT=yes .if !defined(PKGNAMESUFFIX) USE_AUTOTOOLS= autoconf LIB_DEPENDS= libpcre.so:devel/pcre CONFIGURE_ARGS+=--with-layout=GNU \ --localstatedir=/var \ --with-config-file-scan-dir=${PREFIX}/etc/php \ --disable-all \ --enable-libxml \ --enable-mysqlnd \ --with-libxml-dir=${LOCALBASE} \ --with-pcre-regex=${LOCALBASE} \ --with-zlib-dir=/usr \ --program-prefix="" USE_GNOME= libxml2 OPTIONS_DEFINE+=CLI CGI FPM EMBED PHPDBG DEBUG DTRACE IPV6 MAILHEAD LINKTHR ZTS OPTIONS_DEFAULT=CLI CGI FPM LINKTHR # Bug 197128: No ASM code for MIPS/MIPS64, disable FPM OPTIONS_EXCLUDE_mips=FPM OPTIONS_EXCLUDE_mips64=FPM OPTIONS_SUB= yes CLI_DESC= Build CLI version CGI_DESC= Build CGI version FPM_DESC= Build FPM version EMBED_DESC= Build embedded library DEBUG_DESC= Enable debug DTRACE_DESC= Enable DTrace support IPV6_DESC= Enable ipv6 support MAILHEAD_DESC= Enable mail header patch LINKTHR_DESC= Link thread lib (for threaded extensions) ZTS_DESC= Force Zend Thread Safety (ZTS) build CONFLICTS= php55-5* php70-* DESTDIRNAME= INSTALL_ROOT .include PATCH_DIST_STRIP= -p1 PATCH_SITES+= LOCAL/ale .if ${PORT_OPTIONS:MMAILHEAD} PATCHFILES+= php-5.5.x-mail-header.patch:mail PATCH_SITES+= http://choon.net/opensource/php/:mail .endif .if ${PORT_OPTIONS:MCLI} PHP_SAPI+= cli .else CONFIGURE_ARGS+=--disable-cli .endif .if ${PORT_OPTIONS:MCGI} PHP_SAPI+= cgi .else CONFIGURE_ARGS+=--disable-cgi .endif .if ${PORT_OPTIONS:MFPM} PHP_SAPI+= fpm USE_RC_SUBR+= php-fpm CONFIGURE_ARGS+=--enable-fpm \ --with-fpm-user=${WWWOWN} \ --with-fpm-group=${WWWGRP} .endif .if defined(PKGNAMEPREFIX) -USE_PHP= yes +USES+= php PHP_DEFAULT= 5.6 IGNORE_WITH_PHP=53 54 5 USE_APACHE= 22+ .include "${PORTSDIR}/Mk/bsd.apache.mk" .if ${PORT_OPTIONS:MAP2FILTER} CONFIGURE_ARGS+=--with-apxs2filter=${APXS} .else CONFIGURE_ARGS+=--with-apxs2=${APXS} .endif PLIST= ${PKGDIR}/pkg-plist.mod PKGMESSAGE= ${PKGDIR}/pkg-message.mod MODULENAME= libphp5 SHORTMODNAME= php5 WARNING= "!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!" .endif .if ${PORT_OPTIONS:MEMBED} PHP_SAPI+= embed CONFIGURE_ARGS+=--enable-embed .endif .if ${PORT_OPTIONS:MPHPDBG} PHP_SAPI+= phpdbg CONFIGURE_ARGS+=--enable-phpdbg .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-phpdbg-debug .endif .endif .if ${PORT_OPTIONS:MCLI} || ${PORT_OPTIONS:MEMBED} PLIST_SUB+= SAPI_INC="" .else PLIST_SUB+= SAPI_INC="@comment " .endif .if !defined(WITH_REGEX_TYPE) || ${WITH_REGEX_TYPE} == "php" CONFIGURE_ARGS+=--with-regex=php .elif defined(WITH_REGEX_TYPE) && ${WITH_REGEX_TYPE} == "system" CONFIGURE_ARGS+=--with-regex=system .endif .if !defined(WITH_ZEND_VM) || ${WITH_ZEND_VM} == "CALL" CONFIGURE_ARGS+=--with-zend-vm=CALL .elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "SWITCH" CONFIGURE_ARGS+=--with-zend-vm=SWITCH .elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "GOTO" CONFIGURE_ARGS+=--with-zend-vm=GOTO .endif CONFIGURE_ENV+= ac_cv_pthreads_lib="" \ ac_cv_pthreads_cflags="" \ ac_cv_decimal_fp_supported="no" \ pthreads_working="yes" \ lt_cv_path_SED="sed" .if ${PORT_OPTIONS:MLINKTHR} LIBS+= -lpthread .endif .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-debug .endif .if ${PORT_OPTIONS:MZTS} CONFIGURE_ARGS+=--enable-maintainer-zts .endif .if ${PORT_OPTIONS:MDTRACE} CONFIGURE_ARGS+=--enable-dtrace PLIST_SUB+= DTRACE="" .else PLIST_SUB+= DTRACE="@comment " .endif .if empty(PORT_OPTIONS:MIPV6) CONFIGURE_ARGS+=--disable-ipv6 .endif post-patch: @${TOUCH} ${WRKSRC}/ext/php_config.h @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* .if ${PORT_OPTIONS:MFPM} @${REINPLACE_CMD} -e "s|^;\(pid\)|\1|;s|^;\(pm\.[a-z_]*_servers\)|\1|" \ ${WRKSRC}/sapi/fpm/php-fpm.conf.in .endif # Work around issues with newer (>=2.64) autoconf pre-configure: @${REINPLACE_CMD} -E 's:^((m4_)?divert)[(]([0-9]*)[)]:\1(600\3):' \ ${WRKSRC}/configure.in `${FIND} ${WRKSRC} -name '*.m4'` @${RM} ${WRKSRC}/configure @${CAT} ${WRKSRC}/acinclude.m4 ${WRKSRC}/build/libtool.m4 > ${WRKSRC}/aclocal.m4 .if !defined(PKGNAMEPREFIX) post-build: @${ECHO_CMD} "PHP_VER=56" > ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_VERSION=${PORTVERSION}" >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_SAPI=${PHP_SAPI}" >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_EXT_INC=pcre spl" >> ${WRKDIR}/php.conf @${ECHO_CMD} -n "PHP_EXT_DIR=" >> ${WRKDIR}/php.conf @${SH} ${WRKSRC}/scripts/php-config --extension-dir | sed -ne 's,^${PREFIX}/lib/php/,,p' >> ${WRKDIR}/php.conf test: build @(cd ${WRKSRC} && ${MAKE} test) post-install: @${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-production \ ${WRKDIR}/php.conf ${STAGEDIR}/${PREFIX}/etc .else do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${INSTALL_LIB} ${WRKSRC}/libs/${MODULENAME}.so \ ${STAGEDIR}${PREFIX}/${APACHEMODDIR} .endif .else .include "${MASTERDIR}/Makefile.ext" .endif .include Index: head/lang/php56/Makefile.ext =================================================================== --- head/lang/php56/Makefile.ext (revision 417718) +++ head/lang/php56/Makefile.ext (revision 417719) @@ -1,604 +1,590 @@ COMMENT= The ${PHP_MODNAME} shared extension for php -USE_PHP= yes -USE_PHPEXT= yes +USES+= php:ext PHP_MODNAME= ${PKGNAMESUFFIX:S/-//} PHP_DEFAULT= 5.6 IGNORE_WITH_PHP= 55 70 EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME} WRKSRC= ${WRKDIR}/${EXTSUBDIR} PATCHDIR= ${.CURDIR}/files PLIST= ${NONEXISTENT} EXTRACT_AFTER_ARGS?= ${EXTSUBDIR} .if ${PHP_MODNAME} == "bcmath" CONFIGURE_ARGS+=--enable-bcmath PHP_HEADER_DIRS=libbcmath libbcmath/src .endif .if ${PHP_MODNAME} == "bz2" CONFIGURE_ARGS+=--with-bz2=/usr .endif .if ${PHP_MODNAME} == "calendar" CONFIGURE_ARGS+=--enable-calendar .endif .if ${PHP_MODNAME} == "ctype" CONFIGURE_ARGS+=--enable-ctype .endif .if ${PHP_MODNAME} == "curl" LIB_DEPENDS+= libcurl.so:ftp/curl CONFIGURE_ARGS+=--with-curl=${LOCALBASE} .endif .if ${PHP_MODNAME} == "dba" CONFIGURE_ARGS+=--enable-dba OPTIONS_DEFINE= CDB DB4 GDBM QDBM TOKYO INIFILE FLATFILE OPTIONS_DEFAULT=CDB INIFILE FLATFILE CDB_DESC= cdb database support DB4_DESC= Berkeley DB4 support GDBM_DESC= GDBM database support QDBM_DESC= QDBM database support TOKYO_DESC= Tokyo Cabinet database support INIFILE_DESC= INI file support FLATFILE_DESC= flatfile support PHP_HEADER_DIRS= libcdb libflatfile libinifile .endif .if ${PHP_MODNAME} == "dom" CONFIGURE_ARGS+=--enable-dom \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "exif" CONFIGURE_ARGS+=--enable-exif .endif .if ${PHP_MODNAME} == "fileinfo" CONFIGURE_ARGS+=--enable-fileinfo \ --with-pcre-dir=${LOCALBASE} PHP_HEADER_DIRS= libmagic .endif .if ${PHP_MODNAME} == "filter" CONFIGURE_ARGS+=--enable-filter \ --with-pcre-dir=${LOCALBASE} .endif .if ${PHP_MODNAME} == "ftp" CONFIGURE_ARGS+=--enable-ftp \ --with-openssl-dir=${OPENSSLBASE} LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "gd" LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpng.so:graphics/png USES+= jpeg CONFIGURE_ARGS+=--with-gd \ --with-freetype-dir=${LOCALBASE} \ --with-jpeg-dir=${LOCALBASE} \ --with-png-dir=${LOCALBASE} \ --with-zlib-dir=/usr OPTIONS_DEFINE= T1LIB TRUETYPE JIS X11 VPX OPTIONS_DEFAULT=T1LIB TRUETYPE X11 T1LIB_DESC= Include T1lib support TRUETYPE_DESC= Enable TrueType string function JIS_DESC= Enable JIS-mapped Japanese font support X11_DESC= Enable XPM support VPX_DESC= Enable VP8 codec support PHP_HEADER_DIRS=libgd .endif .if ${PHP_MODNAME} == "gettext" CONFIGURE_ARGS+=--with-gettext=${LOCALBASE} USES+= gettext .endif .if ${PHP_MODNAME} == "gmp" LIB_DEPENDS+= libgmp.so:math/gmp CONFIGURE_ARGS+=--with-gmp=${LOCALBASE} .endif .if ${PHP_MODNAME} == "hash" CONFIGURE_ARGS+=--enable-hash \ --with-mhash .endif .if ${PHP_MODNAME} == "iconv" CONFIGURE_ARGS+=--with-iconv=${LOCALBASE} USES+= iconv:translit .endif .if ${PHP_MODNAME} == "imap" OPTIONS_DEFINE= PANDA PANDA_DESC= Uses the forked panda-cclient instead of the original cclient CONFIGURE_ARGS+=--with-imap=${LOCALBASE} \ --with-pcre-dir=${LOCALBASE} \ --with-imap-ssl=${OPENSSLBASE} LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "interbase" CONFIGURE_ARGS+=--with-interbase=${LOCALBASE} USES+= firebird .endif .if ${PHP_MODNAME} == "json" CONFIGURE_ARGS+=--enable-json .endif .if ${PHP_MODNAME} == "ldap" CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} USE_OPENLDAP= yes . ifdef(WANT_OPENLDAP_SASL) CONFIGURE_ARGS+=--with-ldap-sasl=${LOCALBASE} . endif .endif .if ${PHP_MODNAME} == "mbstring" CONFIGURE_ARGS+=--enable-mbstring \ --with-pcre-dir=${LOCALBASE} OPTIONS_DEFINE= REGEX OPTIONS_DEFAULT=REGEX REGEX_DESC= Enable multibyte regex support PHP_HEADER_DIRS=libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls .endif .if ${PHP_MODNAME} == "mcrypt" LIB_DEPENDS+= libltdl.so:devel/libltdl \ libmcrypt.so:security/libmcrypt CONFIGURE_ARGS+=--with-mcrypt=${LOCALBASE} .endif .if ${PHP_MODNAME} == "mssql" LIB_DEPENDS+= libsybdb.so:databases/freetds CONFIGURE_ARGS+=--with-mssql=${LOCALBASE} .endif .if ${PHP_MODNAME} == "mysql" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT=MYSQLND MYSQLND_DESC= Use MySQL Native Driver .endif .if ${PHP_MODNAME} == "mysqli" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT=MYSQLND MYSQLND_DESC= Use MySQL Native Driver .endif .if ${PHP_MODNAME} == "odbc" LIB_DEPENDS+= libodbc.so:databases/unixODBC CONFIGURE_ARGS+=--enable-odbc \ --with-unixODBC=${LOCALBASE} .endif .if ${PHP_MODNAME} == "openssl" CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "opcache" CONFIGURE_ARGS+=--enable-opcache .endif .if ${PHP_MODNAME} == "pcntl" CONFIGURE_ARGS+=--enable-pcntl .endif .if ${PHP_MODNAME} == "pdo" CONFIGURE_ARGS+=--enable-pdo .endif .if ${PHP_MODNAME} == "pdo_dblib" CONFIGURE_ARGS+=--with-pdo-dblib=${LOCALBASE} -USE_PHP= pdo -USE_PHP_BUILD= yes +USE_PHP= pdo:build OPTIONS_DEFINE= MSSQL MSSQL_DESC= Enable Microsoft SQL Server support .endif .if ${PHP_MODNAME} == "pdo_firebird" CONFIGURE_ARGS+=--with-pdo-firebird=${LOCALBASE} -USE_PHP= pdo -USE_PHP_BUILD= yes +USE_PHP= pdo:build USES+= firebird .endif .if ${PHP_MODNAME} == "pdo_mysql" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT=MYSQLND MYSQLND_DESC= Use MySQL Native Driver -USE_PHP= pdo -USE_PHP_BUILD= yes +USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_odbc" LIB_DEPENDS+= libodbc.so:databases/unixODBC CONFIGURE_ARGS+=--with-pdo-odbc=unixODBC,${LOCALBASE} -USE_PHP= pdo -USE_PHP_BUILD= yes +USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_pgsql" USES+= pgsql CONFIGURE_ARGS+=--with-pdo-pgsql=${LOCALBASE} -USE_PHP= pdo -USE_PHP_BUILD= yes +USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_sqlite" USES+= sqlite CONFIGURE_ARGS+=--with-pdo-sqlite=${LOCALBASE} -USE_PHP= pdo -USE_PHP_BUILD= yes +USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pgsql" USES+= pgsql CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE} .endif .if ${PHP_MODNAME} == "phar" CONFIGURE_ARGS+=--enable-phar \ --with-pcre-dir=${LOCALBASE} -USE_PHP= hash -USE_PHP_BUILD= yes +USE_PHP= hash:build .endif .if ${PHP_MODNAME} == "posix" CONFIGURE_ARGS+=--enable-posix .endif .if ${PHP_MODNAME} == "pspell" LIB_DEPENDS+= libaspell.so:textproc/aspell CONFIGURE_ARGS+=--with-pspell=${LOCALBASE} # Ugly hack to load session before psell to avoid crashes -USE_PHP= session -USE_PHP_BUILD= yes +USE_PHP= session:build .endif .if ${PHP_MODNAME} == "readline" CONFIGURE_ARGS+=--with-readline=/usr USES+= readline .endif .if ${PHP_MODNAME} == "recode" LIB_DEPENDS+= librecode.so:converters/recode CONFIGURE_ARGS+=--with-recode=${LOCALBASE} .endif .if ${PHP_MODNAME} == "session" CONFIGURE_ARGS+=--enable-session .endif .if ${PHP_MODNAME} == "shmop" CONFIGURE_ARGS+=--enable-shmop .endif .if ${PHP_MODNAME} == "simplexml" CONFIGURE_ARGS+=--enable-simplexml \ --with-pcre-dir=${LOCALBASE} \ --with-libxml-dir=${LOCALBASE} USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "snmp" CONFIGURE_ARGS+=--with-snmp=${LOCALBASE} \ --with-openssl-dir=${OPENSSLBASE} CONFIGURE_ENV+= ac_cv_buggy_snprint_value="no" LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "soap" CONFIGURE_ARGS+=--enable-soap \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 -USE_PHP= session -USE_PHP_BUILD= yes +USE_PHP= session:build .endif .if ${PHP_MODNAME} == "sockets" CONFIGURE_ARGS+=--enable-sockets .endif .if ${PHP_MODNAME} == "sqlite3" USES+= sqlite CONFIGURE_ARGS+=--with-sqlite3=${LOCALBASE} .endif .if ${PHP_MODNAME} == "sybase_ct" LIB_DEPENDS+= libct.so:databases/freetds CONFIGURE_ARGS+=--with-sybase-ct=${LOCALBASE} .endif .if ${PHP_MODNAME} == "sysvmsg" CONFIGURE_ARGS+=--enable-sysvmsg .endif .if ${PHP_MODNAME} == "sysvsem" CONFIGURE_ARGS+=--enable-sysvsem .endif .if ${PHP_MODNAME} == "sysvshm" CONFIGURE_ARGS+=--enable-sysvshm .endif .if ${PHP_MODNAME} == "tidy" CONFIGURE_ARGS+=--with-tidy=${LOCALBASE} LIB_DEPENDS+= libtidy.so:www/tidy-lib .endif .if ${PHP_MODNAME} == "tokenizer" CONFIGURE_ARGS+=--enable-tokenizer .endif .if ${PHP_MODNAME} == "wddx" CONFIGURE_ARGS+=--enable-wddx \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 -USE_PHP= xml session -USE_PHP_BUILD= yes +USE_PHP= xml:build session:build .endif .if ${PHP_MODNAME} == "xml" CONFIGURE_ARGS+=--enable-xml \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xmlreader" CONFIGURE_ARGS+=--enable-xmlreader \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 -USE_PHP= dom -USE_PHP_BUILD= yes +USE_PHP= dom:build .endif .if ${PHP_MODNAME} == "xmlrpc" CONFIGURE_ARGS+=--with-xmlrpc \ --with-libxml-dir=${LOCALBASE} \ --with-iconv-dir=${LOCALBASE} USES+= iconv:translit USE_GNOME= libxml2 PHP_HEADER_DIRS=libxmlrpc -USE_PHP= xml -USE_PHP_BUILD= yes +USE_PHP= xml:build .endif .if ${PHP_MODNAME} == "xmlwriter" CONFIGURE_ARGS+=--enable-xmlwriter \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xsl" CONFIGURE_ARGS+=--with-xsl=${LOCALBASE} USE_GNOME= libxslt -USE_PHP= dom xml -USE_PHP_BUILD= yes +USE_PHP= dom:build xml:build .endif .if ${PHP_MODNAME} == "zip" LIB_DEPENDS+= libzip.so:archivers/libzip CONFIGURE_ARGS+=--enable-zip \ --with-zlib-dir=/usr \ --with-pcre-dir=${LOCALBASE} \ --with-libzip=${LOCALBASE} .endif .if ${PHP_MODNAME} == "zlib" CONFIGURE_ARGS+=--with-zlib=/usr .endif .include .if ${PHP_MODNAME} == "dba" . if empty(PORT_OPTIONS:MCDB) CONFIGURE_ARGS+=--without-cdb . endif . if ${PORT_OPTIONS:MDB4} CONFIGURE_ARGS+=--with-db4=${LOCALBASE} USE_BDB= 40+ WITH_BDB_HIGHEST= yes . endif . if ${PORT_OPTIONS:MGDBM} LIB_DEPENDS+= libgdbm.so:databases/gdbm CONFIGURE_ARGS+=--with-gdbm=${LOCALBASE} . endif . if ${PORT_OPTIONS:MQDBM} LIB_DEPENDS+= libqdbm.so:databases/qdbm CONFIGURE_ARGS+=--with-qdbm=${LOCALBASE} . endif . if ${PORT_OPTIONS:MTOKYO} LIB_DEPENDS+= libtokyocabinet.so:databases/tokyocabinet CONFIGURE_ARGS+=--with-tcadb=${LOCALBASE} . endif . if empty(PORT_OPTIONS:MINIFILE) CONFIGURE_ARGS+=--disable-inifile . endif . if empty(PORT_OPTIONS:MFLATFILE) CONFIGURE_ARGS+=--disable-flatfile . endif .endif .if ${PHP_MODNAME} == "mysql" . if ${PORT_OPTIONS:MMYSQLND} CONFIGURE_ARGS+=--with-mysql=mysqlnd . else CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} \ --with-zlib-dir=/usr USES+= mysql . endif .endif .if ${PHP_MODNAME} == "mysqli" . if ${PORT_OPTIONS:MMYSQLND} CONFIGURE_ARGS+=--with-mysqli=mysqlnd . else CONFIGURE_ARGS+=--with-mysqli=${LOCALBASE}/bin/mysql_config USES+= mysql . endif .endif .if ${PHP_MODNAME} == "pdo_mysql" . if ${PORT_OPTIONS:MMYSQLND} CONFIGURE_ARGS+=--with-pdo-mysql=mysqlnd USE_PHP+= mysql . else CONFIGURE_ARGS+=--with-pdo-mysql=${LOCALBASE} \ --with-zlib-dir=/usr USES+= mysql . endif .endif .include .if ${PHP_MODNAME} == "gd" . if ${PORT_OPTIONS:MT1LIB} LIB_DEPENDS+= libt1.so:devel/t1lib CONFIGURE_ARGS+=--with-t1lib=${LOCALBASE} . endif . if ${PORT_OPTIONS:MTRUETYPE} CONFIGURE_ARGS+=--enable-gd-native-ttf . endif . if ${PORT_OPTIONS:MJIS} CONFIGURE_ARGS+=--enable-gd-jis-conv . endif . if ${PORT_OPTIONS:MX11} USE_XORG= xpm CONFIGURE_ARGS+=--with-xpm-dir=${LOCALBASE} . endif . if ${PORT_OPTIONS:MVPX} LIB_DEPENDS+= libvpx.so:multimedia/libvpx CONFIGURE_ARGS+=--with-vpx-dir=${LOCALBASE} . endif .endif .if ${PHP_MODNAME} == "imap" . if ${PORT_OPTIONS:MPANDA} LIB_DEPENDS+= libc-client4.so.10:mail/panda-cclient . else LIB_DEPENDS+= libc-client4.so.9:mail/cclient . endif .endif .if ${PHP_MODNAME} == "mbstring" . if ${PORT_OPTIONS:MREGEX} LIB_DEPENDS+= libonig.so:devel/oniguruma5 CONFIGURE_ARGS+=--with-onig=${LOCALBASE} . else CONFIGURE_ARGS+=--disable-mbregex . endif .endif .if ${PHP_MODNAME} == "openssl" || ${PHP_MODNAME} == "sqlite3" post-extract: @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 .endif .if ${PHP_MODNAME} == "pdo_dblib" . if ${PORT_OPTIONS:MMSSQL} LIB_DEPENDS+= libsybdb.so:databases/freetds . else LIB_DEPENDS+= libct.so:databases/freetds . endif .endif .if ${PHP_MODNAME} == "xml" post-extract: @${MKDIR} ${WRKSRC}/ext/xml @${CP} ${WRKSRC}/expat_compat.h ${WRKSRC}/ext/xml .endif .if ${PHP_MODNAME} == "zlib" post-extract: @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 .endif Index: head/lang/php56-extensions/Makefile =================================================================== --- head/lang/php56-extensions/Makefile (revision 417718) +++ head/lang/php56-extensions/Makefile (revision 417719) @@ -1,121 +1,119 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= php56 PORTVERSION= 1.0 CATEGORIES= lang PKGNAMESUFFIX= -extensions MAINTAINER= ale@FreeBSD.org COMMENT= "meta-port" to install PHP extensions -USES= metaport -USE_PHP= yes +USES= metaport php PHP_DEFAULT= 5.6 IGNORE_WITH_PHP= 55 70 -USE_PHP_BUILD= yes OPTIONS_DEFINE= BCMATH BZ2 CALENDAR CTYPE CURL DBA \ DOM EXIF FILEINFO FILTER FTP GD GETTEXT \ GMP HASH ICONV IMAP INTERBASE JSON LDAP MBSTRING MCRYPT \ MSSQL MYSQL MYSQLI \ ODBC OPCACHE OPENSSL PCNTL PDF PDO PDO_DBLIB PDO_FIREBIRD \ PDO_MYSQL PDO_ODBC PDO_PGSQL PDO_SQLITE PGSQL PHAR POSIX \ PSPELL READLINE RECODE SESSION SHMOP SIMPLEXML SNMP SOAP \ SOCKETS SQLITE3 SYBASE_CT SYSVMSG SYSVSEM SYSVSHM \ TIDY TOKENIZER WDDX XML XMLREADER XMLRPC XMLWRITER XSL \ ZIP ZLIB BCMATH_DESC= bc style precision math functions BZ2_DESC= bzip2 library support CALENDAR_DESC= calendar conversion support CTYPE_DESC= ctype functions CURL_DESC= CURL support DBA_DESC= dba support DOM_DESC= DOM support EXIF_DESC= EXIF support FILEINFO_DESC= fileinfo support FILTER_DESC= input filter support FTP_DESC= FTP support GD_DESC= GD library support GETTEXT_DESC= gettext library support GMP_DESC= GNU MP support HASH_DESC= HASH Message Digest Framework ICONV_DESC= iconv support IMAP_DESC= IMAP support INTERBASE_DESC= Interbase 6 database support (Firebird) JSON_DESC= JavaScript Object Serialization support LDAP_DESC= OpenLDAP support MBSTRING_DESC= multibyte string support MCRYPT_DESC= Encryption support MSSQL_DESC= MS-SQL database support MYSQL_DESC= MySQL database support MYSQLI_DESC= MySQLi database support ODBC_DESC= ODBC support OPCACHE_DESC= OPcache support OPENSSL_DESC= OpenSSL support PCNTL_DESC= pcntl support (CLI only) PDF_DESC= PDFlib support (implies GD) PDO_DESC= PHP Data Objects Interface (PDO) PDO_DBLIB_DESC= PDO DBLIB-DB driver PDO_FIREBIRD_DESC= PDO Firebird driver PDO_MYSQL_DESC= PDO MySQL driver PDO_ODBC_DESC= PDO ODBC driver PDO_PGSQL_DESC= PDO PostgreSQL driver PDO_SQLITE_DESC= PDO sqlite driver PGSQL_DESC= PostgreSQL database support PHAR_DESC= phar support POSIX_DESC= POSIX-like functions PSPELL_DESC= pspell support READLINE_DESC= readline support (CLI only) RECODE_DESC= recode support SESSION_DESC= session support SHMOP_DESC= shmop support SIMPLEXML_DESC= simplexml support SNMP_DESC= SNMP support SOAP_DESC= SOAP support SOCKETS_DESC= sockets support SQLITE3_DESC= sqlite3 support SYBASE_CT_DESC= Sybase database support SYSVMSG_DESC= System V message support SYSVSEM_DESC= System V semaphore support SYSVSHM_DESC= System V shared memory support TIDY_DESC= TIDY support TOKENIZER_DESC= tokenizer support WDDX_DESC= WDDX support (implies XML) XML_DESC= XML support XMLREADER_DESC= XMLReader support XMLRPC_DESC= XMLRPC-EPI support XMLWRITER_DESC= XMLWriter support XSL_DESC= XSL support (Implies DOM) ZIP_DESC= ZIP support ZLIB_DESC= ZLIB support OPTIONS_DEFAULT= CTYPE \ DOM \ FILTER \ HASH \ ICONV \ JSON \ OPCACHE \ PDO \ PDO_SQLITE \ PHAR \ POSIX \ SESSION \ SIMPLEXML \ SQLITE3 \ TOKENIZER \ XML \ XMLREADER \ XMLWRITER .include .for opt in ${OPTIONS_DEFINE} . if ${PORT_OPTIONS:M${opt}} USE_PHP+= ${opt:tl} . endif .endfor .include Index: head/lang/php70/Makefile =================================================================== --- head/lang/php70/Makefile (revision 417718) +++ head/lang/php70/Makefile (revision 417719) @@ -1,204 +1,204 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= php70 PORTVERSION= 7.0.8 PORTREVISION?= 0 CATEGORIES?= lang devel www MASTER_SITES= PHP/distributions DISTNAME= php-${PORTVERSION} MAINTAINER= miwi@FreeBSD.org COMMENT= PHP Scripting Language LICENSE= PHP301 BROKEN_powerpc64= Does not build USES= tar:bzip2 cpe CPE_PRODUCT= php NO_OPTIONS_SORT=yes .if !defined(PKGNAMESUFFIX) USE_AUTOTOOLS= autoconf #NOTE: libtools ends with Version mismatch error #USES+= autoreconf gmake #GNU_CONFIGURE= yes LIB_DEPENDS= libpcre.so:devel/pcre CONFIGURE_ARGS+=--with-layout=GNU \ --localstatedir=/var \ --with-config-file-scan-dir=${PREFIX}/etc/php \ --disable-all \ --enable-libxml \ --enable-mysqlnd \ --with-libxml-dir=${LOCALBASE} \ --with-pcre-regex=${LOCALBASE} \ --program-prefix="" USE_GNOME= libxml2 OPTIONS_DEFINE+=CLI CGI FPM EMBED PHPDBG DEBUG DTRACE IPV6 LINKTHR ZTS OPTIONS_DEFAULT=CLI CGI FPM LINKTHR # Bug 197128: No ASM code for MIPS/MIPS64, disable FPM OPTIONS_EXCLUDE_mips=FPM OPTIONS_EXCLUDE_mips64=FPM OPTIONS_SUB= yes CLI_DESC= Build CLI version CGI_DESC= Build CGI version FPM_DESC= Build FPM version EMBED_DESC= Build embedded library DEBUG_DESC= Enable debug PHPDBG_DESC= Interactive PHP debugger DTRACE_DESC= Enable DTrace support IPV6_DESC= Enable ipv6 support LINKTHR_DESC= Link thread lib (for threaded extensions) ZTS_DESC= Force Zend Thread Safety (ZTS) build CONFLICTS= php55-5* php56-* DESTDIRNAME= INSTALL_ROOT .include .if ${PORT_OPTIONS:MCLI} PHP_SAPI+= cli .else CONFIGURE_ARGS+=--disable-cli .endif .if ${PORT_OPTIONS:MCGI} PHP_SAPI+= cgi .else CONFIGURE_ARGS+=--disable-cgi .endif .if ${PORT_OPTIONS:MFPM} PHP_SAPI+= fpm USE_RC_SUBR+= php-fpm CONFIGURE_ARGS+=--enable-fpm \ --with-fpm-user=${WWWOWN} \ --with-fpm-group=${WWWGRP} .endif .if defined(PKGNAMEPREFIX) -USE_PHP= yes +USES+= php PHP_DEFAULT= 7.0 IGNORE_WITH_PHP= 55 56 USE_APACHE= 22+ .include "${PORTSDIR}/Mk/bsd.apache.mk" .if ${PORT_OPTIONS:MAP2FILTER} CONFIGURE_ARGS+=--with-apxs2filter=${APXS} .else CONFIGURE_ARGS+=--with-apxs2=${APXS} .endif PLIST= ${PKGDIR}/pkg-plist.mod PKGMESSAGE= ${PKGDIR}/pkg-message.mod MODULENAME= libphp7 SHORTMODNAME= php7 WARNING= "!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!" .endif .if ${PORT_OPTIONS:MEMBED} PHP_SAPI+= embed CONFIGURE_ARGS+=--enable-embed .endif .if ${PORT_OPTIONS:MPHPDBG} PHP_SAPI+= phpdbg CONFIGURE_ARGS+=--enable-phpdbg .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-phpdbg-debug .endif .endif .if ${PORT_OPTIONS:MCLI} || ${PORT_OPTIONS:MEMBED} PLIST_SUB+= SAPI_INC="" .else PLIST_SUB+= SAPI_INC="@comment " .endif .if !defined(WITH_REGEX_TYPE) || ${WITH_REGEX_TYPE} == "php" CONFIGURE_ARGS+=--with-regex=php .elif defined(WITH_REGEX_TYPE) && ${WITH_REGEX_TYPE} == "system" CONFIGURE_ARGS+=--with-regex=system .endif .if !defined(WITH_ZEND_VM) || ${WITH_ZEND_VM} == "CALL" CONFIGURE_ARGS+=--with-zend-vm=CALL .elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "SWITCH" CONFIGURE_ARGS+=--with-zend-vm=SWITCH .elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "GOTO" CONFIGURE_ARGS+=--with-zend-vm=GOTO .endif CONFIGURE_ENV+= ac_cv_decimal_fp_supported="no" \ lt_cv_path_SED="sed" .if ${PORT_OPTIONS:MLINKTHR} LIBS+= -lpthread .endif .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-debug .endif .if ${PORT_OPTIONS:MZTS} CONFIGURE_ARGS+=--enable-maintainer-zts CONFIGURE_ENV+= pthreads_working="yes" USES= localhost .endif .if ${PORT_OPTIONS:MDTRACE} CONFIGURE_ARGS+=--enable-dtrace PLIST_SUB+= DTRACE="" .else PLIST_SUB+= DTRACE="@comment " .endif .if empty(PORT_OPTIONS:MIPV6) CONFIGURE_ARGS+=--disable-ipv6 .endif post-patch: @${TOUCH} ${WRKSRC}/ext/php_config.h @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* .if ${PORT_OPTIONS:MFPM} @${REINPLACE_CMD} -e "s|^;\(pid\)|\1|;s|^;\(pm\.[a-z_]*_servers\)|\1|" \ ${WRKSRC}/sapi/fpm/php-fpm.conf.in .endif # Work around issues with newer (>=2.64) autoconf pre-configure: @${REINPLACE_CMD} -E 's:^((m4_)?divert)[(]([0-9]*)[)]:\1(600\3):' \ ${WRKSRC}/configure.in `${FIND} ${WRKSRC} -name '*.m4'` @${RM} ${WRKSRC}/configure @${CAT} ${WRKSRC}/acinclude.m4 ${WRKSRC}/build/libtool.m4 > ${WRKSRC}/aclocal.m4 .if !defined(PKGNAMEPREFIX) post-build: @${ECHO_CMD} "PHP_VER=70" > ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_VERSION=${PORTVERSION}" >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_SAPI=${PHP_SAPI}" >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_EXT_INC=pcre spl" >> ${WRKDIR}/php.conf @${ECHO_CMD} -n "PHP_EXT_DIR=" >> ${WRKDIR}/php.conf @${SH} ${WRKSRC}/scripts/php-config --extension-dir | sed -ne 's,^${PREFIX}/lib/php/,,p' >> ${WRKDIR}/php.conf test: build @(cd ${WRKSRC} && ${MAKE} test) post-install: @${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-production \ ${WRKDIR}/php.conf ${STAGEDIR}/${PREFIX}/etc .else do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${INSTALL_LIB} ${WRKSRC}/libs/${MODULENAME}.so \ ${STAGEDIR}${PREFIX}/${APACHEMODDIR} .endif .else .include "${MASTERDIR}/Makefile.ext" .endif .include Index: head/lang/php70/Makefile.ext =================================================================== --- head/lang/php70/Makefile.ext (revision 417718) +++ head/lang/php70/Makefile.ext (revision 417719) @@ -1,581 +1,567 @@ COMMENT= The ${PHP_MODNAME} shared extension for php -USE_PHP= yes -USE_PHPEXT= yes +USES+= php:ext PHP_MODNAME= ${PKGNAMESUFFIX:S/-//} PHP_DEFAULT= 7.0 IGNORE_WITH_PHP= 55 56 EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME} WRKSRC= ${WRKDIR}/${EXTSUBDIR} PATCHDIR= ${.CURDIR}/files PLIST= ${NONEXISTENT} EXTRACT_AFTER_ARGS?= ${EXTSUBDIR} .if ${PHP_MODNAME} == "bcmath" CONFIGURE_ARGS+=--enable-bcmath PHP_HEADER_DIRS=libbcmath libbcmath/src .endif .if ${PHP_MODNAME} == "bz2" CONFIGURE_ARGS+=--with-bz2=/usr .endif .if ${PHP_MODNAME} == "calendar" CONFIGURE_ARGS+=--enable-calendar .endif .if ${PHP_MODNAME} == "ctype" CONFIGURE_ARGS+=--enable-ctype .endif .if ${PHP_MODNAME} == "curl" LIB_DEPENDS+= libcurl.so:ftp/curl CONFIGURE_ARGS+=--with-curl=${LOCALBASE} .endif .if ${PHP_MODNAME} == "dba" CONFIGURE_ARGS+=--enable-dba OPTIONS_DEFINE= CDB DB4 GDBM QDBM TOKYO INIFILE FLATFILE OPTIONS_DEFAULT=CDB INIFILE FLATFILE CDB_DESC= cdb database support DB4_DESC= Berkeley DB4 support GDBM_DESC= GDBM database support QDBM_DESC= QDBM database support TOKYO_DESC= Tokyo Cabinet database support INIFILE_DESC= INI file support FLATFILE_DESC= flatfile support PHP_HEADER_DIRS= libcdb libflatfile libinifile .endif .if ${PHP_MODNAME} == "dom" CONFIGURE_ARGS+=--enable-dom \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "exif" CONFIGURE_ARGS+=--enable-exif .endif .if ${PHP_MODNAME} == "fileinfo" CONFIGURE_ARGS+=--enable-fileinfo \ --with-pcre-dir=${LOCALBASE} PHP_HEADER_DIRS= libmagic .endif .if ${PHP_MODNAME} == "filter" CONFIGURE_ARGS+=--enable-filter \ --with-pcre-dir=${LOCALBASE} .endif .if ${PHP_MODNAME} == "ftp" CONFIGURE_ARGS+=--enable-ftp \ --with-openssl-dir=${OPENSSLBASE} LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "gd" LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpng.so:graphics/png USES+= jpeg CONFIGURE_ARGS+=--with-gd \ --with-freetype-dir=${LOCALBASE} \ --with-jpeg-dir=${LOCALBASE} \ --with-png-dir=${LOCALBASE} \ --with-zlib-dir=/usr OPTIONS_DEFINE= T1LIB TRUETYPE JIS X11 VPX OPTIONS_DEFAULT=T1LIB TRUETYPE X11 T1LIB_DESC= Include T1lib support TRUETYPE_DESC= Enable TrueType string function JIS_DESC= Enable JIS-mapped Japanese font support X11_DESC= Enable XPM support VPX_DESC= Enable VP8 codec support PHP_HEADER_DIRS=libgd .endif .if ${PHP_MODNAME} == "gettext" CONFIGURE_ARGS+=--with-gettext=${LOCALBASE} USES+= gettext .endif .if ${PHP_MODNAME} == "gmp" LIB_DEPENDS+= libgmp.so:math/gmp CONFIGURE_ARGS+=--with-gmp=${LOCALBASE} .endif .if ${PHP_MODNAME} == "hash" CONFIGURE_ARGS+=--enable-hash \ --with-mhash .endif .if ${PHP_MODNAME} == "iconv" CONFIGURE_ARGS+=--with-iconv=${LOCALBASE} USES+= iconv:translit .endif .if ${PHP_MODNAME} == "imap" OPTIONS_DEFINE= PANDA PANDA_DESC= Uses the forked panda-cclient instead of the original cclient CONFIGURE_ARGS+=--with-imap=${LOCALBASE} \ --with-pcre-dir=${LOCALBASE} \ --with-imap-ssl=${OPENSSLBASE} LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "interbase" CONFIGURE_ARGS+=--with-interbase=${LOCALBASE} USES+= firebird .endif .if ${PHP_MODNAME} == "intl" CONFIGURE_ARGS+=--with-intl=${LOCALBASE} LIB_DEPENDS= libicui18n.so:devel/icu .endif .if ${PHP_MODNAME} == "json" CONFIGURE_ARGS+=--enable-json .endif .if ${PHP_MODNAME} == "ldap" CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} USE_OPENLDAP= yes . ifdef(WANT_OPENLDAP_SASL) CONFIGURE_ARGS+=--with-ldap-sasl=${LOCALBASE} . endif .endif .if ${PHP_MODNAME} == "mbstring" CONFIGURE_ARGS+=--enable-mbstring \ --with-pcre-dir=${LOCALBASE} OPTIONS_DEFINE= REGEX OPTIONS_DEFAULT=REGEX REGEX_DESC= Enable multibyte regex support PHP_HEADER_DIRS=libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls .endif .if ${PHP_MODNAME} == "mcrypt" LIB_DEPENDS+= libltdl.so:devel/libltdl \ libmcrypt.so:security/libmcrypt CONFIGURE_ARGS+=--with-mcrypt=${LOCALBASE} .endif .if ${PHP_MODNAME} == "mysqli" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT=MYSQLND MYSQLND_DESC= Use MySQL Native Driver .endif .if ${PHP_MODNAME} == "odbc" LIB_DEPENDS+= libodbc.so:databases/unixODBC CONFIGURE_ARGS+=--enable-odbc \ --with-unixODBC=${LOCALBASE} .endif .if ${PHP_MODNAME} == "openssl" CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "opcache" CONFIGURE_ARGS+=--enable-opcache USES+= localbase .endif .if ${PHP_MODNAME} == "pcntl" CONFIGURE_ARGS+=--enable-pcntl .endif .if ${PHP_MODNAME} == "pdo" CONFIGURE_ARGS+=--enable-pdo .endif .if ${PHP_MODNAME} == "pdo_dblib" CONFIGURE_ARGS+=--with-pdo-dblib=${LOCALBASE} -USE_PHP= pdo -USE_PHP_BUILD= yes +USE_PHP= pdo:build OPTIONS_DEFINE= MSSQL MSSQL_DESC= Enable Microsoft SQL Server support .endif .if ${PHP_MODNAME} == "pdo_firebird" CONFIGURE_ARGS+=--with-pdo-firebird=${LOCALBASE} USES+= firebird -USE_PHP= pdo -USE_PHP_BUILD= yes +USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_odbc" LIB_DEPENDS+= libodbc.so:databases/unixODBC CONFIGURE_ARGS+=--with-pdo-odbc=unixODBC,${LOCALBASE} -USE_PHP= pdo -USE_PHP_BUILD= yes +USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_mysql" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT=MYSQLND MYSQLND_DESC= Use MySQL Native Driver -USE_PHP= pdo -USE_PHP_BUILD= yes +USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_pgsql" USES+= pgsql CONFIGURE_ARGS+=--with-pdo-pgsql=${LOCALBASE} -USE_PHP= pdo -USE_PHP_BUILD= yes +USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_sqlite" USES+= sqlite CONFIGURE_ARGS+=--with-pdo-sqlite=${LOCALBASE} -USE_PHP= pdo -USE_PHP_BUILD= yes +USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pgsql" USES+= pgsql CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE} .endif .if ${PHP_MODNAME} == "phar" CONFIGURE_ARGS+=--enable-phar \ --with-pcre-dir=${LOCALBASE} -USE_PHP= hash -USE_PHP_BUILD= yes +USE_PHP= hash:build .endif .if ${PHP_MODNAME} == "posix" CONFIGURE_ARGS+=--enable-posix .endif .if ${PHP_MODNAME} == "pspell" LIB_DEPENDS+= libaspell.so:textproc/aspell CONFIGURE_ARGS+=--with-pspell=${LOCALBASE} # Ugly hack to load session before psell to avoid crashes -USE_PHP= session -USE_PHP_BUILD= yes +USE_PHP= session:build .endif .if ${PHP_MODNAME} == "readline" CONFIGURE_ARGS+=--with-readline=/usr USES+= readline .endif .if ${PHP_MODNAME} == "recode" LIB_DEPENDS+= librecode.so:converters/recode CONFIGURE_ARGS+=--with-recode=${LOCALBASE} .endif .if ${PHP_MODNAME} == "session" CONFIGURE_ARGS+=--enable-session .endif .if ${PHP_MODNAME} == "shmop" CONFIGURE_ARGS+=--enable-shmop .endif .if ${PHP_MODNAME} == "simplexml" CONFIGURE_ARGS+=--enable-simplexml \ --with-pcre-dir=${LOCALBASE} \ --with-libxml-dir=${LOCALBASE} USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "snmp" CONFIGURE_ARGS+=--with-snmp=${LOCALBASE} \ --with-openssl-dir=${OPENSSLBASE} CONFIGURE_ENV+= ac_cv_buggy_snprint_value="no" LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USE_OPENSSL= yes .endif .if ${PHP_MODNAME} == "soap" CONFIGURE_ARGS+=--enable-soap \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 -USE_PHP= session -USE_PHP_BUILD= yes +USE_PHP= session:build .endif .if ${PHP_MODNAME} == "sockets" CONFIGURE_ARGS+=--enable-sockets .endif .if ${PHP_MODNAME} == "sqlite3" USES+= sqlite CONFIGURE_ARGS+=--with-sqlite3=${LOCALBASE} .endif .if ${PHP_MODNAME} == "sybase_ct" LIB_DEPENDS+= libct.so:databases/freetds CONFIGURE_ARGS+=--with-sybase-ct=${LOCALBASE} .endif .if ${PHP_MODNAME} == "sysvmsg" CONFIGURE_ARGS+=--enable-sysvmsg .endif .if ${PHP_MODNAME} == "sysvsem" CONFIGURE_ARGS+=--enable-sysvsem .endif .if ${PHP_MODNAME} == "sysvshm" CONFIGURE_ARGS+=--enable-sysvshm .endif .if ${PHP_MODNAME} == "tidy" CONFIGURE_ARGS+=--with-tidy=${LOCALBASE} LIB_DEPENDS+= libtidy.so:www/tidy-lib .endif .if ${PHP_MODNAME} == "tokenizer" CONFIGURE_ARGS+=--enable-tokenizer .endif .if ${PHP_MODNAME} == "wddx" CONFIGURE_ARGS+=--enable-wddx \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 -USE_PHP= xml session -USE_PHP_BUILD= yes +USE_PHP= xml:build session:build .endif .if ${PHP_MODNAME} == "xml" CONFIGURE_ARGS+=--enable-xml \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xmlreader" CONFIGURE_ARGS+=--enable-xmlreader \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 -USE_PHP= dom -USE_PHP_BUILD= yes +USE_PHP= dom:build .endif .if ${PHP_MODNAME} == "xmlrpc" CONFIGURE_ARGS+=--with-xmlrpc \ --with-libxml-dir=${LOCALBASE} \ --with-iconv-dir=${LOCALBASE} USES+= iconv:translit USE_GNOME= libxml2 PHP_HEADER_DIRS=libxmlrpc -USE_PHP= xml -USE_PHP_BUILD= yes +USE_PHP= xml:build .endif .if ${PHP_MODNAME} == "xmlwriter" CONFIGURE_ARGS+=--enable-xmlwriter \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xsl" CONFIGURE_ARGS+=--with-xsl=${LOCALBASE} USE_GNOME= libxslt -USE_PHP= dom xml -USE_PHP_BUILD= yes +USE_PHP= dom:build xml:build .endif .if ${PHP_MODNAME} == "zip" LIB_DEPENDS+= libzip.so:archivers/libzip CONFIGURE_ARGS+=--enable-zip \ --with-zlib-dir=/usr \ --with-pcre-dir=${LOCALBASE} \ --with-libzip=${LOCALBASE} .endif .if ${PHP_MODNAME} == "zlib" CONFIGURE_ARGS+=--with-zlib=/usr .endif .include .if ${PHP_MODNAME} == "dba" . if empty(PORT_OPTIONS:MCDB) CONFIGURE_ARGS+=--without-cdb . endif . if ${PORT_OPTIONS:MDB4} CONFIGURE_ARGS+=--with-db4=${LOCALBASE} USE_BDB= 40+ WITH_BDB_HIGHEST= yes . endif . if ${PORT_OPTIONS:MGDBM} LIB_DEPENDS+= libgdbm.so:databases/gdbm CONFIGURE_ARGS+=--with-gdbm=${LOCALBASE} . endif . if ${PORT_OPTIONS:MQDBM} LIB_DEPENDS+= libqdbm.so:databases/qdbm CONFIGURE_ARGS+=--with-qdbm=${LOCALBASE} . endif . if ${PORT_OPTIONS:MTOKYO} LIB_DEPENDS+= libtokyocabinet.so:databases/tokyocabinet CONFIGURE_ARGS+=--with-tcadb=${LOCALBASE} . endif . if empty(PORT_OPTIONS:MINIFILE) CONFIGURE_ARGS+=--disable-inifile . endif . if empty(PORT_OPTIONS:MFLATFILE) CONFIGURE_ARGS+=--disable-flatfile . endif .endif .if ${PHP_MODNAME} == "mysqli" . if ${PORT_OPTIONS:MMYSQLND} CONFIGURE_ARGS+=--with-mysqli=mysqlnd . else CONFIGURE_ARGS+=--with-mysqli=${LOCALBASE}/bin/mysql_config USES+= mysql . endif .endif .if ${PHP_MODNAME} == "pdo_mysql" . if ${PORT_OPTIONS:MMYSQLND} CONFIGURE_ARGS+=--with-pdo-mysql=mysqlnd . else CONFIGURE_ARGS+=--with-pdo-mysql=${LOCALBASE} \ --with-zlib-dir=/usr USES+= mysql . endif .endif .include .if ${PHP_MODNAME} == "gd" . if ${PORT_OPTIONS:MT1LIB} LIB_DEPENDS+= libt1.so:devel/t1lib CONFIGURE_ARGS+=--with-t1lib=${LOCALBASE} . endif . if ${PORT_OPTIONS:MTRUETYPE} CONFIGURE_ARGS+=--enable-gd-native-ttf . endif . if ${PORT_OPTIONS:MJIS} CONFIGURE_ARGS+=--enable-gd-jis-conv . endif . if ${PORT_OPTIONS:MX11} USE_XORG= xpm CONFIGURE_ARGS+=--with-xpm-dir=${LOCALBASE} . endif . if ${PORT_OPTIONS:MVPX} LIB_DEPENDS+= libvpx.so:multimedia/libvpx CONFIGURE_ARGS+=--with-vpx-dir=${LOCALBASE} . endif .endif .if ${PHP_MODNAME} == "imap" . if ${PORT_OPTIONS:MPANDA} LIB_DEPENDS+= libc-client4.so.10:mail/panda-cclient . else LIB_DEPENDS+= libc-client4.so.9:mail/cclient . endif .endif .if ${PHP_MODNAME} == "mbstring" . if ${PORT_OPTIONS:MREGEX} LIB_DEPENDS+= libonig.so:devel/oniguruma5 CONFIGURE_ARGS+=--with-onig=${LOCALBASE} . else CONFIGURE_ARGS+=--disable-mbregex . endif .endif .if ${PHP_MODNAME} == "openssl" || ${PHP_MODNAME} == "sqlite3" post-extract: @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 .endif .if ${PHP_MODNAME} == "pdo_dblib" . if ${PORT_OPTIONS:MMSSQL} LIB_DEPENDS+= libsybdb.so:databases/freetds . else LIB_DEPENDS+= libct.so:databases/freetds . endif .endif .if ${PHP_MODNAME} == "xml" post-extract: @${MKDIR} ${WRKSRC}/ext/xml @${CP} ${WRKSRC}/expat_compat.h ${WRKSRC}/ext/xml .endif .if ${PHP_MODNAME} == "zlib" post-extract: @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 .endif Index: head/lang/php70-extensions/Makefile =================================================================== --- head/lang/php70-extensions/Makefile (revision 417718) +++ head/lang/php70-extensions/Makefile (revision 417719) @@ -1,120 +1,118 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= php70 PORTVERSION= 1.1 CATEGORIES= lang PKGNAMESUFFIX= -extensions MAINTAINER= miwi@FreeBSD.org COMMENT= "meta-port" to install PHP extensions -USES= metaport -USE_PHP= yes +USES= metaport php PHP_DEFAULT= 7.0 IGNORE_WITH_PHP= 55 56 -USE_PHP_BUILD= yes OPTIONS_DEFINE= BCMATH BZ2 CALENDAR CTYPE CURL DBA \ DOM EXIF FILEINFO FILTER FTP GD GETTEXT \ GMP HASH ICONV INTL IMAP INTERBASE JSON LDAP MBSTRING MCRYPT \ MYSQLI \ ODBC OPCACHE OPENSSL PCNTL PDF PDO PDO_DBLIB PDO_FIREBIRD \ PDO_MYSQL PDO_ODBC PDO_PGSQL PDO_SQLITE PGSQL PHAR POSIX \ PSPELL READLINE RECODE SESSION SHMOP SIMPLEXML SNMP SOAP \ SOCKETS SQLITE3 SYBASE_CT SYSVMSG SYSVSEM SYSVSHM \ TIDY TOKENIZER WDDX XML XMLREADER XMLRPC XMLWRITER XSL \ ZIP ZLIB BCMATH_DESC= bc style precision math functions BZ2_DESC= bzip2 library support CALENDAR_DESC= calendar conversion support CTYPE_DESC= ctype functions CURL_DESC= CURL support DBA_DESC= dba support DOM_DESC= DOM support EXIF_DESC= EXIF support FILEINFO_DESC= fileinfo support FILTER_DESC= input filter support FTP_DESC= FTP support GD_DESC= GD library support GETTEXT_DESC= gettext library support GMP_DESC= GNU MP support HASH_DESC= HASH Message Digest Framework ICONV_DESC= iconv support IMAP_DESC= IMAP support INTL_DESC= Internationalization(ICU) INTERBASE_DESC= Interbase 6 database support (Firebird) JSON_DESC= JavaScript Object Serialization support LDAP_DESC= OpenLDAP support MBSTRING_DESC= multibyte string support MCRYPT_DESC= Encryption support MYSQLI_DESC= MySQLi database support ODBC_DESC= ODBC support OPCACHE_DESC= OPcache support OPENSSL_DESC= OpenSSL support PCNTL_DESC= pcntl support (CLI only) PDF_DESC= PDFlib support (implies GD) PDO_DESC= PHP Data Objects Interface (PDO) PDO_DBLIB_DESC= PDO DBLIB-DB driver PDO_FIREBIRD_DESC= PDO Firebird driver PDO_MYSQL_DESC= PDO MySQL driver PDO_ODBC_DESC= PDO ODBC driver PDO_PGSQL_DESC= PDO PostgreSQL driver PDO_SQLITE_DESC= PDO sqlite driver PGSQL_DESC= PostgreSQL database support PHAR_DESC= phar support POSIX_DESC= POSIX-like functions PSPELL_DESC= pspell support READLINE_DESC= readline support (CLI only) RECODE_DESC= recode support SESSION_DESC= session support SHMOP_DESC= shmop support SIMPLEXML_DESC= simplexml support SNMP_DESC= SNMP support SOAP_DESC= SOAP support SOCKETS_DESC= sockets support SQLITE3_DESC= sqlite3 support SYBASE_CT_DESC= Sybase database support SYSVMSG_DESC= System V message support SYSVSEM_DESC= System V semaphore support SYSVSHM_DESC= System V shared memory support TIDY_DESC= TIDY support TOKENIZER_DESC= tokenizer support WDDX_DESC= WDDX support (implies XML) XML_DESC= XML support XMLREADER_DESC= XMLReader support XMLRPC_DESC= XMLRPC-EPI support XMLWRITER_DESC= XMLWriter support XSL_DESC= XSL support (Implies DOM) ZIP_DESC= ZIP support ZLIB_DESC= ZLIB support OPTIONS_DEFAULT= CTYPE \ DOM \ FILTER \ HASH \ ICONV \ JSON \ OPCACHE \ PDO \ PDO_SQLITE \ PHAR \ POSIX \ SESSION \ SIMPLEXML \ SQLITE3 \ TOKENIZER \ XML \ XMLREADER \ XMLWRITER .include .for opt in ${OPTIONS_DEFINE} . if ${PORT_OPTIONS:M${opt}} USE_PHP+= ${opt:tl} . endif .endfor .include Index: head/lang/php_doc/Makefile =================================================================== --- head/lang/php_doc/Makefile (revision 417718) +++ head/lang/php_doc/Makefile (revision 417719) @@ -1,96 +1,95 @@ # Created by: Dirk Froemberg # $FreeBSD$ PORTNAME= php_doc PORTVERSION?= 20131017 PORTREVISION= 2 CATEGORIES?= lang MASTER_SITES= http://www.mavetju.org/download/adopted/ DISTNAME= php_manual_${PHP_LANG}-${PORTVERSION} MAINTAINER= edwin@mavetju.org COMMENT?= PHP documentation in HTML NO_BUILD= yes NO_ARCH= yes NO_WRKSUBDIR= yes SLAVEDIRS= french/php_doc \ german/php_doc \ japanese/php_doc \ polish/php_doc -USE_PHPIZE= yes PHP_LANG?= en PHP_LANGS?= ${PHP_HTML_CHUNKED} ${PHP_HTML_NORMAL} PHP_HTML_CHUNKED= br de en fr ja pl ro tr PHPDOCDIR= ${PREFIX}/share/doc/php-${PHP_LANG}/ PLIST= ${WRKDIR}/pkg-plist .for lang in ${PHP_HTML_NORMAL} .if ${PHP_LANG} == ${lang} WRK_SRC= ${WRKSRC}/html/ .endif .endfor .for lang in ${PHP_HTML_CHUNKED} .if ${PHP_LANG} == ${lang} WRK_SRC= ${WRKSRC}/php-chunked-xhtml/ .endif .endfor PKGNAMESUFFIX= -${PHP_LANG} PLIST_SUB= PHPDOCDIR=${PHPDOCDIR:S/^${PREFIX}\///} .if ${PHP_LANG} == en pre-fetch: @${ECHO} @${ECHO} "You may set PHP_LANG to" @${ECHO} " br (brazillian), de (german)," @${ECHO} " en (english), fr (french), ja (japanese)," @${ECHO} " pl (polish), ro (romian)," @${ECHO} " tr (turkey)" @${ECHO} "to get a different language than the default one (english)." @${ECHO} .endif pre-install: ${FIND} ${WRK_SRC} -type f ! -name '.*' ! -name pkg-plist | ${SED} -e "s,${WRK_SRC},%%PHPDOCDIR%%," > ${PLIST} do-install: @[ -d "${WRK_SRC}" ] # ensure dir exists, else we can silently get an empty package @${MKDIR} ${STAGEDIR}${PHPDOCDIR} ${FIND} ${WRK_SRC} -type d | ${SED} -e "s,${WRK_SRC},${STAGEDIR}${PHPDOCDIR}/," | ${XARGS} ${MKDIR} for f in `${FIND} ${WRK_SRC} -type f ! -name '.*' ! -name pkg-plist | ${SED} -e 's,${WRK_SRC},,'`; do \ ${INSTALL_DATA} ${WRK_SRC}/$$f ${STAGEDIR}${PHPDOCDIR}/$$f; \ done # this is for the maintainer only # # php_manual_fr.html.gz # # Download the files from http://au.php.net/distributions/manual/ # makesum: @> ${DISTINFO_FILE} .for l in ${PHP_LANGS} @f=php_manual_${l}-${PORTVERSION}${EXTRACT_SUFX}; \ ${ECHO_CMD} makesum on $${f}; \ cd ${DISTDIR}; \ ${SHA256} $${f} >> ${DISTINFO_FILE}; \ ${ECHO_CMD} "SIZE ($${f}) = "`${LS} -ALln $${f} | ${AWK} '{print $$5}'` >> ${DISTINFO_FILE} .endfor fetchdist: .for l in ${PHP_LANGS:S/br/pt_BR/} fetch -mv http://au2.php.net/distributions/manual/php_manual_${l}.tar.gz .endfor .for l in ${PHP_LANGS:S/br/pt_BR/} if [ "${l}" = "pt_BR" ]; then \ ${MV} php_manual_${l}.tar.gz ${DISTDIR}/php_manual_br-${PORTVERSION}.tar.gz; \ else \ ${MV} php_manual_${l}.tar.gz ${DISTDIR}/php_manual_${l}-${PORTVERSION}.tar.gz; \ fi .endfor .include Index: head/mail/mlmmj/Makefile =================================================================== --- head/mail/mlmmj/Makefile (revision 417718) +++ head/mail/mlmmj/Makefile (revision 417719) @@ -1,50 +1,49 @@ # Created by: Christian Laursen # $FreeBSD$ PORTNAME= mlmmj PORTVERSION= 1.2.19.0 CATEGORIES= mail MASTER_SITES= http://mlmmj.org/releases/ MAINTAINER= ports@FreeBSD.org COMMENT= Simple and slim mailing list manager LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe gmake iconv shebangfix tar:bzip2 SHEBANG_FILES= contrib/web/perl-user/mlmmj.cgi GNU_CONFIGURE= yes CPPFLAGS+= -I${ICONV_INCLUDE_PATH} LDFLAGS+= ${ICONV_LIB_PATH} OPTIONS_DEFINE= DOCS PERL PHP OPTIONS_SUB= yes PERL_RUN_DEPENDS= p5-URI>0:net/p5-URI \ p5-CGI-FastTemplate>0:www/p5-CGI-FastTemplate \ p5-HTML-Parser>0:www/p5-HTML-Parser -PHP_USE= php=yes -PHP_VERS= WANT_PHP_WEB=yes +PHP_USES= php:web post-patch: @${REINPLACE_CMD} -e \ '/^AM_CFLAGS/s|-g ||' ${WRKSRC}/src/Makefile.in post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} \ ChangeLog FAQ README* TODO TUNABLES UPGRADE \ ${STAGEDIR}${DOCSDIR}) post-install-PERL-on: @(cd ${WRKSRC}/contrib/web && ${COPYTREE_SHARE} "perl-*" \ ${STAGEDIR}${WWWDIR}) @${CHMOD} ${BINMODE} ${STAGEDIR}${WWWDIR}/perl-user/mlmmj.cgi post-install-PHP-on: @(cd ${WRKSRC}/contrib/web && ${COPYTREE_SHARE} "php-*" \ ${STAGEDIR}${WWWDIR}) .include Index: head/mail/pecl-esmtp/Makefile =================================================================== --- head/mail/pecl-esmtp/Makefile (revision 417718) +++ head/mail/pecl-esmtp/Makefile (revision 417719) @@ -1,37 +1,35 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= esmtp PORTVERSION= 0.3.1 PORTREVISION= 2 CATEGORIES= mail www MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PECL ESMTP client extension LICENSE= PHP30 LIB_DEPENDS= libesmtp.so:mail/libesmtp -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 56 70 OPTIONS_DEFINE= RE2C OPTIONS_DEFAULT= RE2C RE2C_DESC= Use re2c to regenerate PHP parsers .include .if ${PORT_OPTIONS:MRE2C} BUILD_DEPENDS+= re2c:devel/re2c .endif post-patch: @${REINPLACE_CMD} -e '29,34 d; 45,50 d' ${WRKSRC}/config.m4 .include Index: head/mail/pecl-mailparse/Makefile =================================================================== --- head/mail/pecl-mailparse/Makefile (revision 417718) +++ head/mail/pecl-mailparse/Makefile (revision 417719) @@ -1,26 +1,22 @@ # Created by: Thierry Thomas () # $FreeBSD$ PORTNAME= mailparse PORTVERSION= 2.1.6 CATEGORIES= mail www MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PECL extension to create and decode MIME messages LICENSE= PHP202 BROKEN_powerpc64= Does not build -USES= tar:tgz -USE_PHP= mbstring -USE_PHPIZE= yes -USE_PHP_BUILD= yes -USE_PHPEXT= yes -PHP_MODNAME= mailparse +USES= php:ext tar:tgz +USE_PHP= mbstring:build IGNORE_WITH_PHP= 70 .include Index: head/mail/pecl-pop3/Makefile =================================================================== --- head/mail/pecl-pop3/Makefile (revision 417718) +++ head/mail/pecl-pop3/Makefile (revision 417719) @@ -1,22 +1,18 @@ # Created by: buganini@gmail.com # $FreeBSD$ PORTNAME= pop3 PORTVERSION= 1.0.2 CATEGORIES= mail MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= buganini@gmail.com COMMENT= POP3 Client Library for PHP -USE_PHP= yes -USE_PHPIZE= yes -USE_PHP_BUILD= yes -USE_PHPEXT= yes -PHP_MODNAME= pop3 +USES= php:ext IGNORE_WITH_PHP= 70 .include Index: head/mail/phpmailer/Makefile =================================================================== --- head/mail/phpmailer/Makefile (revision 417718) +++ head/mail/phpmailer/Makefile (revision 417719) @@ -1,50 +1,49 @@ # Created by: Zhen REN # $FreeBSD$ PORTNAME= phpmailer PORTVERSION= 5.2.14 DISTVERSIONPREFIX= v CATEGORIES= mail MAINTAINER= tz@FreeBSD.org COMMENT= Full Featured Email Transfer Class for PHP LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= PHPMailer GH_PROJECT= PHPMailer NO_BUILD= yes NO_ARCH= yes -USE_PHP= yes -USES= dos2unix +USES= dos2unix php SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS EXAMPLES do-install: @${MKDIR} ${STAGEDIR}${DATADIR} .for f in PHPMailerAutoload.php class.phpmailer.php class.pop3.php \ class.smtp.php composer.json ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR} .endfor .for d in extras language test @${MKDIR} ${STAGEDIR}${DATADIR}/$d ${INSTALL_DATA} ${WRKSRC}/$d/* ${STAGEDIR}${DATADIR}/$d .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in changelog.md README.md LICENSE ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR} .endfor @cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include Index: head/math/pecl-big_int/Makefile =================================================================== --- head/math/pecl-big_int/Makefile (revision 417718) +++ head/math/pecl-big_int/Makefile (revision 417719) @@ -1,37 +1,35 @@ # Created by: Antonio Carlos Venancio Junior () # $FreeBSD$ PORTNAME= big_int PORTVERSION= 1.0.7 CATEGORIES= math devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= Functions for calculations with arbitrary length integers and bitsets -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 DOCS= CREDITS INSTALL LICENSE README docs/index.html libbig_int/CREDITS \ libbig_int/LICENSE EXAMPLES= bitset.php example.php rand.php RSA.php std_header.php CONFIGURE_ARGS= --enable-big-int=shared OPTIONS_DEFINE= DOCS EXAMPLES post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} . for doc in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} . endfor . for test in ${STAGEDIR}${EXAMPLES} ${INSTALL_DATA} ${WRKSRC}/tests/${test} ${STAGEDIR}${EXAMPLESDIR} . endfor .include Index: head/math/pecl-bitset/Makefile =================================================================== --- head/math/pecl-bitset/Makefile (revision 417718) +++ head/math/pecl-bitset/Makefile (revision 417719) @@ -1,22 +1,20 @@ # Created by: Greg Larkin # $FreeBSD$ PORTNAME= bitset PORTVERSION= 3.0.0 CATEGORIES= math MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= sunpoet@FreeBSD.org COMMENT= PECL extension for manipulating bitsets LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE IGNORE_WITH_PHP=55 56 -USE_PHP= yes -USE_PHPEXT= yes -USES= tar:tgz +USES= php:ext tar:tgz .include Index: head/math/pecl-bitset2/Makefile =================================================================== --- head/math/pecl-bitset2/Makefile (revision 417718) +++ head/math/pecl-bitset2/Makefile (revision 417719) @@ -1,25 +1,23 @@ # Created by: Greg Larkin # $FreeBSD$ PORTNAME= bitset PORTVERSION= 2.0.3 CATEGORIES= math MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- PKGNAMESUFFIX= 2 DIST_SUBDIR= PECL MAINTAINER= sunpoet@FreeBSD.org COMMENT= PECL extension for manipulating bitsets LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE PORTSCOUT= limit:^2\. IGNORE_WITH_PHP=70 -USE_PHP= yes -USE_PHPEXT= yes -USES= tar:tgz +USES= php:ext tar:tgz .include Index: head/math/pecl-stats/Makefile =================================================================== --- head/math/pecl-stats/Makefile (revision 417718) +++ head/math/pecl-stats/Makefile (revision 417719) @@ -1,21 +1,19 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= stats PORTVERSION= 1.0.3 CATEGORIES= math textproc pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PECL extension which with routines for statistical computation LICENSE= PHP30 -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/math/pecl-trader/Makefile =================================================================== --- head/math/pecl-trader/Makefile (revision 417718) +++ head/math/pecl-trader/Makefile (revision 417719) @@ -1,21 +1,20 @@ # Created by: Jim Ohlstein # $FreeBSD$ PORTNAME= trader PORTVERSION= 0.3.0 CATEGORIES= math devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= jim@ohlste.in COMMENT= Trader extension based on TA-Lib LICENSE= BSD2CLAUSE -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 70 .include Index: head/math/rkward-kde4/Makefile =================================================================== --- head/math/rkward-kde4/Makefile (revision 417718) +++ head/math/rkward-kde4/Makefile (revision 417719) @@ -1,86 +1,84 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= rkward PORTVERSION= 0.6.5 CATEGORIES= math MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src PKGNAMESUFFIX= -kde4 MAINTAINER= thierry@FreeBSD.org COMMENT= IDE/GUI for the R-project LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/bin/R:math/R LIB_DEPENDS= libsoprano.so:textproc/soprano RUN_DEPENDS= ${LOCALBASE}/bin/R:math/R \ ${KDE4_PREFIX}/lib/kde4/katepart.so:editors/kate USE_QT4= corelib dbus gui qmake_build moc_build network phonon rcc_build \ script svg uic_build webkit xml USE_XORG= x11 USE_KDE4= automoc4 kdelibs -USE_PHP= yes -WANT_PHP_CLI= yes -USES= cmake gettext fortran shared-mime-info +USES= cmake gettext fortran php:cli shared-mime-info INSTALLS_ICONS= yes CFLAGS+= -I${LOCALBASE}/include DOCSDIR= ${PREFIX}/share/doc/HTML/en/rkward OPTIONS_DEFINE= RECDEP DOCS NLS RECDEP_DESC= Recommended runtime dependencies OPTIONS_DEFAULT=RECDEP .include .if ${PORT_OPTIONS:MNLS} NLS= "" .else NLS= "@comment " .endif PLIST_SUB+= NLS=${NLS} .if ${PORT_OPTIONS:MRECDEP} LR_MOD_DIR= ${LOCALBASE}/lib/R/library RUN_DEPENDS+= ${LR_MOD_DIR}/R2HTML/INDEX:textproc/R-cran-R2HTML \ ${LR_MOD_DIR}/XML/INDEX:textproc/R-cran-XML \ ${LR_MOD_DIR}/gdata/INDEX:devel/R-cran-gdata \ ${LR_MOD_DIR}/mvtnorm/INDEX:math/R-cran-mvtnorm \ ${LR_MOD_DIR}/outliers/INDEX:math/R-cran-outliers \ ${LR_MOD_DIR}/tseries/INDEX:finance/R-cran-tseries \ ${LR_MOD_DIR}/car/INDEX:math/R-cran-car .endif pre-configure: ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ ${WRKSRC}/rkward/rbackend/rkfrontendtransmitter.cpp .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e 's|ADD_SUBDIRECTORY(doc)|#ADD_SUBDIRECTORY(doc)|' \ ${WRKSRC}/CMakeLists.txt .else #Fix build with kdelibs>=4.5.0 ${REINPLACE_CMD} -e 's,V4.1-Based Variant V1.0,V4.2-Based Variant V1.1,g' \ ${WRKSRC}/doc/rkward/index.docbook .endif .if ! ${PORT_OPTIONS:MNLS} ${REINPLACE_CMD} -e 's|ADD_SUBDIRECTORY(po)|#ADD_SUBDIRECTORY(po)|' \ ${WRKSRC}/CMakeLists.txt .endif @(if [ ! -e ${LOCALBASE}/lib/R/lib/libR.so ] ; then \ ${ECHO_MSG} "==> ${PKGNAME} requires math/R to be built WITH_LIBR" ; \ exit 1; fi) post-install: ${RM} ${STAGEDIR}${PREFIX}/share/apps/katepart/syntax/r.xml # Conflicts with kate .if defined(MAINTAINER_MODE) regression-test: install @${ECHO_MSG} "To pass the tests, some CRAN packages like R2HTML" @${ECHO_MSG} "must be installed." (cd ${WRKSRC}/tests && KDE_LANG=en_US make plugintests) .endif .include Index: head/misc/achievo/Makefile =================================================================== --- head/misc/achievo/Makefile (revision 417718) +++ head/misc/achievo/Makefile (revision 417719) @@ -1,31 +1,30 @@ # Created by: mkptools # $FreeBSD$ PORTNAME= achievo PORTVERSION= 1.1.0 PORTREVISION= 1 CATEGORIES= misc www MASTER_SITES= http://www.achievo.org/files/ \ http://www.caomhin.org/geek/ports/ DISTNAME= ${PORTNAME}-stable-${PORTVERSION} MAINTAINER= kevin@caomhin.demon.co.uk COMMENT= Flexible web-based resource management tool -USE_PHP= yes -WANT_PHP_MOD= yes +USES= php:mod WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} NO_BUILD= YES ACHVODIR?= www/achievo PLIST_SUB= ACHVODIR=${ACHVODIR} WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" post-patch: @${MV} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php-default do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${ACHVODIR} @${CP} -R ${WRKSRC}/* ${STAGEDIR}${PREFIX}/${ACHVODIR} .include Index: head/misc/pecl-timezonedb/Makefile =================================================================== --- head/misc/pecl-timezonedb/Makefile (revision 417718) +++ head/misc/pecl-timezonedb/Makefile (revision 417719) @@ -1,22 +1,20 @@ # Created by: Marcus Alves Grando # $FreeBSD$ PORTNAME= timezonedb PORTVERSION= 2016.5 CATEGORIES= misc MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= sunpoet@FreeBSD.org COMMENT= Timezone Database to be used with PHP date and time functions LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE CONFIGURE_ARGS= --enable-timezonedb -USE_PHP= yes -USE_PHPEXT= yes -USES= tar:tgz +USES= php:ext tar:tgz .include Index: head/multimedia/php-pHash/Makefile =================================================================== --- head/multimedia/php-pHash/Makefile (revision 417718) +++ head/multimedia/php-pHash/Makefile (revision 417719) @@ -1,31 +1,28 @@ # Created by: Naram Qashat # $FreeBSD$ PORTNAME= pHash PORTVERSION= 0.9.6 CATEGORIES= multimedia devel MASTER_SITES= http://phash.org/releases/ \ http://www.cyberbotx.com/pHash/ PKGNAMEPREFIX= php- MAINTAINER= cyberbotx@cyberbotx.com COMMENT= PHP extension for the pHash perceptual hash library LICENSE= PHP30 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpHash.so:multimedia/pHash -USE_PHP= yes -USE_PHPIZE= yes -USE_PHPEXT= yes -USE_PHP_BUILD= yes +USES= php:ext WRKSRC_SUBDIR= bindings/php # The tarball contains stale pre-built files that interfere with building this # ourselves. post-configure: @(cd ${WRKSRC} && ${MAKE_CMD} clean) .include Index: head/net/pear-Net_DNSBL/Makefile =================================================================== --- head/net/pear-Net_DNSBL/Makefile (revision 417718) +++ head/net/pear-Net_DNSBL/Makefile (revision 417719) @@ -1,25 +1,24 @@ # Created by: Antonio Carlos Venancio Junior () # $FreeBSD$ PORTNAME= Net_DNSBL PORTVERSION= 1.3.7 CATEGORIES= net pear MAINTAINER= miwi@FreeBSD.org COMMENT= PEAR DNSBL Checker BUILD_DEPENDS= ${PEARDIR}/Cache/Lite.php:sysutils/pear-Cache_Lite \ ${PEARDIR}/Net/CheckIP.php:net/pear-Net_CheckIP \ ${PEARDIR}/Net/DNS/RR/A.php:dns/pear-Net_DNS \ ${PEARDIR}/HTTP/Request2.php:www/pear-HTTP_Request2 RUN_DEPENDS:= ${PEARDIR}/Cache/Lite.php:sysutils/pear-Cache_Lite \ ${PEARDIR}/Net/CheckIP.php:net/pear-Net_CheckIP \ ${PEARDIR}/Net/DNS/RR/A.php:dns/pear-Net_DNS \ ${PEARDIR}/HTTP/Request2.php:www/pear-HTTP_Request2 -USE_PHP= yes USES= pear PORTSCOUT= skipv:1.3.0a1 .include Index: head/net/pecl-amqp/Makefile =================================================================== --- head/net/pecl-amqp/Makefile (revision 417718) +++ head/net/pecl-amqp/Makefile (revision 417719) @@ -1,23 +1,21 @@ # Created by: Jui-Nan Lin # $FreeBSD$ PORTNAME= amqp PORTVERSION= 1.4.0 PORTREVISION= 1 CATEGORIES= net pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= jnlin@freebsd.cs.nctu.edu.tw COMMENT= PHP extension for AMQP API LIB_DEPENDS= librabbitmq.so:net/rabbitmq-c-devel -PHP_MODNAME= ${PORTNAME} -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 70 .include Index: head/net/pecl-apn/Makefile =================================================================== --- head/net/pecl-apn/Makefile (revision 417718) +++ head/net/pecl-apn/Makefile (revision 417719) @@ -1,26 +1,24 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= apn PORTVERSION= 1.0.3 PORTREVISION= 1 CATEGORIES= net pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= Extension to interact with Apple Push Notification Service LICENSE= PHP301 LIB_DEPENDS= libcapn.so:net/libcapn -USE_PHP= yes -USE_PHPIZE= yes -USE_PHPEXT= yes +USES= php:ext CONFIGURE_ARGS= --with-apn=${LOCALBASE} IGNORE_WITH_PHP= 70 .include Index: head/net/pecl-cvsclient/Makefile =================================================================== --- head/net/pecl-cvsclient/Makefile (revision 417718) +++ head/net/pecl-cvsclient/Makefile (revision 417719) @@ -1,21 +1,19 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= cvsclient PORTVERSION= 0.2 CATEGORIES= net pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PHP extension for CVS pserver client LICENSE= PHP202 -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 56 70 .include Index: head/net/pecl-geoip/Makefile =================================================================== --- head/net/pecl-geoip/Makefile (revision 417718) +++ head/net/pecl-geoip/Makefile (revision 417719) @@ -1,25 +1,23 @@ # Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= geoip PORTVERSION= 1.1.0 CATEGORIES= net www MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= sunpoet@FreeBSD.org COMMENT= Map IP address to geographic places LICENSE= PHP301 LIB_DEPENDS= libGeoIP.so:net/GeoIP -USE_PHP= yes -USE_PHPEXT= yes -USES= tar:tgz +USES= php:ext tar:tgz post-patch: @${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/config.m4 .include Index: head/net/pecl-gupnp/Makefile =================================================================== --- head/net/pecl-gupnp/Makefile (revision 417718) +++ head/net/pecl-gupnp/Makefile (revision 417719) @@ -1,26 +1,24 @@ # Created by: Sunpoet Po-Chuan Hsieh # $FreeBSD$ PORTNAME= gupnp PORTVERSION= 1.0.0 CATEGORIES= net pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= sunpoet@FreeBSD.org COMMENT= GUPnP wrapper extension LICENSE= PHP301 LIB_DEPENDS= libgupnp-1.0.so:net/gupnp -USE_PHP= yes -USE_PHPEXT= yes -USES= pkgconfig tar:tgz +USES= php:ext pkgconfig tar:tgz IGNORE_WITH_PHP= 70 post-patch: @${REINPLACE_CMD} -e 's| -ldl||g' ${WRKSRC}/config.m4 .include Index: head/net/pecl-ip2location/Makefile =================================================================== --- head/net/pecl-ip2location/Makefile (revision 417718) +++ head/net/pecl-ip2location/Makefile (revision 417719) @@ -1,24 +1,21 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= ip2location PORTVERSION= 6.0.4 CATEGORIES= net pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= Get geo location information of an IP address LICENSE= PHP301 LIB_DEPENDS= libIP2Location.so:net/ip2location -USES= tar:tgz -USE_PHP= yes -USE_PHPIZE= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/net/pecl-mosquitto/Makefile =================================================================== --- head/net/pecl-mosquitto/Makefile (revision 417718) +++ head/net/pecl-mosquitto/Makefile (revision 417719) @@ -1,24 +1,22 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= mosquitto PORTVERSION= 0.3.0 CATEGORIES= net pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DISTNAME= Mosquitto-${PORTVERSION} DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= Extension for libmosquitto LICENSE= BSD3CLAUSE BUILD_DEPENDS= mosquitto>=0:net/mosquitto -USE_PHP= yes -USE_PHPEXT= yes -USES= tar:tgz +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/net/pecl-oauth/Makefile =================================================================== --- head/net/pecl-oauth/Makefile (revision 417718) +++ head/net/pecl-oauth/Makefile (revision 417719) @@ -1,28 +1,26 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= oauth PORTVERSION= 1.2.3 CATEGORIES= net pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= Php Interface to the OAuth Protocol LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/curl/curl.h:ftp/curl CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/net/pecl-radius/Makefile =================================================================== --- head/net/pecl-radius/Makefile (revision 417718) +++ head/net/pecl-radius/Makefile (revision 417719) @@ -1,27 +1,25 @@ # Created by: Antonio Carlos Venancio Junior () # $FreeBSD$ PORTNAME= radius DISTVERSION= 1.3.0 CATEGORIES= net security pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= Radius client library for PHP LICENSE= BSD3CLAUSE -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --enable-radius post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include Index: head/net/pecl-smbclient/Makefile =================================================================== --- head/net/pecl-smbclient/Makefile (revision 417718) +++ head/net/pecl-smbclient/Makefile (revision 417719) @@ -1,25 +1,22 @@ # $FreeBSD$ PORTNAME= smbclient PORTVERSION= 0.8.0 CATEGORIES= net pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= kevlo@FreeBSD.org COMMENT= Smbclient wrapper extension LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libsmbclient.so:net/samba-libsmbclient -USE_PHP= yes -USE_PHPEXT= yes -USE_PHPIZE= yes -USES= tar:tgz +USES= php:ext tar:tgz CONFIGURE_ARGS= --with-libsmbclient=${LOCALBASE} .include Index: head/net/pecl-yaz/Makefile =================================================================== --- head/net/pecl-yaz/Makefile (revision 417718) +++ head/net/pecl-yaz/Makefile (revision 417719) @@ -1,25 +1,24 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= yaz PORTVERSION= 1.1.6 CATEGORIES= net pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= fw@moov.de COMMENT= PECL extension that implements a Z39.50 client LICENSE= PHP301 LIB_DEPENDS= libyaz.so:net/yaz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --with-yaz=${LOCALBASE} .include Index: head/net/pecl-yp/Makefile =================================================================== --- head/net/pecl-yp/Makefile (revision 417718) +++ head/net/pecl-yp/Makefile (revision 417719) @@ -1,21 +1,19 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= yp PORTVERSION= 1.0.1 CATEGORIES= net pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= YP/NIS functions binding for PHP LICENSE= PHP301 -USE_PHP= yes -USE_PHPEXT= yes -USES= tar:tgz +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/net/pecl-zmq/Makefile =================================================================== --- head/net/pecl-zmq/Makefile (revision 417718) +++ head/net/pecl-zmq/Makefile (revision 417719) @@ -1,23 +1,20 @@ # $FreeBSD$ PORTNAME= zmq PORTVERSION= 1.1.3 PORTREVISION= 1 CATEGORIES= net pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= garga@FreeBSD.org COMMENT= PHP bindings for ZeroMQ LICENSE= BSD3CLAUSE LIB_DEPENDS= libzmq.so:net/libzmq4 -USES= tar:tgz pkgconfig -USE_PHP= yes -USE_PHPIZE= yes -USE_PHPEXT= yes +USES= php:ext pkgconfig tar:tgz .include Index: head/net/scr_ipfm/Makefile =================================================================== --- head/net/scr_ipfm/Makefile (revision 417718) +++ head/net/scr_ipfm/Makefile (revision 417719) @@ -1,31 +1,31 @@ # Created by: HSIN-HSIUNG CHANG # $FreeBSD$ PORTNAME= scr_ipfm PORTVERSION= 0.64 CATEGORIES= net MASTER_SITES= SF/scripfm/scripfm/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Use logs generated by ipfm to show data graphically LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING NO_BUILD= yes -USE_PHP= yes +USES= php MYADMDIR?= www/data/scr_ipfm PLIST_SUB= MYADMDIR=${MYADMDIR} SUB_FILES= pkg-message PORTDOCS= BUGS COPYING ChangeLog README README_pl THANKS TODO OPTIONS_DEFINE= DOCS do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${MYADMDIR} ${CP} -R ${WRKSRC}/[a-z]* ${STAGEDIR}${PREFIX}/${MYADMDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/net-im/pecl-stomp/Makefile =================================================================== --- head/net-im/pecl-stomp/Makefile (revision 417718) +++ head/net-im/pecl-stomp/Makefile (revision 417719) @@ -1,21 +1,18 @@ # Created by: wen@FreeBSD.org # $FreeBSD$ PORTNAME= stomp PORTVERSION= 1.0.9 CATEGORIES= net-im pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- MAINTAINER= miwi@FreeBSD.org COMMENT= PECL extension of stomp client LICENSE= PHP301 -USES= tar:tgz -USE_PHP= yes -USE_PHPIZE= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/net-mgmt/icingaweb2/Makefile =================================================================== --- head/net-mgmt/icingaweb2/Makefile (revision 417718) +++ head/net-mgmt/icingaweb2/Makefile (revision 417719) @@ -1,59 +1,59 @@ # $FreeBSD$ PORTNAME= icingaweb2 DISTVERSIONPREFIX= v DISTVERSION= 2.3.2 CATEGORIES= net-mgmt www MAINTAINER= lme@FreeBSD.org COMMENT= Next generation web interface for Icinga 1 and 2 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${LOCALBASE}/share/ZendFramework/bin/classmap_generator.php:www/zend-framework USE_GITHUB= yes GH_ACCOUNT= icinga NO_BUILD= yes -USE_PHP_BUILD= yes # Needed for creation of webserver configs during installation +USES= php:build USE_PHP= ctype dom gd gettext hash json openssl session sockets SUB_FILES= pkg-message SUB_LIST= WWWDIR=${WWWDIR} \ ETCDIR=${ETCDIR} \ EXAMPLESDIR=${EXAMPLESDIR} PLIST_SUB= WWWOWN=${WWWOWN} \ WWWGRP=${WWWGRP} OPTIONS_DEFINE= NLS LDAP MYSQL PGSQL OPTIONS_DEFAULT= LDAP MYSQL PGSQL NLS_USES= gettext PGSQL_USE= PHP=pdo_pgsql MYSQL_USE= PHP=pdo_mysql LDAP_USE= PHP=ldap do-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/bash_completion.d/ ${INSTALL_DATA} ${WRKSRC}/etc/bash_completion.d/icingacli \ ${STAGEDIR}${EXAMPLESDIR}/bash_completion.d (cd ${WRKSRC} && ${RM} -r .mailmap changelog.py icingaweb2.spec \ bin/license_writer.py packages test) ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) ${CHMOD} 755 ${STAGEDIR}/${WWWDIR}/bin/icingacli ${MKDIR} ${STAGEDIR}${ETCDIR} .for webserver in apache nginx ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${webserver} (cd ${STAGEDIR}${WWWDIR} && \ ./bin/icingacli setup config webserver ${webserver} --path=/icingaweb2 \ --root=${WWWDIR}/public --config=${ETCDIR} \ --file=${STAGEDIR}${EXAMPLESDIR}/${webserver}/icingaweb2.conf) .endfor .include Index: head/net-mgmt/nagios/Makefile =================================================================== --- head/net-mgmt/nagios/Makefile (revision 417718) +++ head/net-mgmt/nagios/Makefile (revision 417719) @@ -1,112 +1,111 @@ # Created by: Blaz Zupan # $FreeBSD$ PORTNAME= nagios PORTVERSION= 3.5.1 PORTREVISION= 9 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-3.x/${PORTNAME}-${PORTVERSION} MAINTAINER= mat@FreeBSD.org COMMENT= Powerful network monitoring system LICENSE= GPLv2 LIB_DEPENDS= libltdl.so:devel/libltdl \ libgd.so:graphics/gd PORTSCOUT= limit:^3. -USES= cpe perl5 +USES= cpe perl5 php USE_PERL5= build -USE_PHP= yes USE_RC_SUBR= nagios CONFLICTS= nagios-[12].* nagios-devel-* nagios4-* GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-command-user=${NAGIOSUSER} \ --with-command-group=${WWWGRP} \ --with-nagios-user=${NAGIOSUSER} \ --with-nagios-group=${NAGIOSGROUP} \ --with-htmurl=${NAGIOSHTMURL} \ --with-cgiurl=${NAGIOSCGIURL} \ --sbindir=${PREFIX}/${NAGIOSWWWDIR}/cgi-bin \ --libexecdir=${PREFIX}/libexec/nagios \ --datadir=${PREFIX}/${NAGIOSWWWDIR} \ --sysconfdir=${PREFIX}/etc/nagios \ --localstatedir=${NAGIOSDIR} \ --with-httpd-conf=${PREFIX}/etc \ --with-checkresult-dir=${NAGIOSDIR}/checkresults \ --disable-statuswrl \ ac_cv_lib_iconv_main=no CONFIGURE_ENV= PERL=${PERL} CPPFLAGS+= -I${LOCALBASE}/include CFLAGS+= ${CPPFLAGS} LIBS+= -L${LOCALBASE}/lib MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install install-commandmode install-config PLIST_SUB= NAGIOSDIR=${NAGIOSDIR} \ NAGIOSWWWDIR=${NAGIOSWWWDIR} \ NAGIOSUSER=${NAGIOSUSER} \ NAGIOSGROUP=${NAGIOSGROUP} \ WWWGRP=${WWWGRP} SUB_FILES= pkg-message # XXX: Don't remove PREFIX from SUB_LIST here. SUB_LIST= PREFIX=${PREFIX} \ NAGIOSHTMURL=${NAGIOSHTMURL} \ NAGIOSCGIURL=${NAGIOSCGIURL} \ ${PLIST_SUB} NAGIOSUSER?= nagios NAGIOSGROUP?= nagios NAGIOSDIR?= /var/spool/nagios NAGIOSWWWDIR?= www/nagios NAGIOSHTMURL?= /nagios NAGIOSCGIURL?= ${NAGIOSHTMURL}/cgi-bin USERS= ${NAGIOSUSER} GROUPS= ${NAGIOSGROUP} OPTIONS_DEFINE= EMBEDDED_PERL NANOSLEEP EVENT_BROKER UNHANDLED_HACK OPTIONS_RADIO= PLUGINS OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS OPTIONS_DEFAULT= NAGPLUGINS EMBEDDED_PERL_DESC= Enable embedded Perl [requires Perl 5.8.0+] NANOSLEEP_DESC= Use nanosleep in event timing EVENT_BROKER_DESC= Enable event broker functionality UNHANDLED_HACK_DESC= Display passive checks in unhandled queries MONPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/monitoring-plugins NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios-plugins OPTIONS_SUB= EMBEDDED_PERL_USE= perl5=run EMBEDDED_PERL_CONFIGURE_ENABLE= embedded-perl EMBEDDED_PERL_CONFIGURE_WITH= perlcache NANOSLEEP_CONFIGURE_ENABLE= nanosleep EVENT_BROKER_CONFIGURE_ENABLE= event-broker post-extract: @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC} .include post-patch: @${REINPLACE_CMD} '/^INSTALL_OPTS=/d' ${WRKSRC}/configure .if ${PORT_OPTIONS:MUNHANDLED_HACK} @${REINPLACE_CMD} -e 's#;serviceprops=42\&#;serviceprops=10\&#g' \ -e 's#;hostprops=42\"#;hostprops=10\"#g' ${WRKSRC}/html/side.php .endif post-install: @${MV} ${STAGEDIR}${PREFIX}/${NAGIOSWWWDIR}/config.inc.php ${STAGEDIR}${PREFIX}/${NAGIOSWWWDIR}/config.inc.php.sample .include Index: head/net-mgmt/percona-monitoring-plugins/Makefile =================================================================== --- head/net-mgmt/percona-monitoring-plugins/Makefile (revision 417718) +++ head/net-mgmt/percona-monitoring-plugins/Makefile (revision 417719) @@ -1,64 +1,62 @@ # Created by: Alexey V. Degtyarev # $FreeBSD$ PORTNAME= percona-monitoring-plugins PORTVERSION= 1.1.3 PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= http://www.percona.com/downloads/percona-monitoring-plugins/${PORTVERSION}/ \ ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/ MAINTAINER= alexey@renatasystems.org COMMENT= Cacti templates for MySQL, Apache, Memcached, and more by Percona LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= cacti>=0:net-mgmt/cacti \ p5-DBD-mysql>=0:databases/p5-DBD-mysql \ p5-Data-Dumper>=0:devel/p5-Data-Dumper \ p5-Digest-MD5>=0:security/p5-Digest-MD5 \ p5-Getopt-Long>=0:devel/p5-Getopt-Long \ p5-Time-HiRes>=0:devel/p5-Time-HiRes \ bash:shells/bash -USES= shebangfix perl5 +USES= shebangfix perl5 php:cli USE_PERL5= run SHEBANG_FILES= nagios/bin/pmp-check-pt-table-checksum \ cacti/bin/pmp-cacti-* USE_MYSQL= yes -USE_PHP= yes -WANT_PHP_CLI= yes NO_BUILD= yes NO_ARCH= yes PORTDOCS= Changelog CACTIDIR?= share/cacti OPTIONS_DEFINE= DOCS do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/cacti/scripts ${MKDIR} ${STAGEDIR}${PREFIX}/share/percona-monitoring-plugins .for dir in definitions misc templates cd ${WRKSRC} && ${PAX} -r -w cacti/${dir} \ ${STAGEDIR}${PREFIX}/share/percona-monitoring-plugins .endfor .for script in ss_get_by_ssh.php ss_get_mysql_stats.php ${INSTALL_DATA} ${WRKSRC}/cacti/scripts/${script} \ ${STAGEDIR}${PREFIX}/share/cacti/scripts/${script} .endfor ${INSTALL_SCRIPT} ${WRKSRC}/cacti/bin/* ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/nagios/bin/* ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}/${doc} .endfor .include Index: head/print/pecl-haru/Makefile =================================================================== --- head/print/pecl-haru/Makefile (revision 417718) +++ head/print/pecl-haru/Makefile (revision 417719) @@ -1,29 +1,27 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= haru PORTVERSION= 1.0.4 CATEGORIES= print pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- MAINTAINER= miwi@FreeBSD.org COMMENT= PECL extension to Haru PDF functions LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/hpdf.h:print/libharu RUN_DEPENDS:= ${LOCALBASE}/include/hpdf.h:print/libharu -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 CONFIGURE_ARGS+= --with-haru=${LOCALBASE} CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" .include Index: head/print/pecl-pdflib/Makefile =================================================================== --- head/print/pecl-pdflib/Makefile (revision 417718) +++ head/print/pecl-pdflib/Makefile (revision 417719) @@ -1,29 +1,28 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= pdflib PORTVERSION= 3.0.4 CATEGORIES= print pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= ale@FreeBSD.org COMMENT= PECL extension to create PDF on the fly LICENSE= PHP30 BROKEN_powerpc64= Does not build LIB_DEPENDS= libpdf.so:print/pdflib -USE_PHP= gd -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext +USE_PHP= gd:build PHP_MODNAME= pdf IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --with-pdflib=${LOCALBASE} .include Index: head/print/pecl-ps/Makefile =================================================================== --- head/print/pecl-ps/Makefile (revision 417718) +++ head/print/pecl-ps/Makefile (revision 417719) @@ -1,30 +1,27 @@ # Created by: Alan Garfield # $FreeBSD$ PORTNAME= ps PORTVERSION= 1.3.7 CATEGORIES= print pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= alan@fromorbit.com COMMENT= PHP extension for pslib to generate postscript LICENSE= PHP202 LIB_DEPENDS= libps.so:print/pslib -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes -PHP_MODNAME= ${PORTNAME} +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 post-patch: @${REINPLACE_CMD} -e 's|-ldl|-lintl|g' ${WRKSRC}/config.m4 test check regression-test: build ${MAKE} -C ${WRKSRC} test < /dev/null .include Index: head/security/lasso/Makefile =================================================================== --- head/security/lasso/Makefile (revision 417718) +++ head/security/lasso/Makefile (revision 417719) @@ -1,67 +1,66 @@ # Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= lasso PORTVERSION= 2.4.1 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://dev.entrouvert.org/releases/lasso/ MAINTAINER= tj@FreeBSD.org COMMENT= Free Liberty Alliance Implementation LICENSE= GPLv2 BUILD_DEPENDS= xmlsec1:security/xmlsec1 RUN_DEPENDS:= ${BUILD_DEPENDS} USES= cpe libtool pathfix pkgconfig CPE_VENDOR= entrouvert GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-java --with-zlib USE_GNOME= glib20 libxml2 USE_LDCONFIG= yes USE_OPENSSL= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= PERL PHP PYTHON DOCS .include .if ${PORT_OPTIONS:MPERL} CONFIGURE_ARGS+= --enable-perl PLIST_SUB+= PERL="" USES+= perl5 .else CONFIGURE_ARGS+= --disable-perl PLIST_SUB+= PERL="@comment " .endif .if ${PORT_OPTIONS:MPHP} CONFIGURE_ARGS+= --enable-php5 \ --with-php5-config="${LOCALBASE}/bin/php-config" LDFLAGS+= -L${LOCALBASE}/lib LIB_DEPENDS+= libexpat.so:textproc/expat2 PLIST_SUB+= PHP5="" -USE_PHP= yes -USE_PHP_BUILD= yes +USES+= php:build .else CONFIGURE_ARGS+= --disable-php5 PLIST_SUB+= PHP5="@comment " .endif .if ${PORT_OPTIONS:MPYTHON} CONFIGURE_ARGS+= --enable-python PLIST_SUB+= PYTHON="" USES+= python .else USES+= python:build CONFIGURE_ARGS+= --disable-python PLIST_SUB+= PYTHON="@comment " .endif post-patch: @${REINPLACE_CMD} -E 's,(xmlsec1-openssl >= 1\.2\.6) openssl,\1,' \ ${CONFIGURE_WRKSRC}/configure .include Index: head/security/pear-Text_Password/Makefile =================================================================== --- head/security/pear-Text_Password/Makefile (revision 417718) +++ head/security/pear-Text_Password/Makefile (revision 417719) @@ -1,15 +1,14 @@ # Created by: Attila Nagy # $FreeBSD$ PORTNAME= Text_password PORTVERSION= 1.2.0 CATEGORIES= security www pear MAINTAINER= miwi@FreeBSD.org COMMENT= PEAR random password creator -USE_PHP= yes USES= pear WRKSRC= ${WRKDIR}/Text_Password-${PORTVERSION} .include Index: head/security/pecl-crack/Makefile =================================================================== --- head/security/pecl-crack/Makefile (revision 417718) +++ head/security/pecl-crack/Makefile (revision 417719) @@ -1,38 +1,33 @@ # Created by: Bill Moran # $FreeBSD$ PORTNAME= crack PORTVERSION= 0.4 PORTEPOCH= 1 CATEGORIES= security www MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PECL extension to cracklib LICENSE= PHP30 LIB_DEPENDS= libcrack.so:security/cracklib -USES= tar:tgz -USE_PHP= yes -USE_PHPIZE= yes -USE_PHP_BUILD= yes -USE_PHPEXT= yes -PHP_MODNAME= crack +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 EXTRACT_AFTER_ARGS=--no-same-permissions --no-same-owner --exclude libcrack CONFIGURE_ARGS= --with-crack=${LOCALBASE} CFLAGS+= -Wno-deprecated post-configure: ${REINPLACE_CMD} -e 's|^\$$ini_overwrites.*|&'"'"'crack.default_dictionary=\"${LOCALBASE}/libdata/cracklib/pw_dict\"'"'"',|' \ ${WRKSRC}/run-tests.php test check regression-test: build ${MAKE} -C ${WRKSRC} test < /dev/null .include Index: head/security/pecl-crypto/Makefile =================================================================== --- head/security/pecl-crypto/Makefile (revision 417718) +++ head/security/pecl-crypto/Makefile (revision 417719) @@ -1,23 +1,20 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= crypto PORTVERSION= 0.2.2 CATEGORIES= security MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= Objective wrapper for OpenSSL Crypto Library LICENSE= PHP301 -USES= tar:tgz +USES= php:ext tar:tgz CONFIGURE_ARGS= --with-crypto USE_OPENSSL= yes -USE_PHP= yes -USE_PHPEXT= yes -USE_PHPIZE= yes .include Index: head/security/pecl-gnupg/Makefile =================================================================== --- head/security/pecl-gnupg/Makefile (revision 417718) +++ head/security/pecl-gnupg/Makefile (revision 417719) @@ -1,28 +1,26 @@ # Created by: mnag@FreeBSD.org # $FreeBSD$ PORTNAME= gnupg PORTVERSION= 1.3.6 CATEGORIES= security MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= sunpoet@FreeBSD.org COMMENT= PECL wrapper around the gpgme library LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgpgme.so:security/gpgme CONFIGURE_ARGS= --with-gnupg=${LOCALBASE}/include IGNORE_WITH_PHP=70 -USE_PHP= yes -USE_PHPEXT= yes -USES= localbase tar:tgz +USES= localbase php:ext tar:tgz post-patch: @${REINPLACE_CMD} -e 's|$$GNUPG_DIR/lib|${LOCALBASE}/lib|; s| -ldl||g' ${WRKSRC}/config.m4 .include Index: head/security/pecl-pam/Makefile =================================================================== --- head/security/pecl-pam/Makefile (revision 417718) +++ head/security/pecl-pam/Makefile (revision 417719) @@ -1,21 +1,18 @@ # Created by: wen@FreeBSD.org # $FreeBSD$ PORTNAME= pam PORTVERSION= 1.0.3 CATEGORIES= security pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- MAINTAINER= miwi@FreeBSD.org COMMENT= PECL classes for PAM integration LICENSE= PHP202 -USES= tar:tgz -USE_PHP= yes -USE_PHPIZE= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/security/pecl-scrypt/Makefile =================================================================== --- head/security/pecl-scrypt/Makefile (revision 417718) +++ head/security/pecl-scrypt/Makefile (revision 417719) @@ -1,62 +1,60 @@ # Created by: Horia Racoviceanu # $FreeBSD$ PORTNAME= scrypt PORTVERSION= 1.2 PORTREVISION= 2 CATEGORIES= security pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- MAINTAINER= ports@FreeBSD.org COMMENT= PHP wrapper to Colin Percival's scrypt implementation LICENSE= BSD2CLAUSE BROKEN_powerpc64= Does not build -USES= compiler tar:tgz -USE_PHP= hash -USE_PHPEXT= yes -USE_PHP_BUILD= yes +USES= compiler php:ext tar:tgz +USE_PHP= hash:build INSTALL_TARGET= install-strip IGNORE_WITH_PHP= 70 DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} PORTDOCS= README.md EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} PORTEXAMPLES= scrypt.php TESTDIR= ${PREFIX}/tests/${PKGNAMEPREFIX}${PORTNAME} PORTTEST= run-tests.php tests/params.phpt tests/vectors.phpt OPTIONS_DEFINE= DOCS EXAMPLES TEST TEST_PLIST_FILES= ${PORTTEST:S|^|${TESTDIR:S|${PREFIX}/||:S|$|/|}|} .include .if ${ARCH} == i386 && ${OSVERSION} < 1000036 CFLAGS+= -fstack-protector .endif .if ${ARCH} != amd64 && ${COMPILER_TYPE} == gcc post-patch: ${REINPLACE_CMD} '/emmintrin.h/d' ${WRKSRC}/config.m4 .endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR} .if ${PORT_OPTIONS:MTEST} @${MKDIR} ${STAGEDIR}${TESTDIR} ${INSTALL_DATA} ${PORTTEST:M*.php:S|^|${WRKSRC}/|} ${STAGEDIR}${TESTDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} tests ${STAGEDIR}${TESTDIR}) .endif .include Index: head/security/pecl-ssh2/Makefile =================================================================== --- head/security/pecl-ssh2/Makefile (revision 417718) +++ head/security/pecl-ssh2/Makefile (revision 417719) @@ -1,30 +1,28 @@ # Created by: Alexander Leidinger # $FreeBSD$ PORTNAME= ssh2 PORTVERSION= 0.12 CATEGORIES= security pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- MAINTAINER= miwi@FreeBSD.org COMMENT= PECL extension to the libssh2 library LICENSE= PHP301 LIB_DEPENDS= libssh2.so:security/libssh2 -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${EXTRA_LIBS} CONFIGURE_ARGS= --with-ssh2 post-patch: @${REINPLACE_CMD} -e 's|\$$SSH2_DIR/lib|\$$SSH2_DIR/\$$PHP_LIBDIR|g' ${WRKSRC}/config.m4 .include Index: head/security/pecl-tcpwrap/Makefile =================================================================== --- head/security/pecl-tcpwrap/Makefile (revision 417718) +++ head/security/pecl-tcpwrap/Makefile (revision 417719) @@ -1,24 +1,22 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= tcpwrap PORTVERSION= 1.1.3 CATEGORIES= security pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PECL extension which provides tcpwrappers binding LICENSE= PHP202 -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 56 70 post-patch: @${REINPLACE_CMD} -e 's, -ldl,,' ${WRKSRC}/config.m4 .include Index: head/security/php-suhosin/Makefile =================================================================== --- head/security/php-suhosin/Makefile (revision 417718) +++ head/security/php-suhosin/Makefile (revision 417719) @@ -1,32 +1,31 @@ # Created by: ale # $FreeBSD$ PORTNAME= suhosin PORTVERSION= 0.9.38 CATEGORIES= security MASTER_SITES= http://download.suhosin.org/ PKGNAMEPREFIX= php- MAINTAINER= ale@FreeBSD.org COMMENT= PHP extension that implements high-level protections LICENSE= PHP301 BROKEN_powerpc64= Does not build OPTIONS_DEFINE= EXAMPLES -USE_PHP= session -USE_PHPEXT= yes -USE_PHP_BUILD= yes +USES= php:ext +USE_PHP= session:build IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --enable-suhosin PORTEXAMPLES= suhosin.ini post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/suhosin.ini ${STAGEDIR}${EXAMPLESDIR} .include Index: head/security/snortreport/Makefile =================================================================== --- head/security/snortreport/Makefile (revision 417718) +++ head/security/snortreport/Makefile (revision 417719) @@ -1,59 +1,50 @@ # Created by: Andrea Venturoli # $FreeBSD$ PORTNAME= snortreport PORTVERSION= 1.3.4 CATEGORIES= security www MASTER_SITES= http://symmetrixtech.com/download/ MAINTAINER= vvelox@vvelox.net COMMENT= Add-on module for snort to generate real-time web reports LICENSE= GPLv2 OPTIONS_DEFINE= BARNYARD JPGRAPH MYSQL PGSQL DOCS BARNYARD_DESC= Depend on Barnyard2 JPGRAPH_DESC= Graphical charting BARNYARD_RUN_DEPENDS= barnyard2:security/barnyard2 JPGRAPH_RUN_DEPENDS= ${LOCALBASE}/share/jpgraph/jpgraph.php:graphics/jpgraph2 -.include NO_BUILD= yes SUB_FILES= pkg-message PORTDOCS= INSTALL Performance.txt create_indexes.sql FTYPES= css html js php phps png sample -USE_PHP= yes -WANT_PHP_WEB= yes +USES= php:web -.if ${PORT_OPTIONS:MMYSQL} -USE_PHP+= mysql -.endif +MYSQL_USE= php=mysql +PGSQL_USE= php=pgsql -.if ${PORT_OPTIONS:MPGSQL} -USE_PHP+= pgsql -.endif - pre-everything:: @${ECHO} "" @${ECHO} "You have to configure PHP either with MySQL or PostgreSQL" @${ECHO} "support in order to let snortreport collect its data." @${ECHO} "" post-patch: ${MV} ${WRKSRC}/srconf.php ${WRKSRC}/srconf.php.sample do-install: # srconf.conf contains snort database login credentials ${INSTALL} -o ${WWWOWN} -g ${WWWGRP} -m 750 -d ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${FTYPES:S|^|${WRKSRC}/*|} ${STAGEDIR}${WWWDIR} -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} -.endif .include Index: head/sysutils/pear-File_Gettext/Makefile =================================================================== --- head/sysutils/pear-File_Gettext/Makefile (revision 417718) +++ head/sysutils/pear-File_Gettext/Makefile (revision 417719) @@ -1,14 +1,13 @@ # Created by: Antonio Carlos Venancio Junior () # $FreeBSD$ PORTNAME= File_Gettext PORTVERSION= 0.4.2 CATEGORIES= sysutils devel pear MAINTAINER= miwi@FreeBSD.org COMMENT= PEAR GNU Gettext file parser USES= pear -USE_PHP= yes .include Index: head/sysutils/pear-Log/Makefile =================================================================== --- head/sysutils/pear-Log/Makefile (revision 417718) +++ head/sysutils/pear-Log/Makefile (revision 417719) @@ -1,27 +1,26 @@ # Created by: Thierry Thomas () # $FreeBSD$ PORTNAME= Log PORTVERSION= 1.12.9 CATEGORIES= sysutils www pear MAINTAINER= miwi@FreeBSD.org COMMENT= PEAR logging utilities LICENSE= MIT USES= pear -USE_PHP= yes OPTIONS_DEFINE= PEAR_DB PEAR_MDB2 PEAR_MAIL PEAR_SQLITE PEAR_DB_DESC= PEAR::DB support PEAR_MDB2_DESC= PEAR::MDB2 support PEAR_MAIL_DESC= PEAR::Mail support PHP_SQLITE_DESC= PHP sqlite support (php5 only) PEAR_DB_BUILD_DEPENDS= ${PEARDIR}/DB.php:databases/pear-DB PEAR_MDB2_BUILD_DEPENDS= ${PEARDIR}/MDB2.php:databases/pear-MDB2 PEAR_MAIL_BUILD_DEPENDS= ${PEARDIR}/Mail.php:mail/pear-Mail PHP_SQLITE_USE= PHP=sqlite .include Index: head/sysutils/pear-Translation2/Makefile =================================================================== --- head/sysutils/pear-Translation2/Makefile (revision 417718) +++ head/sysutils/pear-Translation2/Makefile (revision 417719) @@ -1,37 +1,36 @@ # Created by: Antonio Carlos Venancio Junior () # $FreeBSD$ PORTNAME= Translation2 DISTVERSION= 2.0.4 PORTEPOCH= 1 CATEGORIES= sysutils devel pear MAINTAINER= miwi@FreeBSD.org COMMENT= PEAR class for multilingual applications management USES= pear shebangfix SHEBANG_FILES= scripts/t2xmlchk.php NO_ARCH= yes -USE_PHP= yes OPTIONS_DEFINE= PEAR_CACHE_LITE PEAR_DB PEAR_DB_DATAOBJECT PEAR_MDB PEAR_MDB2 \ PEAR_FILE_GETTEXT PEAR_I18NV2 PEAR_XML_SERIALIZER PEAR_CACHE_LITE_DESC= PEAR::Cache_Lite support PEAR_DB_DESC= PEAR::DB support PEAR_DB_DATAOBJECT_DESC= PEAR::DB_DataObject support PEAR_MDB_DESC= PEAR::MDB support PEAR_MDB2_DESC= PEAR::MDB2 support PEAR_FILE_GETTEXT_DESC= PEAR::File_Gettext support PEAR_I18NV2_DESC= PEAR::I18Nv2 support PEAR_XML_SERIALIZER_DESC= PEAR::XML_Serializer support PEAR_CACHE_LITE_RUN_DEPENDS= ${PEARDIR}/Cache/Lite.php:sysutils/pear-Cache_Lite PEAR_DB_RUN_DEPENDS= ${PEARDIR}/DB.php:databases/pear-DB PEAR_DB_DATAOBJECT_RUN_DEPENDS= ${PEARDIR}/DB/DataObject.php:databases/pear-DB_DataObject PEAR_MDB_RUN_DEPENDS= ${PEARDIR}/MDB.php:databases/pear-MDB PEAR_MDB2_RUN_DEPENDS= ${PEARDIR}/MDB2.php:databases/pear-MDB2 PEAR_FILE_GETTEXT_RUN_DEPENDS= ${PEARDIR}/File/Gettext.php:sysutils/pear-File_Gettext PEAR_I18NV2_RUN_DEPENDS= ${PEARDIR}/File/I18Nv2.php:sysutils/pear-I18Nv2 PEAR_XML_SERIALIZER_RUN_DEPENDS= ${PEARDIR}/XML/Serializer.php:devel/pear-XML_Serializer .include Index: head/sysutils/pecl-mogilefs/Makefile =================================================================== --- head/sysutils/pecl-mogilefs/Makefile (revision 417718) +++ head/sysutils/pecl-mogilefs/Makefile (revision 417719) @@ -1,28 +1,25 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= mogilefs PORTVERSION= 0.9.2 PORTREVISION= 1 CATEGORIES= sysutils pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz MAINTAINER= gasol.wu@gmail.com COMMENT= PHP client library to communicate with the MogileFS storage LICENSE= BSD LIB_DEPENDS= libneon.so:www/neon -USE_PHP= yes -USE_PHP_BUILD= spl -USE_PHPIZE= yes -USE_PHPEXT= yes +USES= php:ext IGNORE_WITH_PHP= 70 post-extract: @${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/config.m4 .include Index: head/sysutils/pecl-proctitle/Makefile =================================================================== --- head/sysutils/pecl-proctitle/Makefile (revision 417718) +++ head/sysutils/pecl-proctitle/Makefile (revision 417719) @@ -1,18 +1,17 @@ # Created by: Florian Smeets # $FreeBSD$ PORTNAME= proctitle PORTVERSION= 0.1.2 CATEGORIES= sysutils pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= flo@FreeBSD.org COMMENT= PECL extension that allows changing the current process' name -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext .include Index: head/textproc/libmrss-php/Makefile =================================================================== --- head/textproc/libmrss-php/Makefile (revision 417718) +++ head/textproc/libmrss-php/Makefile (revision 417719) @@ -1,35 +1,33 @@ # Created by: Rodrigo Osorio # $FreeBSD$ PORTNAME= libmrss PORTVERSION= 0.19.2 PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= http://www.autistici.org/bakunin/libmrss/ PKGNAMESUFFIX= -php MAINTAINER= ports@FreeBSD.org COMMENT= PHP library for parsing, writing, and creating RSS LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/../COPYING LIB_DEPENDS= libmrss.so:textproc/libmrss GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -USES= libtool +USES= libtool php:ext USE_LDCONFIG= yes -USE_PHP= yes -USE_PHPEXT= yes PHP_MODNAME= mrss IGNORE_WITH_PHP= 70 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/phpmrss post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/mrss.so .include Index: head/textproc/mysqlviz/Makefile =================================================================== --- head/textproc/mysqlviz/Makefile (revision 417718) +++ head/textproc/mysqlviz/Makefile (revision 417719) @@ -1,35 +1,33 @@ # Created by: TAKATSU Tomonari # $FreeBSD$ PORTNAME= mysqlviz PORTVERSION= 0.3 CATEGORIES= textproc MASTER_SITES= GOOGLE_CODE MAINTAINER= tota@FreeBSD.org COMMENT= MySQL and SQLite Database Visualisation Tool LICENSE= GPLv3 NO_BUILD= yes -USES= tar:bzip2 -USE_PHP= yes -WANT_PHP_CLI= yes +USES= php:cli tar:bzip2 PLIST_FILES= bin/${PORTNAME} PORTEXAMPLES= eg.png eg.sql sqlite-eg.sql OPTIONS_DEFINE= EXAMPLES post-patch: @${REINPLACE_CMD} \ -e 's|/usr/bin/php|${LOCALBASE}/bin/php|' \ ${WRKSRC}/${PORTNAME} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} .include Index: head/textproc/pecl-cld/Makefile =================================================================== --- head/textproc/pecl-cld/Makefile (revision 417718) +++ head/textproc/pecl-cld/Makefile (revision 417719) @@ -1,29 +1,25 @@ # Created by: Gasol Wu # $FreeBSD$ PORTNAME= cld PORTVERSION= 0.5.0 CATEGORIES= textproc pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= PHP Bindings for Chromium Compact Language Detector LICENSE= BSD2CLAUSE LIB_DEPENDS= libcld.so:devel/cld CONFIGURE_ARGS= --enable-cld --with-libcld-dir=${LOCALBASE}/lib -USES= tar:tgz -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPIZE= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 post-install: @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/php/${PHP_EXT_DIR}/cld.so .include Index: head/textproc/pecl-ctemplate/Makefile =================================================================== --- head/textproc/pecl-ctemplate/Makefile (revision 417718) +++ head/textproc/pecl-ctemplate/Makefile (revision 417719) @@ -1,29 +1,27 @@ # Created by: vanilla # $FreeBSD$ PORTNAME= cTemplate PORTVERSION= 1.12 CATEGORIES= textproc pear DISTVERSIONPREFIX= v PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= vanilla@FreeBSD.org COMMENT= PECL extension for ctemplate library LIB_DEPENDS= libctemplate.so:textproc/google-ctemplate -USES= tar:xz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:xz USE_GITHUB= yes GH_ACCOUNT= vanillahsu GH_PROJECT= pecl-ctemplate IGNORE_WITH_PHP= 70 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${EXTRA_LIBS} CONFIGURE_ARGS= --with-cTemplate=${LOCALBASE} .include Index: head/textproc/pecl-doublemetaphone/Makefile =================================================================== --- head/textproc/pecl-doublemetaphone/Makefile (revision 417718) +++ head/textproc/pecl-doublemetaphone/Makefile (revision 417719) @@ -1,25 +1,22 @@ # Created by: Ditesh Shashikant Gathani # $FreeBSD$ PORTNAME= doublemetaphone PORTVERSION= 1.0.1 CATEGORIES= textproc pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PECL extension which implements the Double Metaphone algorithm LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= tar:tgz -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --enable-doublemetaphone .include Index: head/textproc/pecl-enchant/Makefile =================================================================== --- head/textproc/pecl-enchant/Makefile (revision 417718) +++ head/textproc/pecl-enchant/Makefile (revision 417719) @@ -1,25 +1,22 @@ # Created by: Wen heping # $FreeBSD$ PORTNAME= enchant DISTVERSION= 1.1.0 CATEGORIES= textproc devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= Libenchant Binder that Support Near All Spelling Tools LICENSE= PHP30 LIB_DEPENDS= libenchant.so:textproc/enchant -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes -PHP_MODNAME= ${PORTNAME} +USES= php:ext tar:tgz IGNORE_WITH_PHP= 56 70 CONFIGURE_ARGS+= --with-enchant=${LOCALBASE} .include Index: head/textproc/pecl-html_parse/Makefile =================================================================== --- head/textproc/pecl-html_parse/Makefile (revision 417718) +++ head/textproc/pecl-html_parse/Makefile (revision 417719) @@ -1,27 +1,24 @@ # Created by: Ditesh Shashikant Gathani # $FreeBSD$ PORTNAME= html_parse PORTVERSION= 1.0.0 CATEGORIES= textproc pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PECL extension for the ekhtml library LICENSE= PHP30 BUILD_DEPENDS= ${LOCALBASE}/lib/libekhtml.a:textproc/ekhtml RUN_DEPENDS= ${LOCALBASE}/lib/libekhtml.a:textproc/ekhtml -USES= tar:tgz -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 56 70 CONFIGURE_ARGS= --enable-html_parse .include Index: head/textproc/pecl-stem/Makefile =================================================================== --- head/textproc/pecl-stem/Makefile (revision 417718) +++ head/textproc/pecl-stem/Makefile (revision 417719) @@ -1,25 +1,23 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= stem PORTVERSION= 1.5.1 CATEGORIES= textproc pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PECL extension which provides word stemming LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 post-configure: echo "#define HAVE_XDL_ALLOCATOR_PRIV 1" >>${WRKSRC}/config.h .include Index: head/textproc/pecl-syck/Makefile =================================================================== --- head/textproc/pecl-syck/Makefile (revision 417718) +++ head/textproc/pecl-syck/Makefile (revision 417719) @@ -1,29 +1,27 @@ # Created by: Ditesh Shashikant Gathani # $FreeBSD$ PORTNAME= syck PORTVERSION= 0.9.3 PORTREVISION= 1 CATEGORIES= textproc pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= ports@FreeBSD.org COMMENT= PECL extension which facilitates YAML parsing LICENSE= PHP301 BROKEN_powerpc64= Does not build BUILD_DEPENDS= ${LOCALBASE}/lib/libsyck.a:textproc/syck -USES= tar:tgz -USE_PHP= spl hash -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz +USE_PHP= spl:build hash:build IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --enable-syck .include Index: head/textproc/pecl-wbxml/Makefile =================================================================== --- head/textproc/pecl-wbxml/Makefile (revision 417718) +++ head/textproc/pecl-wbxml/Makefile (revision 417719) @@ -1,28 +1,26 @@ # Created by: Florian Smeets # $FreeBSD$ PORTNAME= wbxml PORTVERSION= 1.0.3 PORTREVISION= 2 CATEGORIES= textproc pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= flo@FreeBSD.org COMMENT= PECL extension that provides WBXML conversion capabilities LIB_DEPENDS= libwbxml2.so:textproc/wbxml2 -USES=tar:tgz +USES= php:ext tar:tgz CONFIGURE_ARGS= --with-wbxml=${LOCALBASE} \ --with-libexpat-dir=${LOCALBASE} -USE_PHP= yes -USE_PHPEXT= yes IGNORE_WITH_PHP= 70 post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/config.m4 .include Index: head/textproc/pecl-xdiff/Makefile =================================================================== --- head/textproc/pecl-xdiff/Makefile (revision 417718) +++ head/textproc/pecl-xdiff/Makefile (revision 417719) @@ -1,25 +1,23 @@ # Created by: Larry Rosenman # $FreeBSD$ PORTNAME= xdiff PORTVERSION= 1.5.2 CATEGORIES= textproc pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= PECL extension to create/apply binary and text patches LICENSE= PHP301 LIB_DEPENDS= libxdiff.so:textproc/libxdiff -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 LDFLAGS+= -L${LOCALBASE}/lib .include Index: head/textproc/pecl-xslcache/Makefile =================================================================== --- head/textproc/pecl-xslcache/Makefile (revision 417718) +++ head/textproc/pecl-xslcache/Makefile (revision 417719) @@ -1,22 +1,20 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= xslcache PORTVERSION= 0.7.2 CATEGORIES= textproc pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= Caches the parsed XSL stylesheet between sessions LICENSE= PHP301 -USES= tar:tgz -USE_PHP= dom xml xsl -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz +USE_PHP= dom:build xml:build xsl:build IGNORE_WITH_PHP= 70 .include Index: head/textproc/pecl-yaml/Makefile =================================================================== --- head/textproc/pecl-yaml/Makefile (revision 417718) +++ head/textproc/pecl-yaml/Makefile (revision 417719) @@ -1,25 +1,22 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= yaml PORTVERSION= 1.2.0 CATEGORIES= textproc pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= YAML-1.1 parser and emitter LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libyaml.so:textproc/libyaml -USES= tar:tgz -USE_PHP= yes -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/textproc/php-mecab/Makefile =================================================================== --- head/textproc/php-mecab/Makefile (revision 417718) +++ head/textproc/php-mecab/Makefile (revision 417719) @@ -1,28 +1,24 @@ # Created by: Gasol Wu # $FreeBSD$ -PORTNAME= mecab +PORTNAME= php-mecab PORTVERSION= 0.6.0 DISTVERSIONPREFIX= v CATEGORIES= textproc -PKGNAMEPREFIX= php- MAINTAINER= gasol.wu@gmail.com COMMENT= PHP bindings of the MeCab LICENSE= MIT LIB_DEPENDS= libmecab.so:japanese/mecab USE_GITHUB= yes GH_ACCOUNT= rsky -GH_PROJECT= ${PKGNAMEPREFIX}${PORTNAME} -WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}/mecab +WRKSRC_SUBDIR= mecab CONFIGURE_ARGS+= --with-mecab=${LOCALBASE}/bin/mecab-config -USE_PHP= yes -USE_PHPIZE= yes -USE_PHPEXT= yes -USES= tar:tgz +USES= php:ext tar:tgz +PHP_MODNAME= mecab .include Index: head/textproc/redland-bindings/Makefile =================================================================== --- head/textproc/redland-bindings/Makefile (revision 417718) +++ head/textproc/redland-bindings/Makefile (revision 417719) @@ -1,37 +1,37 @@ # Created by: Russell Cloran # $FreeBSD$ PORTNAME= redland-bindings PORTVERSION= 1.0.17.1 PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://download.librdf.org/source/ MAINTAINER= kde@FreeBSD.org COMMENT= Language bindings for the Redland package # Even though GPLv3 is not explicitly mentioned in the port's LICENSE.html, one # of its licenses is "GPLv2 or newer", which includes GPLv3. LICENSE= APACHE20 GPLv2 GPLv3 LGPL21 LICENSE_COMB= dual LIB_DEPENDS= librdf.so:textproc/redland GNU_CONFIGURE= yes USES= pkgconfig OPTIONS_DEFINE= PERL PHP PYTHON RUBY OPTIONS_DEFAULT=PYTHON OPTIONS_SUB= yes PERL_CONFIGURE_WITH= perl PERL_USES= perl5 PERL_USE= PERL5=build,run PHP_CONFIGURE_WITH= php -PHP_USE= PHP=yes PHP_BUILD=yes +PHP_USES= php:build PYTHON_CONFIGURE_WITH= python PYTHON_USES= python RUBY_CONFIGURE_WITH= ruby RUBY_USE= RUBY=yes .include Index: head/textproc/zorba/Makefile =================================================================== --- head/textproc/zorba/Makefile (revision 417718) +++ head/textproc/zorba/Makefile (revision 417719) @@ -1,113 +1,113 @@ # Created by: gahr # $FreeBSD$ PORTNAME= zorba PORTVERSION= 2.7.0 PORTREVISION= 8 CATEGORIES= textproc MASTER_SITES= https://launchpadlibrarian.net/119058962/ DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= General purpose C++ XQuery processor LICENSE= APACHE20 LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3 \ libicudata.so:devel/icu \ libcurl.so:ftp/curl \ libtidy.so:www/tidy-lib \ libuuid.so:misc/e2fsprogs-libuuid RUN_DEPENDS= fop:textproc/fop WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= PHP PYTHON RUBY JAVA DOCS OPTIONS_SUB= yes DOCS_BUILD_DEPENDS+= doxygen:devel/doxygen PHP_CMAKE_ON= -DWITH_PHP5:BOOL=true PHP_CMAKE_OFF= -DWITH_PHP5:BOOL=false PYTHON_CMAKE_ON= -DWITH_PYTHON:BOOL=true PYTHON_CMAKE_OFF= -DWITH_PYTHON:BOOL=false RUBY_CMAKE_ON= -DWITH_RUBY:BOOL=true RUBY_CMAKE_OFF= -DWITH_RUBY:BOOL=false JAVA_CMAKE_ON= -DWITH_JAVA:BOOL=true JAVA_CMAKE_OFF= -DWITH_JAVA:BOOL=false # Both install include/xqc.h CONFLICTS= xqilla-[0-9]* USE_GNOME= libxml2 libxslt USE_LDCONFIG= yes USE_CXXSTD= c++11 USES= cmake:outsource compiler:c++11-lib execinfo CXXFLAGS+= -I${LOCALBASE}/include -O1 # compiler hangs with -O2 on CURRENT LDFLAGS+= -L${LOCALBASE}/lib CMAKE_ARGS= -DCMAKE_REQUIRED_FLAGS:STRING="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \ -DLOCALBASE:STRING=${LOCALBASE} \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} PLIST_SUB+= FULLVERSION=${PORTVERSION} \ MIDVERSION=${PORTVERSION:R} \ MINVERSION=${PORTVERSION:R:R} .if exists(/usr/lib/libexecinfo.so) LOC_EXECINFO= /usr/lib/libexecinfo.so .else LOC_EXECINFO= ${LOCALBASE}/lib/libexecinfo.so .endif .include .if ${PORT_OPTIONS:MPHP} USE_PHP= tokenizer -USE_PHP_BUILD= yes +USES+= php:build WITH_SWIG= yes CMAKE_ARGS+= -DPHP5_INSTALL_PATH:FILEPATH="lib/php/${PHP_EXT_DIR}" PLIST_SUB+= PHP_EXTLIBDIR="lib/php/${PHP_EXT_DIR}" .endif .if ${PORT_OPTIONS:MPYTHON} USES+= python WITH_SWIG= yes CMAKE_ARGS+= -DPYTHON_SWIG_INSTALL_DIR:FILEPATH=${PYTHONPREFIX_SITELIBDIR:S/${PREFIX}\///} PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR:S/${PREFIX}\///} .endif .if ${PORT_OPTIONS:MRUBY} USE_RUBY= yes WITH_SWIG= yes .endif .if ${PORT_OPTIONS:MJAVA} USE_JAVA= yes CONFIGURE_ENV+= JAVA_HOME=${JAVA_HOME} CATEGORIES+= java WITH_SWIG= yes CMAKE_ARGS+= -DJAVA_LIBDIR:PATH=${JAVALIBDIR} .endif .if defined(WITH_SWIG) BUILD_DEPENDS+= swig2.0:devel/swig20 .endif post-patch: ${REINPLACE_CMD} -e 's|%%LIBEXECINFO%%|${LOC_EXECINFO}|' \ -e 's|FreeBSD|${OPSYS}|g' ${WRKSRC}/CMakeLists.txt ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/cmake_modules/FindPHP5.cmake .if !${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e '/ADD_SUBDIRECTORY(doc)/d' \ ${WRKSRC}/CMakeLists.txt .endif post-install: ${LN} -sf libzorba_simplestore.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libzorba_simplestore.so.${PORTVERSION:R:R} test: build cd ${BUILD_WRKSRC} && ${MAKE} test .include Index: head/www/ach/Makefile =================================================================== --- head/www/ach/Makefile (revision 417718) +++ head/www/ach/Makefile (revision 417719) @@ -1,35 +1,35 @@ # Created by: Carlo Strub # $FreeBSD$ PORTNAME= ACH PORTVERSION= 1.0.3 CATEGORIES= www MASTER_SITES= GHC EXTRACT_SUFX= -alpha.tar MAINTAINER= danilo@FreeBSD.org COMMENT= Free, open source tool for complex research problems LICENSE= GPLv3 USE_MYSQL= yes -USE_PHP= yes +USES= php USE_GITHUB= yes GH_ACCOUNT= Burton GH_PROJECT= Analysis-of-Competing-Hypotheses WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-alpha NO_BUILD= yes SUB_FILES+= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message WWWDIR?= ${PREFIX}/www/${PORTNAME} # Get rid of temp files packaged in the upstream distfile post-extract: @${FIND} ${WRKSRC} -type f -not -name .htaccess -a \ -name .\* -delete do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .include Index: head/www/caldavzap/Makefile =================================================================== --- head/www/caldavzap/Makefile (revision 417718) +++ head/www/caldavzap/Makefile (revision 417719) @@ -1,25 +1,24 @@ # Created by: gahr # $FreeBSD$ PORTNAME= caldavzap PORTVERSION= 0.13.1 PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://www.inf-it.com/ DISTNAME= CalDavZAP_${PORTVERSION} MAINTAINER= gahr@FreeBSD.org COMMENT= CalDAV web client implementation LICENSE= AGPLv3 WRKSRC= ${WRKDIR}/${PORTNAME} -USE_PHP= yes -USES= zip +USES= php zip NO_BUILD= yes do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .include Index: head/www/crp/Makefile =================================================================== --- head/www/crp/Makefile (revision 417718) +++ head/www/crp/Makefile (revision 417719) @@ -1,34 +1,33 @@ # Created by: Lars Eggert # $FreeBSD$ PORTNAME= crp PORTVERSION= 20031012 PORTREVISION= 1 CATEGORIES= www science MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Oct-12-2003 DISTNAME= CRP EXTRACT_SUFX= .tgz MAINTAINER= lars.eggert@gmx.net COMMENT= Automates the process of being the program chair of a conference -USE_PHP= yes -WANT_PHP_WEB= yes +USES= php:web NO_BUILD= yes PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SPOOLDIR?= /var/spool/conference PKGMESSAGE= ${WRKDIR}/pkg-message post-patch: @${SED} -e 's|%%WWWDIR%%|${WWWDIR}|g; s|%%DISTNAME%%|${DISTNAME}|g' \ ${MASTERDIR}/pkg-message > ${PKGMESSAGE} do-install: @${MKDIR} -m 755 ${STAGEDIR}${WWWDIR} ${STAGEDIR}${SPOOLDIR} @${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/ @${SED} -e 's#/var/www/html#${WWWDIR}#' \ ${WRKSRC}/Code/confHeader.inc > ${STAGEDIR}${WWWDIR}/Code/confHeader.inc .include Index: head/www/dddbl/Makefile =================================================================== --- head/www/dddbl/Makefile (revision 417718) +++ head/www/dddbl/Makefile (revision 417719) @@ -1,25 +1,23 @@ # Created by: Torsten Zühlsdorff # $FreeBSD$ PORTNAME= dddbl PORTVERSION= 2.0.1 CATEGORIES= www MASTER_SITES= http://www.dddbl.de/dddbl-versions/ MAINTAINER= tz@FreeBSD.org COMMENT= Definition Driven Database Layer for PHP -USES= tar:bzip2 +USES= php tar:bzip2 NO_BUILD= yes NO_ARCH= yes - -USE_PHP= yes WRKSRC= ${WRKDIR}/dddbl2 do-install: ${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) .include Index: head/www/encode-explorer/Makefile =================================================================== --- head/www/encode-explorer/Makefile (revision 417718) +++ head/www/encode-explorer/Makefile (revision 417719) @@ -1,33 +1,31 @@ # Created by: Frank Wall # $FreeBSD$ PORTNAME= encode PORTVERSION= 6.3 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}${PKGNAMESUFFIX}/${PORTNAME}${PKGNAMESUFFIX}/${PORTNAME}${PKGNAMESUFFIX}_${PORTVERSION} PKGNAMESUFFIX= -explorer DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}_${PORTVERSION} MAINTAINER= fw@moov.de COMMENT= PHP script to browse, create folders, upload files etc -USE_PHP= yes -WANT_PHP_WEB= yes -USES= zip +USES= php:web zip NO_BUILD= yes OPTIONS_DEFINE= DOCS WRKSRC= ${WRKDIR}/${DISTNAME} WWWDIR= ${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} .include do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} ${INSTALL} ${WRKSRC}/index.php ${STAGEDIR}${WWWDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${CP} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} .include Index: head/www/flat-frog/Makefile =================================================================== --- head/www/flat-frog/Makefile (revision 417718) +++ head/www/flat-frog/Makefile (revision 417719) @@ -1,31 +1,30 @@ # Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= flat-frog PORTVERSION= 2.2.13 CATEGORIES= www MASTER_SITES= SF/flatfrog/flatfrog/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Templating engine working in php LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING NO_BUILD= yes -USE_PHP= yes -USES= zip +USES= php zip OPTIONS_DEFINE= DOCS EXAMPLES do-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DATADIR}/plugins ${INSTALL_DATA} ${WRKSRC}/src/class.* ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/src/plugins/* ${STAGEDIR}${DATADIR}/plugins ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${EXAMPLESDIR}/templates ${INSTALL_DATA} ${WRKSRC}/demo/test.* ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/demo/templates/* ${STAGEDIR}${EXAMPLESDIR}/templates ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} .include Index: head/www/fluxbb/Makefile =================================================================== --- head/www/fluxbb/Makefile (revision 417718) +++ head/www/fluxbb/Makefile (revision 417719) @@ -1,32 +1,31 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= fluxbb PORTVERSION= 1.5.9 CATEGORIES= www MASTER_SITES= http://fluxbb.org/download/releases/${PORTVERSION}/ MAINTAINER= wen@FreeBSD.org COMMENT= Fast and lightweight PHP-powered discussion board LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_powerpc64= Does not build -USES= cpe +USES= cpe php SUB_FILES= pkg-message NO_BUILD= yes -USE_PHP= yes OPTIONS_DEFINE= MYSQL PGSQL SQLITE OPTIONS_DEFAULT= MYSQL MYSQL_USE= PHP=mysql PGSQL_USE= PHP=pgsql SQLITE_USE= PHP=sqlite do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .include Index: head/www/geeklog/Makefile =================================================================== --- head/www/geeklog/Makefile (revision 417718) +++ head/www/geeklog/Makefile (revision 417719) @@ -1,38 +1,37 @@ # Created by: Bob Bomar # $FreeBSD$ PORTNAME= geeklog PORTVERSION= 1.6.1 PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.geeklog.net/filemgmt/upload_dir/ MAINTAINER= ports@FreeBSD.org COMMENT= Web content management system LICENSE= GPLv2+ -USES= cpe +USES= cpe php PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_FILES= pkg-message USE_MYSQL= yes NO_BUILD= yes -USE_PHP= yes do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} @(cd ${WRKSRC} && \ ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR} "! -name db-config.php \ -or -name siteconfig.php") ${INSTALL_DATA} ${WRKSRC}/db-config.php ${STAGEDIR}${WWWDIR}/db-config.php.sample ${INSTALL_DATA} ${WRKSRC}/public_html/siteconfig.php \ ${STAGEDIR}${WWWDIR}/public_html/siteconfig.php.sample @${RM} ${STAGEDIR}${WWWDIR}/public_html/siteconfig.php .for i in db-config.php error.log siteconfig.php geeklog.rss @${FIND} ${STAGEDIR}${WWWDIR} -name ${i} | ${XARGS} ${CHMOD} 755 .endfor .include Index: head/www/iwebcal/Makefile =================================================================== --- head/www/iwebcal/Makefile (revision 417718) +++ head/www/iwebcal/Makefile (revision 417719) @@ -1,27 +1,26 @@ # Created by: Babak Farrokhi # $FreeBSD$ PORTNAME= iwebcal PORTVERSION= 2.1 PORTREVISION= 1 CATEGORIES= www deskutils MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Webbased iCal calendar viewer -USES= tar:tgz +USES= php tar:tgz NO_BUILD= yes NO_ARCH= yes -USE_PHP= yes WRKSRC= ${WRKDIR}/iWebCal PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" post-extract: -@${FIND} ${WRKSRC}/ -type d -name '.svn' | ${XARGS} ${RM} -rf do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} ${CP} -R ${WRKSRC}/* ${STAGEDIR}${WWWDIR} .include Index: head/www/mod_myvhost/Makefile =================================================================== --- head/www/mod_myvhost/Makefile (revision 417718) +++ head/www/mod_myvhost/Makefile (revision 417719) @@ -1,61 +1,60 @@ # Created by: Olli Hauer # $FreeBSD$ PORTNAME= mod_myvhost PORTVERSION= 0.21 CATEGORIES= www MASTER_SITES= http://mod-myvhost.googlecode.com/files/ PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} MAINTAINER= apache@FreeBSD.org COMMENT= Apache module for dynamically configured mass virtual hosting with php LICENSE= APACHE20 MANUAL_PACKAGE_BUILD= needs apr and apache with DBD options enabled USE_APACHE= 22+ PORTDOCS= changelog.html documentation.html download.html \ index.html my.css PORTEXAMPLES= vhosts.sql httpd.conf.add OPTIONS_DEFINE= PHP_MODULE DEBUG_MODULE PHP DEBUG OPTIONS_DEFAULT= PHP_MODULE PHP_MODULE_DESC= Enable PHP DEBUG_MODULE_DESC= Enable debugging .include .if ${PORT_OPTIONS:MDEBUG_MODULE} MAKE_ENV+= WITH_DEBUG=true STRIP= # keep debug information .endif .if ${PORT_OPTIONS:MPHP_MODULE} MAKE_ENV+= WITH_PHP=true -USE_PHP= yes -WANT_PHP_MOD= yes +USES+= php:mod .endif pre-patch: @${REINPLACE_CMD} -e "s|= apxs|= ${APXS}|" \ -e "s|= rm|= ${RM}|" -e "s|= ln|= ${LN}|" \ -e "s|= cp|= ${CP}|" ${WRKSRC}/Makefile post-patch: ${REINPLACE_CMD} -e 's|@APXS_STAGE@|-S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR}|' \ ${WRKSRC}/Makefile pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR} .include Index: head/www/mod_vhs/Makefile =================================================================== --- head/www/mod_vhs/Makefile (revision 417718) +++ head/www/mod_vhs/Makefile (revision 417719) @@ -1,78 +1,75 @@ # Created by: Xavier Beaudouin # $FreeBSD$ PORTNAME= mod_vhs PORTVERSION= 1.1.0 CATEGORIES= www MASTER_SITES= ftp://ftp.oav.net/openvisp/${PORTNAME}/ DIST_SUBDIR= apache2 MAINTAINER= kiwi@oav.net COMMENT= Mass virtual hosting using mod_ldap or mod_dbd with Apache 2.2.x LICENSE= APACHE11 MANUAL_PACKAGE_BUILD= needs apr with LDAP and DBD options enabled -USES= cpe +USES= php:mod,build cpe CPE_VENDOR= xavier_beaudouin USE_APACHE= 22+ -USE_PHP= yes -USE_PHP_BUILD= yes -WANT_PHP_MOD= yes AP_FAST_BUILD= yes AP_GENPLIST= yes SRC_FILE= *.c AP_INC+= ${LOCALBASE}/include/home \ -I ${LOCALBASE}/include/php \ -I ${LOCALBASE}/include/php/Zend \ -I ${LOCALBASE}/include/php/TSRM \ -I ${LOCALBASE}/include/php/main AP_EXTRAS+= -DHAVE_MOD_PHP_SUPPORT PORTDOCS= ChangeLog AUTHORS README README.logs README.mod_suphp \ README.phpopt THANKS WARNING WARNING.THREADS README.LDAP OPTIONS_DEFINE= LDAP DBD ITK VDEBUG DOCS OPTIONS_DEFAULT= LDAP LDAP_DESC= mod_ldap support DBD_DESC= mod_dbd support ITK_DESC= mpm-itk support (needs a specific apache) VDEBUG_DESC= debug version (very verbose !) .include ### mod_vhs options .if ${PORT_OPTIONS:MLDAP} .if ! ${PORT_OPTIONS:MDBD} AP_EXTRAS+= -DHAVE_LDAP_SUPPORT .else .error You cannot use LDAP and DBD at the same time. .endif .endif .if ${PORT_OPTIONS:MDBD} .if ! ${PORT_OPTIONS:MLDAP} AP_EXTRAS+= -DHAVE_MOD_DBD_SUPPORT .else .error You cannot use LDAP and DBD at the same time. .endif .endif .if ${PORT_OPTIONS:MITK} AP_EXTRAS+= -DHAVE_MPM_ITK_SUPPORT .endif .if ${PORT_OPTIONS:MVDEBUG} AP_EXTRAS+= -DVH_DEBUG .endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} # TODO : # Add suphp support .include Index: head/www/pecl-APC/Makefile =================================================================== --- head/www/pecl-APC/Makefile (revision 417718) +++ head/www/pecl-APC/Makefile (revision 417719) @@ -1,49 +1,47 @@ # Created by: Thierry Thomas # $FreeBSD$ PORTNAME= APC PORTVERSION= 3.1.14 PORTREVISION= 1 CATEGORIES= www #MASTER_SITES= http://pecl.php.net/get/ MASTER_SITES= LOCAL/sunpoet PKGNAMEPREFIX= pecl- DISTNAME= ${PORTNAME}-3.1.13 DIST_SUBDIR= PECL MAINTAINER= sunpoet@FreeBSD.org COMMENT= Alternative PHP Cache LICENSE= PHP301 DEPRECATED= Unmaintained by upstream and not work for PHP 5.5+ EXPIRATION_DATE=2016-03-15 OPTIONS_DEFINE= DOCS FILEHITS IPC SEMAPHORES SPINLOCKS FILEHITS_DESC= Per request cache info IPC_DESC= IPC shm memory support (default: mmap) SEMAPHORES_DESC=System V IPC semaphores (default: fcntl) SPINLOCKS_DESC= Spinlocks (experimental) CFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS= --enable-apc IGNORE_WITH_PHP=55 56 70 PHP_MODNAME= ${PORTNAME:tl} PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message -USE_PHP= yes -USE_PHPEXT= yes -USES= tar:tgz +USES= php:ext tar:tgz PORTDOCS= CHANGELOG INSTALL NOTICE apc.php FILEHITS_CONFIGURE_ARGS=--enable-apc-filehits IPC_CONFIGURE_ARGS= --disable-apc-mmap SEMAPHORES_CONFIGURE_ARGS= --enable-apc-sem SPINLOCKS_CONFIGURE_ARGS= --enable-apc-spinlocks post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .include Index: head/www/pecl-amfext/Makefile =================================================================== --- head/www/pecl-amfext/Makefile (revision 417718) +++ head/www/pecl-amfext/Makefile (revision 417719) @@ -1,28 +1,26 @@ # Created by: Piotr Rybicki # $FreeBSD$ PORTNAME= amfext PORTVERSION= 0.9.2 PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= meritus@innervision.pl COMMENT= Implements encoding and decoding of AMF and AMF3 messages LICENSE= PHP30 -USES= dos2unix libtool tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= dos2unix libtool php:ext tar:tgz PHP_MODNAME= amf IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --with-amf CPPFLAGS+= -I${LOCALBASE}/include/php/ext/standard CFLAGS+= -Wno-deprecated .include Index: head/www/pecl-http/Makefile =================================================================== --- head/www/pecl-http/Makefile (revision 417718) +++ head/www/pecl-http/Makefile (revision 417719) @@ -1,34 +1,32 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= http PORTVERSION= 3.0.1 CATEGORIES= www MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DISTNAME= pecl_${PORTNAME}-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Extended HTTP Support LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_powerpc64= Does not build BUILD_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/pecl-raphf2 \ ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/propro.so:devel/pecl-propro2 \ re2c:devel/re2c RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/pecl-raphf2 \ ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/propro.so:devel/pecl-propro2 LIB_DEPENDS= libcurl.so:ftp/curl \ libevent.so:devel/libevent2 PHP_DEFAULT= 7.0 IGNORE_WITH_PHP= 55 56 -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz CONFLICTS= pecl-http[12]* .include Index: head/www/pecl-http1/Makefile =================================================================== --- head/www/pecl-http1/Makefile (revision 417718) +++ head/www/pecl-http1/Makefile (revision 417719) @@ -1,31 +1,28 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= http PORTVERSION= 1.7.6 CATEGORIES= www MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- PKGNAMESUFFIX= 1 DISTNAME= pecl_http-${PORTVERSION} MAINTAINER= miwi@FreeBSD.org COMMENT= Extended HTTP Support LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcurl.so:ftp/curl -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes -PHP_MODNAME= http +USES= php:ext tar:tgz IGNORE_WITH_PHP= 56 70 CONFLICTS= pecl-http-* CONFIGURE_ARGS+= --with-http-curl-requests \ --with-http-zlib-compression \ --with-http-magic-mime .include Index: head/www/pecl-http2/Makefile =================================================================== --- head/www/pecl-http2/Makefile (revision 417718) +++ head/www/pecl-http2/Makefile (revision 417719) @@ -1,32 +1,30 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= http PORTVERSION= 2.5.6 CATEGORIES= www MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- PKGNAMESUFFIX= 2 DISTNAME= pecl_${PORTNAME}-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Extended HTTP Support LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/pecl-raphf \ ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/propro.so:devel/pecl-propro \ re2c:devel/re2c RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/pecl-raphf \ ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/propro.so:devel/pecl-propro LIB_DEPENDS= libcurl.so:ftp/curl \ libevent.so:devel/libevent2 IGNORE_WITH_PHP=70 -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz CONFLICTS= pecl-http1* pecl-http-* .include Index: head/www/pecl-solr/Makefile =================================================================== --- head/www/pecl-solr/Makefile (revision 417718) +++ head/www/pecl-solr/Makefile (revision 417719) @@ -1,25 +1,23 @@ # Created by: Hung-Yi Chen # $FreeBSD$ PORTNAME= solr PORTVERSION= 1.1.1 CATEGORIES= www MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz MAINTAINER= gaod@hychen.org COMMENT= The Apache Solr PHP extension BROKEN_powerpc64= Does not build LIB_DEPENDS= libcurl.so:ftp/curl \ libxml2.so:textproc/libxml2 -USE_PHP= json -USE_PHPEXT= yes -USE_PHPIZE= yes -USE_PHP_BUILD= yes +USES= php:ext +USE_PHP= json:build IGNORE_WITH_PHP= 70 .include Index: head/www/pecl-sphinx/Makefile =================================================================== --- head/www/pecl-sphinx/Makefile (revision 417718) +++ head/www/pecl-sphinx/Makefile (revision 417719) @@ -1,28 +1,26 @@ # Created by: Max Baryshnikov # $FreeBSD$ PORTNAME= sphinx DISTVERSION= 1.3.3 CATEGORIES= www MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= mephius@gmail.com COMMENT= Sphinx search engine php client LICENSE= PHP301 LIB_DEPENDS= libsphinxclient.so:textproc/libsphinxclient -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message CFLAGS+= -I${LOCALBASE}/include .include Index: head/www/pecl-swish/Makefile =================================================================== --- head/www/pecl-swish/Makefile (revision 417718) +++ head/www/pecl-swish/Makefile (revision 417719) @@ -1,26 +1,24 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= swish PORTVERSION= 0.5.0 CATEGORIES= www pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= Swish-e bindings for PHP LICENSE= PHP301 BUILD_DEPENDS= swish-config:www/swish-e RUN_DEPENDS:= swish-config:www/swish-e -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --enable-swish --with-swish=${LOCALBASE}/bin .include Index: head/www/pecl-twig/Makefile =================================================================== --- head/www/pecl-twig/Makefile (revision 417718) +++ head/www/pecl-twig/Makefile (revision 417719) @@ -1,22 +1,19 @@ # Created by: Joe Horn # $FreeBSD$ PORTNAME= twig PORTVERSION= 1.24.1 CATEGORIES= www MASTER_SITES= http://pear.twig-project.org/get/ PKGNAMEPREFIX= pecl- DISTNAME= CTwig-${PORTVERSION} MAINTAINER= tz@FreeBSD.org COMMENT= Twig C extension to improve performance of the Twig template language LICENSE= BSD3CLAUSE -USE_PHP= yes -USE_PHPIZE= yes -USE_PHPEXT= yes -USES= tar:tgz +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/www/pecl-varnish/Makefile =================================================================== --- head/www/pecl-varnish/Makefile (revision 417718) +++ head/www/pecl-varnish/Makefile (revision 417719) @@ -1,30 +1,28 @@ # Created by: Jim Ohlstein # $FreeBSD$ PORTNAME= varnish PORTVERSION= 1.2.1 PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= jim@ohlste.in COMMENT= Varnish cache extension LICENSE= BSD2CLAUSE BROKEN= fails to build DEPRECATED= Broken for more than 6 months EXPIRATION_DATE= 2016-07-04 BUILD_DEPENDS= varnish4>=0:www/varnish4 -USES= tar:tgz -USE_PHP= hash -USE_PHP_BUILD= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz +USE_PHP= hash:build IGNORE_WITH_PHP= 52 .include Index: head/www/pecl-yaf/Makefile =================================================================== --- head/www/pecl-yaf/Makefile (revision 417718) +++ head/www/pecl-yaf/Makefile (revision 417719) @@ -1,28 +1,24 @@ # Created by: johnpupu # $FreeBSD$ PORTNAME= yaf PORTVERSION= 2.3.5 CATEGORIES= www MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= johnpupu@gmail.com COMMENT= MVC framework written as a C PHP extension LICENSE= PHP301 LIB_DEPENDS= libpcre.so:devel/pcre CFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS= --with-php-config=${PREFIX}/bin/php-config -USES= tar:tgz -PHP_MODNAME= ${PORTNAME:tl} -USE_PHP= yes -USE_PHPEXT= yes -USE_PHPIZE= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 .include Index: head/www/pecl-yar/Makefile =================================================================== --- head/www/pecl-yar/Makefile (revision 417718) +++ head/www/pecl-yar/Makefile (revision 417719) @@ -1,34 +1,30 @@ # Created by: John Chen # $FreeBSD$ PORTNAME= yar PORTVERSION= 1.2.5 CATEGORIES= www MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= johnpupu@gmail.com COMMENT= Yar (Yet another RPC framework) is a light, concurrent RPC framework LICENSE= PHP301 BROKEN_powerpc64= Does not build -USES= tar:tgz -PHP_MODNAME= yar -USE_PHP= json curl -USE_PHPEXT= yes -USE_PHPIZE= yes -USE_PHP_BUILD= yes +USES= php:ext tar:tgz +USE_PHP= json:build curl:build IGNORE_WITH_PHP= 70 CFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS= --with-php-config=${PREFIX}/bin/php-config OPTIONS_DEFINE= MSGPACK MSGPACK_DESC= Enable MSGPACK module MSGPACK_BUILD_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/msgpack.so:devel/pecl-msgpack MSGPACK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/msgpack.so:devel/pecl-msgpack .include Index: head/www/phalcon/Makefile =================================================================== --- head/www/phalcon/Makefile (revision 417718) +++ head/www/phalcon/Makefile (revision 417719) @@ -1,32 +1,30 @@ # Created by: Jin-Sih Lin # $FreeBSD$ PORTNAME= phalcon PORTVERSION= 2.0.13 DISTVERSIONPREFIX= ${PORTNAME}-v CATEGORIES= www MAINTAINER= linpct@gmail.com COMMENT= Phalcon PHP Framework written in C-language LICENSE= BSD3CLAUSE -USE_PHP= hash pdo -USE_PHPEXT= yes -USE_PHPIZE= yes -USE_PHP_BUILD= yes +USES= php:ext +USE_PHP= hash:build pdo:build IGNORE_WITH_PHP= 70 ONLY_FOR_ARCHS= amd64 i386 USE_GITHUB= yes GH_ACCOUNT= phalcon GH_PROJECT= c${PORTNAME} PBITS= ${ARCH:S/amd64/64/:S/i386/32/:S/x86_64/64/} WRKSRC_SUBDIR= build/${PBITS}bits CFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS= --enable-phalcon .include Index: head/www/php-screw/Makefile =================================================================== --- head/www/php-screw/Makefile (revision 417718) +++ head/www/php-screw/Makefile (revision 417719) @@ -1,49 +1,48 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= php-screw PORTVERSION= 1.5 CATEGORIES= www security MASTER_SITES= SF/${PORTNAME}/OldFiles DISTNAME= php_screw-${PORTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= PHP script encryption tool CRYPTKEY?= 11152, 368, 192, 1281, 62 -USES= libtool +USES= php:phpize libtool USE_PHP= zlib -USE_PHPIZE= yes PLIST_SUB= PHP_EXTDIR="${PHP_EXT_DIR}" SUB_FILES= pkg-message CONFIGURE_ARGS+= --enable-php_screw=shared pre-everything:: @${ECHO} "" @${ECHO} "To achieve real security, define your own encryption" @${ECHO} "seed key (CRYPTKEY); longer is better." @${ECHO} "" @${ECHO} "make CRYPTKEY=\"234, 84, 39664, 771, 9853\"" @${ECHO} "" post-patch: @${ECHO} "short pm9screw_mycryptkey[] = { ${CRYPTKEY} };" > \ ${WRKSRC}/my_screw.h do-build: @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) @(cd ${BUILD_WRKSRC}/tools; ${SETENV} ${MAKE_ENV} ${MAKE} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR} @${INSTALL_DATA} ${WRKSRC}/modules/php_screw.so \ ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR} @${INSTALL_PROGRAM} ${WRKSRC}/tools/screw ${STAGEDIR}${PREFIX}/bin @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/php_screw.so .include Index: head/www/php-templates/Makefile =================================================================== --- head/www/php-templates/Makefile (revision 417718) +++ head/www/php-templates/Makefile (revision 417719) @@ -1,37 +1,35 @@ # Created by: vanilla # $FreeBSD$ PORTNAME= php-templates PORTVERSION= 1.7.2 PORTREVISION= 1 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.7:ext \ SF/${PORTNAME}/${PORTNAME}-doc/html:doc DISTNAME= php_templates-${PORTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:ext DISTFILES+= php_templates-doc-eng-1.1${EXTRACT_SUFX}:doc MAINTAINER= ports@FreeBSD.org COMMENT= Template framework for PHP WRKSRC= ${WRKDIR}/templates -USES= dos2unix +USES= dos2unix php:phpize -USE_PHP= yes -USE_PHPIZE= yes IGNORE_WITH_PHP= 70 CONFIGURE_ARGS= --enable-templates=shared SUB_FILES= pkg-message PORTDOCS= * do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR} ${INSTALL_LIB} ${WRKSRC}/modules/templates.so \ ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}-doc/* ${STAGEDIR}${DOCSDIR} .include Index: head/www/php55-opcache/Makefile =================================================================== --- head/www/php55-opcache/Makefile (revision 417718) +++ head/www/php55-opcache/Makefile (revision 417719) @@ -1,12 +1,12 @@ # Created by: Martin Matuska # $FreeBSD$ CATEGORIES= www MASTERDIR= ${.CURDIR}/../../lang/php55 PKGNAMESUFFIX= -opcache -USE_ZENDEXT= yes +USES= php:zend .include "${MASTERDIR}/Makefile" Index: head/www/php56-opcache/Makefile =================================================================== --- head/www/php56-opcache/Makefile (revision 417718) +++ head/www/php56-opcache/Makefile (revision 417719) @@ -1,12 +1,12 @@ # Created by: Martin Matuska # $FreeBSD$ CATEGORIES= www MASTERDIR= ${.CURDIR}/../../lang/php56 PKGNAMESUFFIX= -opcache -USE_ZENDEXT= yes +USES= php:zend .include "${MASTERDIR}/Makefile" Index: head/www/php70-opcache/Makefile =================================================================== --- head/www/php70-opcache/Makefile (revision 417718) +++ head/www/php70-opcache/Makefile (revision 417719) @@ -1,12 +1,12 @@ # Created by: Martin Matuska # $FreeBSD$ CATEGORIES= www MASTERDIR= ${.CURDIR}/../../lang/php70 PKGNAMESUFFIX= -opcache -USE_ZENDEXT= yes +USES= php:zend .include "${MASTERDIR}/Makefile" Index: head/www/phpbb3/Makefile =================================================================== --- head/www/phpbb3/Makefile (revision 417718) +++ head/www/phpbb3/Makefile (revision 417719) @@ -1,61 +1,60 @@ # Created by: Zhen REN # $FreeBSD$ PORTNAME= phpbb PORTVERSION= 3.1.9 CATEGORIES= www MASTER_SITES= https://www.phpbb.com/files/release/ PKGNAMESUFFIX= 3 DISTNAME= phpBB-${PORTVERSION} MAINTAINER= jochen@jochen-neumeister.de COMMENT= PHP-based bulletin board / discussion forum system LICENSE= GPLv2 CONFLICTS= phpbb-tw-[0-9]* phpbb-devel-[0-9]* \ phpbb-[0-2]* -USES= tar:bzip2 -USE_PHP= yes +USES= php tar:bzip2 OPTIONS_DEFINE= DOCS WWWDOCROOT?= www PHPBBURL?= phpBB3 WRKSRC= ${WRKDIR}/phpBB3 NO_BUILD= yes SUB_FILES= pkg-message SUB_LIST= PHPBBURL="${PHPBBURL}" \ PHPBBDIR="${PHPBBDIR}" PLIST_SUB+= PHPBBDIR=${PHPBBDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} PHPBBDIR= ${WWWDOCROOT}/${PHPBBURL} PKGOPTS= ${FILESDIR}/pkg-opts PORTDOCS= * .include options: @${ECHO_MSG} "===> Build options for ${PKGNAME}:" @${CAT} ${PKGOPTS} pre-everything:: .if !defined(BATCH) @${TEST} -r ${PKGOPTS} && \ (${ECHO_MSG} '-------------------------------------------------------------------------'; \ ${ECHO_MSG} 'Perform a "make options" to see a list of available installation options.'; \ ${ECHO_MSG} '-------------------------------------------------------------------------') .endif do-install: . if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} . endif ${MV} ${WRKSRC}/config.php ${WRKSRC}/config.php.sample cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${PHPBBDIR} .include Index: head/www/phpgroupware/Makefile =================================================================== --- head/www/phpgroupware/Makefile (revision 417718) +++ head/www/phpgroupware/Makefile (revision 417719) @@ -1,23 +1,21 @@ # $FreeBSD$ PORTNAME= phpgroupware PORTVERSION= 0.9.16.017 CATEGORIES= www MASTER_SITES= SF/phpgroupware/phpgroupware/${PORTVERSION} MAINTAINER= olgeni@FreeBSD.org COMMENT= Web based GroupWare system -USES= tar:bzip2 -USE_PHP= yes -WANT_PHP_MOD= yes +USES= php:mod tar:bzip2 IGNORE_WITH_PHP= 70 NO_BUILD= yes NO_ARCH= yes do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/www/data-dist/phpgroupware cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/www/data-dist/phpgroupware .include Index: head/www/phpmustache/Makefile =================================================================== --- head/www/phpmustache/Makefile (revision 417718) +++ head/www/phpmustache/Makefile (revision 417719) @@ -1,38 +1,37 @@ # Created by: Steve Polyack # $FreeBSD$ PORTNAME= phpmustache PORTVERSION= 2.10.0 DISTVERSIONPREFIX= v CATEGORIES= www MAINTAINER= ports@FreeBSD.org COMMENT= PHP5 code for Mustache LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= bobthecow GH_PROJECT= mustache.php -USE_PHP= yes -USE_PHP_BUILD= yes +USES= php:build NO_ARCH= yes SUB_FILES= pkg-message OPTIONS_DEFINE= EXAMPLES do-build: @${WRKSRC}/bin/build_bootstrap.php do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/mustache.php ${STAGEDIR}${DATADIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -R ${WRKSRC}/test/fixtures/examples/* ${STAGEDIR}${EXAMPLESDIR} .include Index: head/www/phpwebapp/Makefile =================================================================== --- head/www/phpwebapp/Makefile (revision 417718) +++ head/www/phpwebapp/Makefile (revision 417719) @@ -1,31 +1,29 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= phpwebapp PORTVERSION= 1.3 CATEGORIES= www MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Web application framework NO_ARCH= yes NO_BUILD= yes -USE_PHP= yes -USES= shebangfix -WANT_PHP_WEB= yes +USES= php:web shebangfix SHEBANG_FILES= web_app/boxes/menu/edit/xsl/test/*.sh \ web_app/boxes/webnotes/db/dump.sh \ web_app/convert/convert.php \ web_app/l10n/*.sh \ web_app/l10n-module/app/*.sh post-patch: @${FIND} ${WRKSRC}/web_app/ -name .svn -type d | ${XARGS} -J % ${RM} -fr % do-install: ${MKDIR} ${STAGEDIR}${WWWDIR}/ cd ${WRKSRC}/web_app/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/ .include Index: head/www/pnews/Makefile =================================================================== --- head/www/pnews/Makefile (revision 417718) +++ head/www/pnews/Makefile (revision 417719) @@ -1,31 +1,30 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= pnews PORTVERSION= 2.6.6 PORTEPOCH= 1 CATEGORIES= www news MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION} DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} MAINTAINER= ports@FreeBSD.org COMMENT= PHP Web-based News Reader LICENSE= GPLv2+ -USES= tar:tgz -USE_PHP= yes +USES= php tar:tgz NO_BUILD= yes PNEWSDIR?= www/pnews PNEWSFULLDIR= ${PREFIX}/${PNEWSDIR} PLIST_SUB+= PNEWSDIR="${PNEWSDIR}" post-extract: ${FIND} ${WRKSRC} -type d -name .svn | ${XARGS} ${RM} -r do-install: @${MKDIR} ${STAGEDIR}${PNEWSFULLDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PNEWSFULLDIR}) .include Index: head/www/pserv/Makefile =================================================================== --- head/www/pserv/Makefile (revision 417718) +++ head/www/pserv/Makefile (revision 417719) @@ -1,50 +1,45 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= pserv PORTVERSION= 3.4 CATEGORIES= www MASTER_SITES= SF EXTRACT_SUFX= .tar.Z MAINTAINER= ale@FreeBSD.org COMMENT= Portable and small webserver written in C LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes CONFLICTS= popular-[0-9]* OPTIONS_DEFINE= LOG PHP OPTIONS_DEFAULT= LOG PHP LOG_DESC= Enable loggin -.include +PHP_USES= php:cgi -.if ${PORT_OPTIONS:MPHP} -USE_PHP= yes -WANT_PHP_CGI= yes -.endif - post-patch: @${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|g;s|%%LOCALBASE%%|${LOCALBASE}|g" \ ${WRKSRC}/defaults/pserv.conf ${WRKSRC}/sources/main.h -.if ! ${PORT_OPTIONS:MLOG} + +post-patch-LOG-off: @${REINPLACE_CMD} "s|define LOG|undef LOG|" \ ${WRKSRC}/sources/main.h -.endif -.if ! ${PORT_OPTIONS:MPHP} + +post-patch-PHP-off: @${REINPLACE_CMD} "s|define PHP|undef PHP|" \ ${WRKSRC}/sources/main.h -.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sources/pserv ${STAGEDIR}${PREFIX}/sbin/ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/pserv ${INSTALL_DATA} ${WRKSRC}/defaults/mime_types.dat ${STAGEDIR}${PREFIX}/etc/pserv/mime.types ${INSTALL_DATA} ${WRKSRC}/defaults/pserv.conf ${STAGEDIR}${PREFIX}/etc/pserv/pserv.conf.sample ${INSTALL_SCRIPT} ${FILESDIR}/pserv.sh ${STAGEDIR}${PREFIX}/etc/rc.d/ .include Index: head/www/punbb/Makefile =================================================================== --- head/www/punbb/Makefile (revision 417718) +++ head/www/punbb/Makefile (revision 417719) @@ -1,125 +1,124 @@ # Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= punbb PORTVERSION= 1.4.4 CATEGORIES= www MASTER_SITES= http://punbb.informer.com/download/ \ http://punbb.informer.com/download/plugins/:plugins \ http://punbb.informer.com/download/lang_packs-1.2/:lang DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${LANGFILES:S/$/:lang/} \ ${PLUGINS:S/$/:plugins/} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Fast and lightweight PHP-powered discussion board LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS+= ${UNZIP_CMD}:archivers/unzip SUB_FILES= pkg-message NO_BUILD= yes -USE_PHP= yes -USES= tar:bzip2 +USES= php tar:bzip2 OPTIONS_DEFINE= LANGUAGE_PACK EXTRAS OPTIONS_DEFAULT= LANGUAGE_PACK EXTRAS LANGUAGE_PACK_DESC= Install language packs EXTRAS_DESC= Install all plugins available .include .if ${PORT_OPTIONS:MLANGUAGE_PACK} LANGFILES+= Arabic.zip \ Bangla_UTF8.zip \ Belarusian.zip \ Bosnian.zip \ Brazilian_Portuguese.zip \ Bulgarian.zip \ Bulgarian_UTF8.zip \ Catalan.zip \ Czech.zip \ Czech_UTF8.zip \ Danish.zip \ Dutch.zip \ Estonian.zip \ Farsi.zip \ Finnish.zip \ French.zip \ Galician.zip \ German.zip \ Greek.zip \ Hebrew.zip \ Hindi.zip \ Hrvatski.zip \ Hungarian.zip \ Icelandic.zip \ Indonesian.zip \ Italian.zip \ Japanese.zip \ Korean.zip \ Kurdish.zip \ Latvian.zip \ Lithuanian.zip \ Norwegian.zip \ Polish.zip \ Polish_UTF8.zip \ Portuguese.zip \ Romanian.zip \ Russian.zip \ Serbian.zip \ Simplified_Chinese.zip \ Slovak.zip \ Slovak_UTF8.zip \ Slovenian.zip \ Spanish.zip \ Swedish.zip \ Traditional_Chinese.zip \ Turkish.zip \ Ukrainian.zip \ Ukrainian_UTF8.zip \ Urdu.zip \ Vietnamese.zip PLIST_SUB+= LANGUAGE_PACK="" .else PLIST_SUB+= LANGUAGE_PACK="@comment " .endif .if ${PORT_OPTIONS:MEXTRAS} PLUGINS+= AP_User_Merge.zip \ AP_Author_Update.zip \ AP_PunBB_Shell.zip \ AP_Backup.zip \ AP_Forum_cleanup.zip \ AP_Clear_Cache.zip \ AP_Merge_Forums.zip \ AMP_Global_topic.zip \ AP_Languages_and_styles.zip \ AP_Broadcast_Email.zip \ AP_DB_management.zip \ AP_User_management.zip \ AP_News_Generator.zip \ AP_Version_Changer.zip PLIST_SUB+= PLUGINS="" .else PLIST_SUB+= PLUGINS="@comment " .endif do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .for i in ${LANGFILES} ${UNZIP_CMD} -o ${DISTDIR}/${i} -d ${STAGEDIR}${WWWDIR}/lang -x '*/.DS_Store' -x '*/._.DS_Store' .endfor .for i in ${PLUGINS} ${UNZIP_CMD} -o ${DISTDIR}/${i} -d ${STAGEDIR}${WWWDIR}/plugins .endfor @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >> ${TMPPLIST} .include Index: head/www/skytemplate/Makefile =================================================================== --- head/www/skytemplate/Makefile (revision 417718) +++ head/www/skytemplate/Makefile (revision 417719) @@ -1,28 +1,27 @@ # Created by: Mun-Kyo Seo # $FreeBSD$ PORTNAME= skytemplate PORTVERSION= 1.4.0 CATEGORIES= www MASTER_SITES= http://daddy.withsky.net/SkyTemplate/download/ \ http://mirror.pmy.lv/SkyTemplate/download/ DISTNAME= SkyTemplate.v${PORTVERSION:S/.//g} MAINTAINER= munggo@gmail.com COMMENT= Yet another PHP compiling template engine -USE_PHP= yes -WANT_PHP_WEB= yes +USES= php:web NO_BUILD= yes SUB_FILES= pkg-message do-install: ${MKDIR} ${STAGEDIR}${DATADIR} .for f in class.SkyTemplate.php class.SkyTemplate_withDaddy.php ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${DATADIR}/SkyTpl ${INSTALL_DATA} ${WRKSRC}/SkyTpl/* ${STAGEDIR}${DATADIR}/SkyTpl .endfor .include Index: head/www/suphp/Makefile =================================================================== --- head/www/suphp/Makefile (revision 417718) +++ head/www/suphp/Makefile (revision 417719) @@ -1,60 +1,58 @@ # Created by: Clement Laforet # $FreeBSD$ PORTNAME= suphp PORTVERSION= 0.7.2 PORTREVISION= 2 CATEGORIES= www MASTER_SITES= http://www.suphp.org/download/ \ LOCAL/bdrewery/${PORTNAME}/ \ http://mirror.shatow.net/freebsd/${PORTNAME}/ MAINTAINER= bdrewery@FreeBSD.org COMMENT= Securely execute PHP scripts under Apache GNU_CONFIGURE= yes -USES= autoreconf libtool +USES= autoreconf libtool php:cgi SUB_FILES= pkg-message USE_APACHE= 22+ CFLAGS+= -I${LOCALBASE}/include USE_CSTD= gnu89 -USE_PHP= yes -WANT_PHP_CGI= yes MYPORTDOCS= apache/CONFIG \ apache/INSTALL \ apache/README \ CONFIG LICENSE \ INSTALL README CONFIGURE_ARGS= CFLAGS="${CFLAGS} -I`${LOCALBASE}/bin/apr-1-config --includedir`" \ --with-apxs=${APXS} # WITH_SETID_MODE should be a value of "owner", "force", or "paranoid". # It's important that you understand the differences between each mode. # See /usr/local/share/doc/suphp/INSTALL for details. # WITH_SETID_MODE?= owner CONFIGURE_ARGS+= --with-setid-mode=${WITH_SETID_MODE} OPTIONS_DEFINE= DOCS .include CONFIGURE_ARGS+= --with-apr=${LOCALBASE} post-install: .if !defined(WITH_DEBUG) @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/suphp .endif ${INSTALL_DATA} ${WRKSRC}/doc/suphp.conf-example \ ${STAGEDIR}${PREFIX}/etc/suphp.conf-example post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/apache .for f in ${MYPORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}/${f} .endfor .include Property changes on: head/www/suphp/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/www/template_/Makefile =================================================================== --- head/www/template_/Makefile (revision 417718) +++ head/www/template_/Makefile (revision 417719) @@ -1,30 +1,29 @@ # Created by: Mun-Kyo Seo # $FreeBSD$ PORTNAME= template_ PORTVERSION= 2.2.3 CATEGORIES= www MASTER_SITES= http://www.xtac.net/download/?file= DISTNAME= Template_.2.2.3 MAINTAINER= ports@FreeBSD.org COMMENT= High performance PHP compiling template engine LICENSE= LGPL20+ WRKSRC= ${WRKDIR} FETCH_ARGS+= -o ${DISTNAME}.tar.gz -USE_PHP= yes -WANT_PHP_WEB= yes +USES= php:web NO_WRKSUBDIR= yes NO_BUILD= yes do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/tpl_plugin .for f in Template_.class.php Template_.compiler.php ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/tpl_plugin/* ${STAGEDIR}${DATADIR}/tpl_plugin .endfor .include Index: head/www/webgrind/Makefile =================================================================== --- head/www/webgrind/Makefile (revision 417718) +++ head/www/webgrind/Makefile (revision 417719) @@ -1,41 +1,41 @@ # Created by: Li-Wen Hsu # $FreeBSD$ PORTNAME= webgrind DISTVERSION= 1.0.s${SNAPSHOT} CATEGORIES= www MAINTAINER= lwhsu@FreeBSD.org COMMENT= Xdebug Profiling Web Frontend in PHP LICENSE= BSD3CLAUSE OPTIONS_DEFINE= CALLGRAPH USE_GITHUB= yes GH_ACCOUNT= jokkedk GH_TAGNAME= dc35393 SNAPSHOT= 20140207 -USE_PHP= yes +USES= php NO_BUILD= yes NO_ARCH= yes PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" CALLGRAPH_USES= python CALLGRAPH_RUN_DEPENDS= dot:graphics/graphviz post-patch-CALLGRAPH-on: @${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' ${WRKSRC}/config.php do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} "! -name *.bak") @${FIND} ${STAGEDIR}${WWWDIR} -type f -exec ${CHMOD} 0444 {} \; @${FIND} ${STAGEDIR}${WWWDIR} -type d -exec ${CHMOD} 0755 {} \; .include Index: head/www/xcache/Makefile =================================================================== --- head/www/xcache/Makefile (revision 417718) +++ head/www/xcache/Makefile (revision 417719) @@ -1,54 +1,52 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= xcache DISTVERSION= 3.2.0 CATEGORIES= www MASTER_SITES= http://xcache.lighttpd.net/pub/Releases/${DISTVERSION}/ MAINTAINER= ale@FreeBSD.org COMMENT= Fast and stable php opcode cacher LICENSE= BSD3CLAUSE -USES= tar:bzip2 -USE_PHP= yes -USE_PHPIZE= yes +USES= php:phpize tar:bzip2 CONFIGURE_ARGS= --enable-xcache=shared OPTIONS_DEFINE= CONSTANT COVERAGER EXAMPLES CONSTANT_DESC= Enable handling of compile time constants COVERAGER_DESC= Enable code coverage dumper SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message PLIST_FILES= lib/php/%%PHP_EXT_DIR%%/xcache.so PORTEXAMPLES= * .include .if ${PORT_OPTIONS:MCONSTANT} CONFIGURE_ARGS+=--enable-xcache-constant .endif .if ${PORT_OPTIONS:MCOVERAGER} CONFIGURE_ARGS+=--enable-xcache-coverager PLIST_SUB+= COVERAGER="" .else PLIST_SUB+= COVERAGER="@comment " .endif do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR} ${INSTALL_DATA} ${WRKSRC}/modules/${PORTNAME}.so \ ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/xcache.ini \ ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} htdocs \ ${STAGEDIR}${EXAMPLESDIR} .include Index: head/www/zen-cart/Makefile =================================================================== --- head/www/zen-cart/Makefile (revision 417718) +++ head/www/zen-cart/Makefile (revision 417719) @@ -1,45 +1,43 @@ # Created by: Beech Rintoul # $FreeBSD$ PORTNAME= zen-cart PORTVERSION= 1.3.9h PORTREVISION= 2 CATEGORIES= www MASTER_SITES= http://www.akherb.com/FreeBSD/source/ \ LOCAL/beech DISTNAME= zen-cart-v1.3.9h-full-fileset-10262010 MAINTAINER= ports@FreeBSD.org COMMENT= PHP-based user-friendly, open source shopping cart LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/license.txt -USES= dos2unix shebangfix zip +USES= dos2unix php:web shebangfix zip SHEBANG_FILES= editors/htmlarea/examples/2-areas.cgi \ editors/htmlarea/examples/test.cgi \ editors/htmlarea/plugins/SpellChecker/spell-check-logic.cgi -USE_PHP= yes -WANT_PHP_WEB= yes DOS2UNIX_REGEX= .*\.php NO_BUILD= yes NO_ARCH= yes SUB_FILES= pkg-message SUB_LIST= WWWDIR="${WWWDIR}" PORTNAME="${PORTNAME}" PLIST_SUB+= WWWDIR=${WWWDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} PORTNAME=${PORTNAME} OPTIONS_DEFINE= EXAMPLES do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${EXAMPLESDIR} && ${RM} -rf ${WRKSRC}/docs) (cd ${WRKSRC} && ${MV} vbv_learn_more.html ${STAGEDIR}${EXAMPLESDIR}/) (cd ${WRKSRC} && ${MV} mcs_learn_more.html ${STAGEDIR}${EXAMPLESDIR}/) (cd ${WRKSRC} && ${MV} robots_example.txt ${STAGEDIR}${EXAMPLESDIR}/) (cd ${WRKSRC} && ${MV} install.txt ${STAGEDIR}${EXAMPLESDIR}/) (cd ${WRKSRC} && ${MV} nddbc.html ${STAGEDIR}${EXAMPLESDIR}/) (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/) ${CHMOD} -R 0755 ${STAGEDIR}${WWWDIR} .include