From 00a75821b69cd4b416598ef6f5c44f743758c655 Mon Sep 17 00:00:00 2001 From: dirk Date: Wed, 13 Dec 2000 08:43:16 +0000 Subject: Add support for jstring. Submitted by: kuriyama --- www/mod_php4/Makefile | 3 ++- www/mod_php4/distinfo | 1 + www/mod_php4/scripts/configure.php | 17 +++++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) (limited to 'www/mod_php4') diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile index 6e44cd3..aa7ad02 100644 --- a/www/mod_php4/Makefile +++ b/www/mod_php4/Makefile @@ -43,7 +43,8 @@ CONFIGURE_ARGS= --with-apxs=${APXS} \ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ TOUCH="${TOUCH}" \ - MKDIR="${MKDIR}" + MKDIR="${MKDIR}" \ + CAT="${CAT}" .if exists(${APXS}) AP_LIBEXEC!= ${APXS} -q LIBEXEC diff --git a/www/mod_php4/distinfo b/www/mod_php4/distinfo index 4c282c6..40a10a5 100644 --- a/www/mod_php4/distinfo +++ b/www/mod_php4/distinfo @@ -1 +1,2 @@ MD5 (php-4.0.3pl1.tar.gz) = 6969bc69588400557f70a014ab1536c1 +MD5 (php-4.0RC2_jstring-1.0.tar.gz) = 9a159030cf6cab58b1131c70780f0eb0 diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php index 1baa169..ce54f69 100644 --- a/www/mod_php4/scripts/configure.php +++ b/www/mod_php4/scripts/configure.php @@ -29,6 +29,7 @@ SNMP "SNMP support" OFF \ XML "XML support" OFF \ FTP "File Transfer Protocol support" OFF \ gettext "gettext library support" OFF \ +jstring "jstring module" OFF \ 2> /tmp/checklist.tmp.$$ retval=$? @@ -157,6 +158,22 @@ while [ "$1" ]; do echo "LIB_DEPENDS+= intl.1:\${PORTSDIR}/devel/gettext" echo "CONFIGURE_ARGS+=--with-gettext=\${PREFIX}" ;; + \"jstring\") + ${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 +BUILD_DEPENDS+= automake:\${PORTSDIR}/devel/automake +BUILD_DEPENDS+= autoconf:\${PORTSDIR}/devel/autoconf + +post-extract: + [ -d \${WRKDIR}/jstring ] && \\ + (cd \${WRKSRC}; \\ + \${MV} ${WRKDIR}/jstring ext; \\ + \${RM} configure; \\ + ./buildconf) +EOF + ;; *) echo "Invalid option(s): $*" > /dev/stderr rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc -- cgit v1.1