From 4ff4f50872e61a3f54b5bb5cd26cc16ba780d3f7 Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Thu, 11 Dec 2008 08:46:36 +0000 Subject: Add support for filter, hash, json and zip extensions. --- lang/php5/Makefile | 3 +-- lang/php5/Makefile.ext | 17 +++++++++++++++++ lang/php5/distinfo | 6 +++--- lang/php53/Makefile | 3 +-- lang/php53/Makefile.ext | 17 +++++++++++++++++ lang/php53/distinfo | 6 +++--- 6 files changed, 42 insertions(+), 10 deletions(-) (limited to 'lang') diff --git a/lang/php5/Makefile b/lang/php5/Makefile index 930ef84e5aa5..7beaceb2cf45 100644 --- a/lang/php5/Makefile +++ b/lang/php5/Makefile @@ -68,8 +68,7 @@ PLIST_SUB+= SUHOSIN="@comment " .endif .if defined(WITH_MAILHEAD) -#PATCHFILES+= php-${PORTVERSION}-mail-header.patch:mail -PATCHFILES+= php-5.2.6-mail-header.patch:mail +PATCHFILES+= php-${PORTVERSION}-mail-header.patch:mail PATCH_SITES+= http://choon.net/opensource/php/:mail .endif diff --git a/lang/php5/Makefile.ext b/lang/php5/Makefile.ext index 0d70b753b2e8..7408a0393473 100644 --- a/lang/php5/Makefile.ext +++ b/lang/php5/Makefile.ext @@ -74,6 +74,10 @@ USE_PHP_BUILD= yes CONFIGURE_ARGS+=--enable-exif .endif +.if ${PHP_MODNAME} == "filter" +CONFIGURE_ARGS+=--enable-filter +.endif + .if ${PHP_MODNAME} == "ftp" CONFIGURE_ARGS+=--enable-ftp \ --with-openssl-dir=${OPENSSLBASE} @@ -118,6 +122,10 @@ LIB_DEPENDS+= gmp.7:${PORTSDIR}/math/libgmp4 CONFIGURE_ARGS+=--with-gmp=${LOCALBASE} .endif +.if ${PHP_MODNAME} == "hash" +CONFIGURE_ARGS+=--enable-hash +.endif + .if ${PHP_MODNAME} == "iconv" CONFIGURE_ARGS+=--with-iconv=${LOCALBASE} \ --with-iconv-dir=${LOCALBASE} @@ -143,6 +151,10 @@ CONFIGURE_ARGS+=--with-interbase=${LOCALBASE} USE_FIREBIRD= yes .endif +.if ${PHP_MODNAME} == "json" +CONFIGURE_ARGS+=--enable-json +.endif + .if ${PHP_MODNAME} == "ldap" CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} @@ -485,6 +497,11 @@ USE_PHP= dom xml USE_PHP_BUILD= yes .endif +.if ${PHP_MODNAME} == "zip" +CONFIGURE_ARGS+=--enable-zip \ + --with-zlib-dir=/usr +.endif + .if ${PHP_MODNAME} == "zlib" CONFIGURE_ARGS+=--with-zlib=/usr .endif diff --git a/lang/php5/distinfo b/lang/php5/distinfo index a676a12c730b..8bf99843b2bc 100644 --- a/lang/php5/distinfo +++ b/lang/php5/distinfo @@ -4,6 +4,6 @@ SIZE (php-5.2.8.tar.bz2) = 9827180 MD5 (suhosin-patch-5.2.7-0.9.6.3.patch.gz) = d455c3dd5b652046dbac2951a58f64fa SHA256 (suhosin-patch-5.2.7-0.9.6.3.patch.gz) = 85e6262f53014e393977d1efed2d3a7e686767a07f96b14b2c3f126f694aee46 SIZE (suhosin-patch-5.2.7-0.9.6.3.patch.gz) = 23125 -MD5 (php-5.2.6-mail-header.patch) = eb26be2469a173a3476220342c5fcd58 -SHA256 (php-5.2.6-mail-header.patch) = 7e546c22a19386c4d93bebddfb64ace9447774f748070794c7c41419c5c474ac -SIZE (php-5.2.6-mail-header.patch) = 3420 +MD5 (php-5.2.8-mail-header.patch) = 74bf3a2a123c284f908c4f5483ebe886 +SHA256 (php-5.2.8-mail-header.patch) = 9bd306145153a371f619d89996cb329bdc36791b22a50daf4afe7cc69c46dccb +SIZE (php-5.2.8-mail-header.patch) = 3381 diff --git a/lang/php53/Makefile b/lang/php53/Makefile index 930ef84e5aa5..7beaceb2cf45 100644 --- a/lang/php53/Makefile +++ b/lang/php53/Makefile @@ -68,8 +68,7 @@ PLIST_SUB+= SUHOSIN="@comment " .endif .if defined(WITH_MAILHEAD) -#PATCHFILES+= php-${PORTVERSION}-mail-header.patch:mail -PATCHFILES+= php-5.2.6-mail-header.patch:mail +PATCHFILES+= php-${PORTVERSION}-mail-header.patch:mail PATCH_SITES+= http://choon.net/opensource/php/:mail .endif diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext index 0d70b753b2e8..7408a0393473 100644 --- a/lang/php53/Makefile.ext +++ b/lang/php53/Makefile.ext @@ -74,6 +74,10 @@ USE_PHP_BUILD= yes CONFIGURE_ARGS+=--enable-exif .endif +.if ${PHP_MODNAME} == "filter" +CONFIGURE_ARGS+=--enable-filter +.endif + .if ${PHP_MODNAME} == "ftp" CONFIGURE_ARGS+=--enable-ftp \ --with-openssl-dir=${OPENSSLBASE} @@ -118,6 +122,10 @@ LIB_DEPENDS+= gmp.7:${PORTSDIR}/math/libgmp4 CONFIGURE_ARGS+=--with-gmp=${LOCALBASE} .endif +.if ${PHP_MODNAME} == "hash" +CONFIGURE_ARGS+=--enable-hash +.endif + .if ${PHP_MODNAME} == "iconv" CONFIGURE_ARGS+=--with-iconv=${LOCALBASE} \ --with-iconv-dir=${LOCALBASE} @@ -143,6 +151,10 @@ CONFIGURE_ARGS+=--with-interbase=${LOCALBASE} USE_FIREBIRD= yes .endif +.if ${PHP_MODNAME} == "json" +CONFIGURE_ARGS+=--enable-json +.endif + .if ${PHP_MODNAME} == "ldap" CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} @@ -485,6 +497,11 @@ USE_PHP= dom xml USE_PHP_BUILD= yes .endif +.if ${PHP_MODNAME} == "zip" +CONFIGURE_ARGS+=--enable-zip \ + --with-zlib-dir=/usr +.endif + .if ${PHP_MODNAME} == "zlib" CONFIGURE_ARGS+=--with-zlib=/usr .endif diff --git a/lang/php53/distinfo b/lang/php53/distinfo index a676a12c730b..8bf99843b2bc 100644 --- a/lang/php53/distinfo +++ b/lang/php53/distinfo @@ -4,6 +4,6 @@ SIZE (php-5.2.8.tar.bz2) = 9827180 MD5 (suhosin-patch-5.2.7-0.9.6.3.patch.gz) = d455c3dd5b652046dbac2951a58f64fa SHA256 (suhosin-patch-5.2.7-0.9.6.3.patch.gz) = 85e6262f53014e393977d1efed2d3a7e686767a07f96b14b2c3f126f694aee46 SIZE (suhosin-patch-5.2.7-0.9.6.3.patch.gz) = 23125 -MD5 (php-5.2.6-mail-header.patch) = eb26be2469a173a3476220342c5fcd58 -SHA256 (php-5.2.6-mail-header.patch) = 7e546c22a19386c4d93bebddfb64ace9447774f748070794c7c41419c5c474ac -SIZE (php-5.2.6-mail-header.patch) = 3420 +MD5 (php-5.2.8-mail-header.patch) = 74bf3a2a123c284f908c4f5483ebe886 +SHA256 (php-5.2.8-mail-header.patch) = 9bd306145153a371f619d89996cb329bdc36791b22a50daf4afe7cc69c46dccb +SIZE (php-5.2.8-mail-header.patch) = 3381 -- cgit v1.2.3