summaryrefslogtreecommitdiff
path: root/www/mod_php5
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php5')
-rw-r--r--www/mod_php5/Makefile106
-rw-r--r--www/mod_php5/distinfo3
-rw-r--r--www/mod_php5/files/ming-config-m438
-rw-r--r--www/mod_php5/files/patch-aq101
-rw-r--r--www/mod_php5/files/patch-ar29
-rw-r--r--www/mod_php5/files/patch-as17
-rw-r--r--www/mod_php5/pkg-comment1
-rw-r--r--www/mod_php5/pkg-comment.standalone1
-rw-r--r--www/mod_php5/pkg-descr4
-rw-r--r--www/mod_php5/pkg-message20
-rw-r--r--www/mod_php5/pkg-plist9
-rw-r--r--www/mod_php5/pkg-plist.standalone3
-rw-r--r--www/mod_php5/scripts/configure.php256
13 files changed, 0 insertions, 588 deletions
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile
deleted file mode 100644
index 9c7ba331528b..000000000000
--- a/www/mod_php5/Makefile
+++ /dev/null
@@ -1,106 +0,0 @@
-# New ports collection makefile for: mod_php4
-# Date created: Sun May 28 11:31:54 CEST 2000
-# Whom: Dirk Froemberg <dirk@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME?= mod_php4
-PORTVERSION= 4.0.4pl1
-CATEGORIES?= www
-MASTER_SITES= http://us.php.net/${PHP_DISTDIR}/ \
- http://php.he.net/${PHP_DISTDIR}/ \
- http://www.php3.de/${PHP_DISTDIR}/ \
- http://au.php.net:81/${PHP_DISTDIR}/ \
- http://at.php.net/${PHP_DISTDIR}/ \
- http://br.php.net/${PHP_DISTDIR}/ \
- http://php.easydns.com/${PHP_DISTDIR}/ \
- http://www.php.cz/${PHP_DISTDIR}/ \
- http://php3.globe.de/${PHP_DISTDIR}/
-DISTNAME= php-${PORTVERSION}
-
-MAINTAINER= dirk@FreeBSD.org
-
-.if !defined(STANDALONE)
-BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
-RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
-.endif
-
-PHP_DISTDIR= distributions
-
-SLAVEDIRS= lang/php4
-
-USE_LIBTOOL= yes
-
-.if defined(STANDALONE)
-CONFIGURE_ARGS= --with-config-file-path=${PREFIX}/etc/php.standalone
-.else
-CONFIGURE_ARGS= --with-apxs=${PREFIX}/sbin/apxs \
- --with-config-file-path=${PREFIX}/etc
-.endif
-
-CONFIGURE_ARGS+=--enable-versioning \
- --with-system-regex \
- --disable-debug \
- --enable-track-vars \
- --without-gd \
- --disable-pear \
- --without-mysql
-
-SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
- TOUCH="${TOUCH}" \
- MKDIR="${MKDIR}" \
- CAT="${CAT}" \
- REALCURDIR="${.CURDIR}"
-
-AP_LIBEXEC= ${PREFIX}/libexec/apache
-
-PHPDOCDIR= ${PREFIX}/share/doc/php
-PLIST_SUB= PHPDOCDIR=${PHPDOCDIR:S/^${PREFIX}\///} \
- AP_LIBEXEC=${AP_LIBEXEC:S/^${PREFIX}\///}
-
-pre-fetch:
- @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php
-
-post-install:
-.if !defined(STANDALONE)
- @${ECHO} "Restarting Apache..."
- @${PREFIX}/sbin/apachectl restart
- @${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc
-.else
- @${MKDIR} ${PREFIX}/etc/php.standalone
- @${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc/php.standalone
-.endif
-
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${PHPDOCDIR}
-.for i in CODING_STANDARDS LICENSE
- @${INSTALL_DATA} ${WRKSRC}/$i ${PHPDOCDIR}
-.endfor
-.endif
-
-.if !defined(STANDALONE)
- @${ECHO} "*****************************************************************************"
- @${ECHO} "Make sure the mime.types are connected to the php module properly and"
- @${ECHO} "index.php is part of your DirectoryIndex."
- @${ECHO} ""
- @${ECHO} "The following should be in your Apache configuration file:"
- @${ECHO} "[...]"
- @${ECHO} "DirectoryIndex index.php index.html"
- @${ECHO} "[...]"
- @${ECHO} "AddType application/x-httpd-php .php"
- @${ECHO} "AddType application/x-httpd-php-source .phps"
- @${ECHO} "[...]"
- @${ECHO} "*****************************************************************************"
-.endif
-
-post-clean:
- @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
-
-.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
-.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
-.endif
-
-post-extract: ${POSTEXTRACT}
-
-.include <bsd.port.mk>
diff --git a/www/mod_php5/distinfo b/www/mod_php5/distinfo
deleted file mode 100644
index 770a3a662249..000000000000
--- a/www/mod_php5/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (php-4.0.4pl1.tar.gz) = ae3ab0105154dddea1fa2ca18a902f85
-MD5 (php4_jstring-20010205.tar.gz) = 8b1f1b93fb7455096bc7c3c3839ddca2
-MD5 (php4_mbregex-1.2.tar.gz) = 5dee7665737a643ee5ac294423bd0894
diff --git a/www/mod_php5/files/ming-config-m4 b/www/mod_php5/files/ming-config-m4
deleted file mode 100644
index 8228fe54805f..000000000000
--- a/www/mod_php5/files/ming-config-m4
+++ /dev/null
@@ -1,38 +0,0 @@
-dnl $Id: config.m4,v 1.2 2001/02/08 21:41:29 opaque_ndst Exp $
-dnl config.m4 for extension libming
-dnl don't forget to call PHP_EXTENSION(ming)
-dnl This file is a modified version of config.m4
-dnl in php4/ext/mcrypt
-
-PHP_ARG_WITH(ming, for ming support,
-[ --with-ming[=DIR] Include ming support])
-
-if test "$PHP_MING" != "no"; then
- for i in /usr/lib /usr/local/ /usr/local/lib /usr $PHP_MING $PHP_MING/lib; do
- if test -r $i/libming.so; then
- MING_LIB_DIR=$i
- fi
- done
-
- if test -z "$MING_LIB_DIR"; then
- AC_MSG_ERROR(Please reinstall libming.so - I cannot find libming.so)
- fi
-
- for i in /usr/include /usr/local/include $PHP_MING $PHP_MING/include $PHP_MING/include/ming; do
- if test -r $i/ming.h; then
- MING_INC_DIR=$i
- fi
- done
-
- if test -z "$MING_INC_DIR"; then
- AC_MSG_ERROR(Please reinstall ming.h - I cannot find ming.h)
- fi
-
- AC_ADD_INCLUDE($MING_INC_DIR)
-
- AC_ADD_LIBRARY_WITH_PATH(ming, $MING_LIB_DIR, MING_SHARED_LIBADD)
- PHP_SUBST(MING_SHARED_LIBADD)
- AC_DEFINE(HAVE_MING,1,[ ])
-
- PHP_EXTENSION(ming, $ext_shared)
-fi
diff --git a/www/mod_php5/files/patch-aq b/www/mod_php5/files/patch-aq
deleted file mode 100644
index 8629edc8032d..000000000000
--- a/www/mod_php5/files/patch-aq
+++ /dev/null
@@ -1,101 +0,0 @@
---- configure.orig Tue Aug 29 20:37:36 2000
-+++ configure Sat Sep 2 10:02:53 2000
-@@ -23088,12 +23088,7 @@
-
- LIBS=$old_LIBS
- LDFLAGS="$old_LDFLAGS"
-- if test "$ac_cv_lib_mcrypt_init_mcrypt" = "yes"; then
-- cat >> confdefs.h <<\EOF
--#define HAVE_LIBMCRYPT22 1
--EOF
--
-- elif test "$ac_cv_lib_mcrypt_mcrypt_module_open" = "yes"; then
-+ if test "$ac_cv_lib_mcrypt_mcrypt_module_open" = "yes"; then
-
- case "ltdl" in
- c|c_r|pthread*) ;;
-@@ -23106,8 +23101,13 @@
- ;;
- esac
-
-- cat >> confdefs.h <<\EOF
-+ cat >> confdefs.h <<\EOF
- #define HAVE_LIBMCRYPT24 1
-+EOF
-+
-+ elif test "$ac_cv_lib_mcrypt_init_mcrypt" = "yes"; then
-+ cat >> confdefs.h <<\EOF
-+#define HAVE_LIBMCRYPT22 1
- EOF
-
- else
-@@ -37824,18 +37824,6 @@
- fi
-
-
-- case "cs" in
-- c|c_r|pthread*) ;;
-- *)
--
--
-- LIBS="-lcs $LIBS"
--
--
-- ;;
-- esac
--
--
- case "ct" in
- c|c_r|pthread*) ;;
- *)
-@@ -37848,30 +37836,7 @@
- esac
-
-
-- case "comn" in
-- c|c_r|pthread*) ;;
-- *)
--
--
-- LIBS="-lcomn $LIBS"
--
--
-- ;;
-- esac
--
--
-- case "intl" in
-- c|c_r|pthread*) ;;
-- *)
--
--
-- LIBS="-lintl $LIBS"
--
--
-- ;;
-- esac
--
-- SYBASE_CT_LIBS="-lcs -lct -lcomn -lintl"
-+ SYBASE_CT_LIBS="-lct"
- old_LDFLAGS=$LDFLAGS
- LDFLAGS="$LDFLAGS -L$SYBASE_CT_LIBDIR"
- echo $ac_n "checking for netg_errstr in -ltcl""... $ac_c" 1>&6
-@@ -37923,18 +37888,6 @@
-
- else
- echo "$ac_t""no" 1>&6
--
-- case "sybtcl" in
-- c|c_r|pthread*) ;;
-- *)
--
--
-- LIBS="-lsybtcl $LIBS"
--
--
-- ;;
-- esac
--
- fi
-
- echo $ac_n "checking for insck__getVdate in -linsck""... $ac_c" 1>&6
diff --git a/www/mod_php5/files/patch-ar b/www/mod_php5/files/patch-ar
deleted file mode 100644
index 0deda6f1a3d7..000000000000
--- a/www/mod_php5/files/patch-ar
+++ /dev/null
@@ -1,29 +0,0 @@
---- ext/sybase/php_sybase_db.c.orig Fri Jun 2 14:14:44 2000
-+++ ext/sybase/php_sybase_db.c Fri Jun 2 14:15:27 2000
-@@ -357,7 +357,7 @@
- RETURN_FALSE;
- }
- /* create the link */
-- if ((sybase.link=dbopen(sybase.login,host))==FAIL) {
-+ if ((sybase.link=tdsdbopen(sybase.login,host))==FAIL) {
- /*php_error(E_WARNING,"Sybase: Unable to connect to server: %s",sybase_error(sybase));*/
- efree(hashed_details);
- dbloginfree(sybase.login);
-@@ -393,7 +393,7 @@
- sybase_ptr = (sybase_link *) le->ptr;
- /* test that the link hasn't died */
- if (DBDEAD(sybase_ptr->link)==TRUE) {
-- if ((sybase_ptr->link=dbopen(sybase_ptr->login,host))==FAIL) {
-+ if ((sybase_ptr->link=tdsdbopen(sybase_ptr->login,host))==FAIL) {
- /*php_error(E_WARNING,"Sybase: Link to server lost, unable to reconnect");*/
- zend_hash_del(&EG(persistent_list), hashed_details, hashed_details_length+1);
- efree(hashed_details);
-@@ -440,7 +440,7 @@
- RETURN_FALSE;
- }
-
-- if ((sybase.link=dbopen(sybase.login,host))==NULL) {
-+ if ((sybase.link=tdsdbopen(sybase.login,host))==NULL) {
- /*php_error(E_WARNING,"Sybase: Unable to connect to server: %s",sybase_error(sybase));*/
- efree(hashed_details);
- RETURN_FALSE;
diff --git a/www/mod_php5/files/patch-as b/www/mod_php5/files/patch-as
deleted file mode 100644
index 755a0dc0e411..000000000000
--- a/www/mod_php5/files/patch-as
+++ /dev/null
@@ -1,17 +0,0 @@
---- Makefile.in.orig Wed May 3 06:51:11 2000
-+++ Makefile.in Wed May 17 23:42:28 2000
-@@ -1,4 +1,4 @@
--
-+
- ZEND_DIR = $(srcdir)/Zend
- SUBDIRS = Zend ext sapi $(TSRM_DIR) $(REGEX_DIR) . $(PEAR_DIR)
-
-@@ -29,7 +29,7 @@
-
- targets = $(LTLIBRARY_NAME) $(PROGRAM_NAME)
-
--install_targets = install-sapi install-modules
-+install_targets = install-sapi
-
- include $(top_srcdir)/build/rules.mk
- include $(top_srcdir)/build/library.mk
diff --git a/www/mod_php5/pkg-comment b/www/mod_php5/pkg-comment
deleted file mode 100644
index e7a0ad78a7f3..000000000000
--- a/www/mod_php5/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-PHP4 module for Apache
diff --git a/www/mod_php5/pkg-comment.standalone b/www/mod_php5/pkg-comment.standalone
deleted file mode 100644
index 77073177dd09..000000000000
--- a/www/mod_php5/pkg-comment.standalone
+++ /dev/null
@@ -1 +0,0 @@
-PHP4 commandline interpreter
diff --git a/www/mod_php5/pkg-descr b/www/mod_php5/pkg-descr
deleted file mode 100644
index cea408b8d551..000000000000
--- a/www/mod_php5/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-Server-side, cross-platform, HTML embedded scripting language which
-offers easy database integration.
-
-WWW: http://www.php.net/
diff --git a/www/mod_php5/pkg-message b/www/mod_php5/pkg-message
deleted file mode 100644
index c984c30fe061..000000000000
--- a/www/mod_php5/pkg-message
+++ /dev/null
@@ -1,20 +0,0 @@
-*****************************************************************************
-You have installed the mod_php4 package.
-
-Have a look at the mod_php4 _port_ if you need additional support for
-databases other than MySQL, e. g.
-
-You can find it at
-ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/ports/www/mod_php4.tar
-
-Make sure the mime.types are connected to the php module properly and
-index.php is part of your DirectoryIndex.
-
-The following should be in your Apache configuration file:
-[...]
-DirectoryIndex index.php index.html
-[...]
-AddType application/x-httpd-php .php
-AddType application/x-httpd-php-source .phps
-[...]
-*****************************************************************************
diff --git a/www/mod_php5/pkg-plist b/www/mod_php5/pkg-plist
deleted file mode 100644
index e44c722b0853..000000000000
--- a/www/mod_php5/pkg-plist
+++ /dev/null
@@ -1,9 +0,0 @@
-etc/php.ini-dist
-%%AP_LIBEXEC%%/libphp4.so
-@exec %D/sbin/apxs -e -a -n php4 %f
-@unexec %D/sbin/apxs -e -A -n php4 %f
-%%PHPDOCDIR%%/CODING_STANDARDS
-%%PHPDOCDIR%%/LICENSE
-@exec %D/sbin/apachectl restart
-@unexec %D/sbin/apachectl restart
-@dirrm %%PHPDOCDIR%%
diff --git a/www/mod_php5/pkg-plist.standalone b/www/mod_php5/pkg-plist.standalone
deleted file mode 100644
index 77493bfd1bd2..000000000000
--- a/www/mod_php5/pkg-plist.standalone
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/php
-etc/php.standalone/php.ini-dist
-@unexec rmdir %D/etc/php.standalone 2>/dev/null || true
diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php
deleted file mode 100644
index 4bd4ef2a17d0..000000000000
--- a/www/mod_php5/scripts/configure.php
+++ /dev/null
@@ -1,256 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-
-if [ -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc ]; then
- exit
-fi
-
-tempfile=`/usr/bin/mktemp -t checklist`
-
-if [ "${BATCH}" ]; then
- set \"zlib\" \"MySQL\"
-else
- /usr/bin/dialog --title "configuration options" --clear \
- --checklist "\n\
-Please select desired options:" -1 -1 16 \
-GD "GD library support" OFF \
-FreeType "TrueType font rendering (implies GD)" OFF \
-zlib "zlib library support" ON \
-mcrypt "Encryption support" OFF \
-mhash "Crypto-hashing support" OFF \
-pdflib "pdflib support (implies zlib)" OFF \
-IMAP "IMAP support" OFF \
-MySQL "MySQL database support" ON \
-PostgreSQL "PostgreSQL database support" OFF \
-SybaseDB "Sybase/MS-SQL database support (DB-lib)" OFF \
-SybaseCT "Sybase/MS-SQL database support (CT-lib)" OFF \
-Interbase "Interbase 6 database support (Firebird)" OFF \
-dBase "dBase database support" OFF \
-OpenLDAP "OpenLDAP support" OFF \
-OpenSSL "OpenSSL support" OFF \
-SNMP "SNMP support" OFF \
-XML "XML support" OFF \
-FTP "File Transfer Protocol support" OFF \
-CURL "CURL support" OFF \
-gettext "gettext library support" OFF \
-japanese "jstring and mbregex module" OFF \
-YP "YP/NIS support" OFF \
-BCMath "BCMath support" OFF \
-Hyperwave "Hyperwave support" OFF \
-ming "ming library support" OFF \
-sockets "sockets support" OFF \
-sysvsem "System V semaphore support" OFF \
-sysvshm "System V shared memory support" OFF \
-transsid "Transparent session id" OFF \
-2> $tempfile
-
- retval=$?
-
- if [ -s $tempfile ]; then
- set `cat $tempfile`
- fi
- rm -f $tempfile
-
- case $retval in
- 0) if [ -z "$*" ]; then
- echo "Nothing selected"
- fi
- ;;
- 1) echo "Cancel pressed."
- exit 1
- ;;
- esac
-fi
-
-${MKDIR} ${WRKDIRPREFIX}${REALCURDIR}
-exec > ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
-
-while [ "$1" ]; do
- case $1 in
- \"GD\")
- echo "LIB_DEPENDS+= gd.2:\${PORTSDIR}/graphics/gd"
- echo "CONFIGURE_ARGS+=--with-gd=\${PREFIX}"
- GD=1
- ;;
- \"FreeType\")
- echo "LIB_DEPENDS+= ttf.4:\${PORTSDIR}/print/freetype"
- echo "CONFIGURE_ARGS+=--with-ttf=\${PREFIX}"
- if [ -z "$GD" ]; then
- set $* \"GD\"
- fi
- ;;
- \"zlib\")
- echo "CONFIGURE_ARGS+=--with-zlib"
- ZLIB=1
- ;;
- \"mcrypt\")
- echo "LIB_DEPENDS+= mcrypt.6:\${PORTSDIR}/security/libmcrypt"
- echo "CONFIGURE_ARGS+=--with-mcrypt=\${PREFIX}"
- ;;
- \"mhash\")
- echo "LIB_DEPENDS+= mhash.2:\${PORTSDIR}/security/mhash"
- echo "CONFIGURE_ARGS+=--with-mhash=\${PREFIX}"
- ;;
- \"pdflib\")
- echo "pdflib is DISABLED for now. Ignoring." > /dev/stderr
- ;;
- \"nothing\")
- echo "LIB_DEPENDS+= pdf.2:\${PORTSDIR}/print/pdflib"
- echo "CONFIGURE_ARGS+=--with-pdflib=\${PREFIX} \\"
- echo " --with-jpeg-dir=\${PREFIX} \\"
- echo " --with-tiff-dir=\${PREFIX}"
- if [ -z "$ZLIB" ]; then
- set $* \"zlib\"
- fi
- ;;
- \"IMAP\")
- echo "LIB_DEPENDS+= c-client4.8:\${PORTSDIR}/mail/cclient"
- echo "CONFIGURE_ARGS+=--with-imap=\${PREFIX}"
- ;;
- \"MySQL\")
- echo "LIB_DEPENDS+= mysqlclient.10:\${PORTSDIR}/databases/mysql323-client"
- echo "CONFIGURE_ARGS+=--with-mysql=\${PREFIX}"
- ;;
- \"PostgreSQL\")
- echo "LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7"
- echo "CONFIGURE_ARGS+=--with-pgsql=\${PREFIX}/pgsql"
- if /usr/bin/ldd ${PREFIX}/pgsql/bin/postgres 2> /dev/null | /usr/bin/grep -q "libssl"; then
- echo "USE_OPENSSL= yes"
- LIBS="${LIBS} -L\${OPENSSLBASE}/lib -lcrypto -lssl"
- fi
- ;;
- \"SybaseDB\")
- echo "LIB_DEPENDS+= sybdb.0:\${PORTSDIR}/databases/freetds"
- echo "CONFIGURE_ARGS+=--with-sybase=\${PREFIX}"
- if [ "$SYBASECT" ]; then
- echo "SybaseDB and SybaseCT are mutually exclusive." > /dev/stderr
- rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
- exit 1
- fi
- SYBASEDB=1
- ;;
- \"SybaseCT\")
- echo "LIB_DEPENDS+= ct.0:\${PORTSDIR}/databases/freetds"
- echo "CONFIGURE_ARGS+=--with-sybase-ct=\${PREFIX}"
- if [ "$SYBASEDB" ]; then
- echo "SybaseDB and SybaseCT are mutually exclusive." > /dev/stderr
- rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
- exit 1
- fi
- SYBASECT=1
- ;;
- \"Interbase\")
- echo "LIB_DEPENDS+= gds.1:\${PORTSDIR}/databases/firebird"
- echo "CONFIGURE_ARGS+=--with-interbase=\${PREFIX}/firebird"
- LIBS="${LIBS} -L\${PREFIX}/firebird/lib"
- ;;
- \"dBase\")
- echo "CONFIGURE_ARGS+=--with-dbase"
- ;;
- \"OpenLDAP\")
- echo "LIB_DEPENDS+= ldap.1:\${PORTSDIR}/net/openldap"
- echo "LIB_DEPENDS+= lber.1:\${PORTSDIR}/net/openldap"
- echo "CONFIGURE_ARGS+=--with-ldap=\${PREFIX}"
- if [ -f /usr/lib/libkrb.a -a -f /usr/lib/libdes.a -a ! -L /usr/lib/libdes.a ]; then
- LIBS="${LIBS} -lkrb -ldes -L\${PREFIX}/lib"
- fi
- ;;
- \"OpenSSL\")
- echo "USE_OPENSSL=yes"
- echo "CONFIGURE_ARGS+=--with-openssl=\${OPENSSLBASE}"
- ;;
- \"SNMP\")
- echo "LIB_DEPENDS+= snmp.4:\${PORTSDIR}/net/net-snmp"
- echo "CONFIGURE_ARGS+=--with-snmp=\${PREFIX} --enable-ucd-snmp-hack"
- echo "USE_OPENSSL= yes"
- LIBS="${LIBS} -L\${OPENSSLBASE}/lib -lcrypto -lssl"
- ;;
- \"XML\")
- echo "BUILD_DEPENDS+= \${PREFIX}/lib/libexpat.a:\${PORTSDIR}/textproc/expat"
- echo "BUILD_DEPENDS+= \${PREFIX}/include/xml/xmlparse.h:\${PORTSDIR}/textproc/expat"
- echo "BUILD_DEPENDS+= \${PREFIX}/include/xml/xmltok.h:\${PORTSDIR}/textproc/expat"
- echo "CONFIGURE_ARGS+=--with-xml=\${PREFIX}"
- ;;
- \"FTP\")
- echo "CONFIGURE_ARGS+=--enable-ftp"
- ;;
- \"CURL\")
- echo "CONFIGURE_ARGS+=--with-curl=\${PREFIX}"
- echo "BUILD_DEPENDS+= \${PREFIX}/lib/libcurl.a:\${PORTSDIR}/ftp/curl"
- ;;
- \"gettext\")
- echo "LIB_DEPENDS+= intl.1:\${PORTSDIR}/devel/gettext"
- echo "CONFIGURE_ARGS+=--with-gettext=\${PREFIX}"
- ;;
- \"japanese\")
- ${CAT} << EOF
-MASTER_SITES+= ftp://night.fminn.nagano.nagano.jp/php4/
-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-japanese
-
-post-extract-japanese:
- [ -d \${WRKDIR}/jstring -a \${WRKDIR}/mbregex ] && \\
- (cd \${WRKSRC}; \\
- \${MV} ${WRKDIR}/jstring ext; \\
- \${MV} ${WRKDIR}/mbregex ext; \\
- \${RM} configure; \\
- ./buildconf)
-
-EOF
- ;;
- \"YP\")
- echo "CONFIGURE_ARGS+=--enable-yp"
- ;;
- \"BCMath\")
- echo "CONFIGURE_ARGS+=--enable-bcmath"
- ;;
- \"Hyperwave\")
- echo "CONFIGURE_ARGS+=--with-hyperwave=yes"
- ;;
- \"ming\")
- ${CAT} << EOF
-CONFIGURE_ARGS+=--with-ming=\${PREFIX}
-BUILD_DEPENDS+= /nonexistent:\${PORTSDIR}/graphics/ming:extract
-BUILD_DEPENDS+= automake:\${PORTSDIR}/devel/automake
-BUILD_DEPENDS+= autoconf:\${PORTSDIR}/devel/autoconf
-LIB_DEPENDS+= ming.2:\${PORTSDIR}/graphics/ming
-POSTEXTRACT+= post-extract-ming
-
-post-extract-ming:
- [ -d \`cd \${PORTSDIR}/graphics/ming && \${MAKE} -V WRKSRC\`/../php_ext ] && \\
- (cd \${WRKSRC}; \\
- \${MKDIR} \${WRKSRC}/ext/ming; \\
- \${CP} \`cd \${PORTSDIR}/graphics/ming && \${MAKE} -V WRKSRC\`/../php_ext/* \${WRKSRC}/ext/ming; \\
- \${CP} \${FILESDIR}/ming-config-m4 \${WRKSRC}/ext/ming/config.m4; \\
- \${RM} configure; \\
- ./buildconf)
-
-EOF
- ;;
- \"sockets\")
- echo "CONFIGURE_ARGS+=--enable-sockets"
- ;;
- \"sysvsem\")
- echo "CONFIGURE_ARGS+=--enable-sysvsem"
- ;;
- \"sysvshm\")
- echo "CONFIGURE_ARGS+=--enable-sysvshm"
- ;;
- \"transsid\")
- echo "CONFIGURE_ARGS+=--enable-trans-sid"
- ;;
- *)
- echo "Invalid option(s): $*" > /dev/stderr
- rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
- exit 1
- ;;
- esac
- shift
-done
-
-if [ "${LIBS}" ]; then
- echo "CONFIGURE_ENV+= LIBS='${LIBS}'"
-fi