aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_php4
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2001-03-11 23:53:24 +0800
committerdirk <dirk@FreeBSD.org>2001-03-11 23:53:24 +0800
commit29958a6692ffb2031defbcbe52f31173aa3725d2 (patch)
treece5ddf1d02b30172ce6ecd4ad051f27c04badd18 /www/mod_php4
parent7bf557ab76cc6ba8139febfd29b618b60493d947 (diff)
downloadfreebsd-ports-graphics-29958a6692ffb2031defbcbe52f31173aa3725d2.tar.gz
freebsd-ports-graphics-29958a6692ffb2031defbcbe52f31173aa3725d2.tar.zst
freebsd-ports-graphics-29958a6692ffb2031defbcbe52f31173aa3725d2.zip
Use latest jstring module (php4_jstring-20010205.tar.gz) and add support
for mbregex (Multibyte Regular Expressions). Submitted by: KANAI Yasunori <y_kanai@pop01.odn.ne.jp>
Diffstat (limited to 'www/mod_php4')
-rw-r--r--www/mod_php4/distinfo3
-rw-r--r--www/mod_php4/scripts/configure.php15
2 files changed, 10 insertions, 8 deletions
diff --git a/www/mod_php4/distinfo b/www/mod_php4/distinfo
index 83acc46d7d5..770a3a66224 100644
--- a/www/mod_php4/distinfo
+++ b/www/mod_php4/distinfo
@@ -1,2 +1,3 @@
MD5 (php-4.0.4pl1.tar.gz) = ae3ab0105154dddea1fa2ca18a902f85
-MD5 (php-4.0RC2_jstring-1.0.tar.gz) = 9a159030cf6cab58b1131c70780f0eb0
+MD5 (php4_jstring-20010205.tar.gz) = 8b1f1b93fb7455096bc7c3c3839ddca2
+MD5 (php4_mbregex-1.2.tar.gz) = 5dee7665737a643ee5ac294423bd0894
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php
index 664c7de9929..816f7a759d1 100644
--- a/www/mod_php4/scripts/configure.php
+++ b/www/mod_php4/scripts/configure.php
@@ -28,7 +28,7 @@ SNMP "SNMP support" OFF \
XML "XML support" OFF \
FTP "File Transfer Protocol support" OFF \
gettext "gettext library support" OFF \
-jstring "jstring module" OFF \
+japanese "jstring and mbregex module" OFF \
YP "YP/NIS support" OFF \
BCMath "BCMath support" OFF \
ming "ming library support" OFF \
@@ -162,19 +162,20 @@ while [ "$1" ]; do
echo "LIB_DEPENDS+= intl.1:\${PORTSDIR}/devel/gettext"
echo "CONFIGURE_ARGS+=--with-gettext=\${PREFIX}"
;;
- \"jstring\")
+ \"japanese\")
${CAT} << EOF
MASTER_SITES+= ftp://night.fminn.nagano.nagano.jp/php4/
-DISTFILES= \${DISTNAME}\${EXTRACT_SUFX} php-4.0RC2_jstring-1.0.tar.gz
-CONFIGURE_ARGS+=--enable-jstring
+DISTFILES= \${DISTNAME}\${EXTRACT_SUFX} php4_jstring-20010205.tar.gz php4_mbregex-1.2.tar.gz
+CONFIGURE_ARGS+=--enable-jstring --enable-mbregex
BUILD_DEPENDS+= automake:\${PORTSDIR}/devel/automake
BUILD_DEPENDS+= autoconf:\${PORTSDIR}/devel/autoconf
-POSTEXTRACT+= post-extract-jstring
+POSTEXTRACT+= post-extract-japanese
-post-extract-jstring:
- [ -d \${WRKDIR}/jstring ] && \\
+post-extract-japanese:
+ [ -d \${WRKDIR}/jstring -a \${WRKDIR}/mbregex ] && \\
(cd \${WRKSRC}; \\
\${MV} ${WRKDIR}/jstring ext; \\
+ \${MV} ${WRKDIR}/mbregex ext; \\
\${RM} configure; \\
./buildconf)