Add support for filter, hash, json and zip extensions.

This commit is contained in:
Alex Dupre 2008-12-11 08:46:36 +00:00
parent e6e4c5ec78
commit 4ff4f50872
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=224093
6 changed files with 42 additions and 10 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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