Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2002 17:38:02 +0200 (CEST)
From:      Alex Dupre <sysadmin@alexdupre.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/39623: [New Ports] Development versions of PHP, PEAR and mod_php
Message-ID:  <200206211538.g5LFc2I9036179@vaio.alexdupre.com>

next in thread | raw e-mail | index | archive | help

>Number:         39623
>Category:       ports
>Synopsis:       [New Ports] Development versions of PHP, PEAR and mod_php
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 21 08:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alex Dupre
>Release:        FreeBSD 4.5-ALEXDUPRE i386
>Organization:
>Environment:
System: FreeBSD vaio.alexdupre.com 4.5-ALEXDUPRE FreeBSD 4.5-ALEXDUPRE #0: Fri Apr 12 14:12:57 CEST 2002 alex@vaio.alexdupre.com:/usr/obj/usr/src/sys/VAIO i386


	
>Description:
The PHP-dev port 'suite'.

It includes:
* lang/php-dev    (Command Line Interpreter & Common Gateway Interface)
* www/mod_php-dev (Apache 1.3.26 & 2.0.39 Module)
* devel/pear-dev  (PEAR framework & distribution system)

All these ports are based on the CVS version of PHP and include support for
many extensions.

They have been created to work together, completing each other without
overlays or incompatibilities.

They took me much time, so enjoy and let me know your comments :)

Close ports/37180 and ports/37612.
	
>How-To-Repeat:
	
>Fix:

	

--- php-dev.sh begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	devel/pear-dev/
#	devel/pear-dev/Makefile
#	devel/pear-dev/distinfo
#	devel/pear-dev/pkg-comment
#	devel/pear-dev/pkg-descr
#	devel/pear-dev/pkg-plist
#	lang/php-dev/
#	lang/php-dev/Makefile
#	lang/php-dev/distinfo
#	lang/php-dev/files
#	lang/php-dev/files/patch-ext::ming::php_ming.h
#	lang/php-dev/pkg-comment
#	lang/php-dev/pkg-descr
#	lang/php-dev/pkg-message
#	lang/php-dev/pkg-plist
#	lang/php-dev/scripts
#	lang/php-dev/scripts/configure.php
#	www/mod_php-dev/
#	www/mod_php-dev/Makefile
#	www/mod_php-dev/distinfo
#	www/mod_php-dev/files
#	www/mod_php-dev/files/patch-ext::ming::php_ming.h
#	www/mod_php-dev/pkg-comment
#	www/mod_php-dev/pkg-descr
#	www/mod_php-dev/pkg-message
#	www/mod_php-dev/pkg-plist
#	www/mod_php-dev/scripts
#	www/mod_php-dev/scripts/configure.php
#
echo c - devel/pear-dev/
mkdir -p devel/pear-dev/ > /dev/null 2>&1
echo x - devel/pear-dev/Makefile
sed 's/^X//' >devel/pear-dev/Makefile << 'END-of-devel/pear-dev/Makefile'
X# New ports collection makefile for:	pear
X# Date created:         Fri Jun 21 14:51:03 CET 2002
X# Whom:                 Alex Dupre <sysadmin@alexdupre.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pear
XPORTVERSION=	200206200000
XCATEGORIES=	devel www
XMASTER_SITES=	http://digidownload.iol.it/phpdev/
XDISTNAME=	php4-${PORTVERSION}
X
XMAINTAINER=	sysadmin@alexdupre.com
X
XBUILD_DEPENDS=	${LOCALBASE}/bin/php:${PORTSDIR}/lang/php-dev
X
XUSE_BZIP2=	yes
XNO_BUILD=	yes
X
Xdo-install:
X	@${MKDIR} ${PREFIX}/share/pear
X	@${LOCALBASE}/bin/php ${WRKSRC}/pear/install-pear.php \
X		${WRKSRC}/pear/package-*.xml
X	@${LOCALBASE}/bin/php ${WRKSRC}/pear/install-pear.php \
X		${WRKSRC}/pear/packages/*.tar
X
X.include <bsd.port.mk>
END-of-devel/pear-dev/Makefile
echo x - devel/pear-dev/distinfo
sed 's/^X//' >devel/pear-dev/distinfo << 'END-of-devel/pear-dev/distinfo'
XMD5 (php4-200206200000.tar.bz2) = 453159ab9d3139c1e839f5cf064dd9b6
END-of-devel/pear-dev/distinfo
echo x - devel/pear-dev/pkg-comment
sed 's/^X//' >devel/pear-dev/pkg-comment << 'END-of-devel/pear-dev/pkg-comment'
XA framework and distribution system for PHP components
END-of-devel/pear-dev/pkg-comment
echo x - devel/pear-dev/pkg-descr
sed 's/^X//' >devel/pear-dev/pkg-descr << 'END-of-devel/pear-dev/pkg-descr'
XPEAR is a code repository for PHP extensions and PHP library code
Xinspired by TeX's CTAN and Perl's CPAN.
X
XThe purpose of PEAR is:
X
X	* to provide a consistent means for library code authors to
X	  share their code with other developers;
X
X	* to give the PHP community an infrastructure for sharing code;
X
X	* to define standards that help developers write portable and
X	  reusable code;
X
X	* to provide tools for code maintenance and distribution.
X
XWWW: http://pear.php.net/
X
X- Alex Dupre
Xsysadmin@alexdupre.com
END-of-devel/pear-dev/pkg-descr
echo x - devel/pear-dev/pkg-plist
sed 's/^X//' >devel/pear-dev/pkg-plist << 'END-of-devel/pear-dev/pkg-plist'
Xshare/pear/.filemap
Xshare/pear/.lock
Xshare/pear/.registry/Archive_Tar.reg
Xshare/pear/.registry/Console_Getopt.reg
Xshare/pear/.registry/DB.reg
Xshare/pear/.registry/Mail.reg
Xshare/pear/.registry/PEAR.reg
Xshare/pear/.registry/XML_Parser.reg
Xshare/pear/.registry/XML_RPC.reg
Xshare/pear/Archive/Tar.php
Xshare/pear/Console/Getopt.php
Xshare/pear/DB/common.php
Xshare/pear/DB/dbase.php
Xshare/pear/DB/fbsql.php
Xshare/pear/DB/ibase.php
Xshare/pear/DB/ifx.php
Xshare/pear/DB/msql.php
Xshare/pear/DB/mssql.php
Xshare/pear/DB/mysql.php
Xshare/pear/DB/oci8.php
Xshare/pear/DB/odbc.php
Xshare/pear/DB/pgsql.php
Xshare/pear/DB/storage.php
Xshare/pear/DB/sybase.php
Xshare/pear/DB.php
Xshare/pear/Mail/RFC822.php
Xshare/pear/Mail/mail.php
Xshare/pear/Mail/sendmail.php
Xshare/pear/Mail/smtp.php
Xshare/pear/Mail.php
Xshare/pear/OS/Guess.php
Xshare/pear/PEAR/Autoloader.php
Xshare/pear/PEAR/Builder.php
Xshare/pear/PEAR/Command/Auth.php
Xshare/pear/PEAR/Command/Build.php
Xshare/pear/PEAR/Command/Common.php
Xshare/pear/PEAR/Command/Config.php
Xshare/pear/PEAR/Command/Install.php
Xshare/pear/PEAR/Command/Package.php
Xshare/pear/PEAR/Command/Registry.php
Xshare/pear/PEAR/Command/Remote.php
Xshare/pear/PEAR/Command.php
Xshare/pear/PEAR/Common.php
Xshare/pear/PEAR/Config.php
Xshare/pear/PEAR/Dependency.php
Xshare/pear/PEAR/Frontend/CLI.php
Xshare/pear/PEAR/Frontend/Gtk.php
Xshare/pear/PEAR/Installer.php
Xshare/pear/PEAR/Packager.php
Xshare/pear/PEAR/Registry.php
Xshare/pear/PEAR/Remote.php
Xshare/pear/PEAR.php
Xshare/pear/System.php
Xshare/pear/XML/Parser.php
Xshare/pear/XML/RPC/Server.php
Xshare/pear/XML/RPC.php
Xshare/pear/data/DB/DB/IDEAS
Xshare/pear/data/DB/DB/MAINTAINERS
Xshare/pear/data/DB/DB/STATUS
Xshare/pear/data/DB/DB/TESTERS
Xshare/pear/data/PEAR/package.dtd
Xshare/pear/docs/Archive_Tar/docs/Archive_Tar.txt
Xshare/pear/tests/DB/DB/tests/db_error.phpt
Xshare/pear/tests/DB/DB/tests/db_error2.phpt
Xshare/pear/tests/DB/DB/tests/db_factory.phpt
Xshare/pear/tests/DB/DB/tests/db_ismanip.phpt
Xshare/pear/tests/DB/DB/tests/db_parsedsn.phpt
Xshare/pear/tests/DB/DB/tests/driver/01connect.phpt
Xshare/pear/tests/DB/DB/tests/driver/02fetch.phpt
Xshare/pear/tests/DB/DB/tests/driver/03simplequery.phpt
Xshare/pear/tests/DB/DB/tests/driver/04numcols.phpt
Xshare/pear/tests/DB/DB/tests/driver/05sequences.phpt
Xshare/pear/tests/DB/DB/tests/driver/06prepexec.phpt
Xshare/pear/tests/DB/DB/tests/driver/08affectedrows.phpt
Xshare/pear/tests/DB/DB/tests/driver/09numrows.phpt
Xshare/pear/tests/DB/DB/tests/driver/10errormap.phpt
Xshare/pear/tests/DB/DB/tests/driver/13limit.phpt
Xshare/pear/tests/DB/DB/tests/driver/14fetchmode_object.phpt
Xshare/pear/tests/DB/DB/tests/driver/15quote.phpt
Xshare/pear/tests/DB/DB/tests/ibase/01connect.phpt
Xshare/pear/tests/DB/DB/tests/ibase/02fetch.phpt
Xshare/pear/tests/DB/DB/tests/ibase/03simplequery.phpt
Xshare/pear/tests/DB/DB/tests/ibase/04numcols.phpt
Xshare/pear/tests/DB/DB/tests/ibase/05sequences.phpt
Xshare/pear/tests/DB/DB/tests/ibase/06prepexec.phpt
Xshare/pear/tests/DB/DB/tests/ibase/10errormap.phpt
Xshare/pear/tests/DB/DB/tests/mysql/01connect.phpt
Xshare/pear/tests/DB/DB/tests/mysql/02fetch.phpt
Xshare/pear/tests/DB/DB/tests/mysql/03simplequery.phpt
Xshare/pear/tests/DB/DB/tests/mysql/04numcols.phpt
Xshare/pear/tests/DB/DB/tests/mysql/05sequences.phpt
Xshare/pear/tests/DB/DB/tests/mysql/06prepexec.phpt
Xshare/pear/tests/DB/DB/tests/mysql/07errornative.phpt
Xshare/pear/tests/DB/DB/tests/mysql/08affectedrows.phpt
Xshare/pear/tests/DB/DB/tests/mysql/09numrows.phpt
Xshare/pear/tests/DB/DB/tests/mysql/10errormap.phpt
Xshare/pear/tests/DB/DB/tests/mysql/12tableinfo.phpt
Xshare/pear/tests/DB/DB/tests/mysql/13limit.phpt
Xshare/pear/tests/DB/DB/tests/mysql/14fetchmode_object.phpt
Xshare/pear/tests/DB/DB/tests/oci8/01connect.phpt
Xshare/pear/tests/DB/DB/tests/oci8/02fetch.phpt
Xshare/pear/tests/DB/DB/tests/oci8/03simplequery.phpt
Xshare/pear/tests/DB/DB/tests/oci8/04numcols.phpt
Xshare/pear/tests/DB/DB/tests/oci8/05sequences.phpt
Xshare/pear/tests/DB/DB/tests/oci8/06prepexec.phpt
Xshare/pear/tests/DB/DB/tests/oci8/07errornative.phpt
Xshare/pear/tests/DB/DB/tests/oci8/08affectedrows.phpt
Xshare/pear/tests/DB/DB/tests/oci8/09numrows.phpt
Xshare/pear/tests/DB/DB/tests/oci8/10errormap.phpt
Xshare/pear/tests/DB/DB/tests/oci8/13limit.phpt
Xshare/pear/tests/DB/DB/tests/odbc/01connect.phpt
Xshare/pear/tests/DB/DB/tests/odbc/02fetch.phpt
Xshare/pear/tests/DB/DB/tests/odbc/03simplequery.phpt
Xshare/pear/tests/DB/DB/tests/odbc/04numcols.phpt
Xshare/pear/tests/DB/DB/tests/odbc/06prepexec.phpt
Xshare/pear/tests/DB/DB/tests/odbc/07errornative.phpt
Xshare/pear/tests/DB/DB/tests/odbc/09numrows.phpt
Xshare/pear/tests/DB/DB/tests/odbc/10errormap.phpt
Xshare/pear/tests/DB/DB/tests/pgsql/01connect.phpt
Xshare/pear/tests/DB/DB/tests/pgsql/02fetch.phpt
Xshare/pear/tests/DB/DB/tests/pgsql/03simplequery.phpt
Xshare/pear/tests/DB/DB/tests/pgsql/04numcols.phpt
Xshare/pear/tests/DB/DB/tests/pgsql/05sequences.phpt
Xshare/pear/tests/DB/DB/tests/pgsql/06prepexec.phpt
Xshare/pear/tests/DB/DB/tests/pgsql/07errornative.phpt
Xshare/pear/tests/DB/DB/tests/pgsql/08affectedrows.phpt
Xshare/pear/tests/DB/DB/tests/pgsql/09numrows.phpt
Xshare/pear/tests/DB/DB/tests/pgsql/10errormap.phpt
Xshare/pear/tests/DB/DB/tests/pgsql/11transact.phpt
Xshare/pear/tests/DB/DB/tests/pgsql/13limit.phpt
Xshare/pear/tests/DB/DB/tests/pgsql/14fetchmode_object.phpt
Xshare/pear/tests/XML_Parser/tests/001.phpt
Xshare/pear/tests/XML_Parser/tests/002.phpt
Xshare/pear/tests/XML_Parser/tests/003.phpt
Xshare/pear/tests/XML_Parser/tests/004.phpt
Xshare/pear/tests/XML_Parser/tests/005.phpt
Xshare/pear/tests/XML_Parser/tests/test2.xml
Xshare/pear/tests/XML_Parser/tests/test3.xml
X@dirrm share/pear/.registry
X@dirrm share/pear/Archive
X@dirrm share/pear/Console
X@dirrm share/pear/DB
X@dirrm share/pear/Mail
X@dirrm share/pear/OS
X@dirrm share/pear/PEAR/Command
X@dirrm share/pear/PEAR/Frontend
X@dirrm share/pear/PEAR
X@dirrm share/pear/XML/RPC
X@dirrm share/pear/XML
X@dirrm share/pear/data/DB/DB
X@dirrm share/pear/data/DB
X@dirrm share/pear/data/PEAR
X@dirrm share/pear/data
X@dirrm share/pear/docs/Archive_Tar/docs
X@dirrm share/pear/docs/Archive_Tar
X@dirrm share/pear/docs
X@dirrm share/pear/tests/DB/DB/tests/driver
X@dirrm share/pear/tests/DB/DB/tests/ibase
X@dirrm share/pear/tests/DB/DB/tests/mysql
X@dirrm share/pear/tests/DB/DB/tests/oci8
X@dirrm share/pear/tests/DB/DB/tests/odbc
X@dirrm share/pear/tests/DB/DB/tests/pgsql
X@dirrm share/pear/tests/DB/DB/tests
X@dirrm share/pear/tests/DB/DB
X@dirrm share/pear/tests/DB
X@dirrm share/pear/tests/XML_Parser/tests
X@dirrm share/pear/tests/XML_Parser
X@dirrm share/pear/tests
X@dirrm share/pear
END-of-devel/pear-dev/pkg-plist
echo c - lang/php-dev/
mkdir -p lang/php-dev/ > /dev/null 2>&1
echo x - lang/php-dev/Makefile
sed 's/^X//' >lang/php-dev/Makefile << 'END-of-lang/php-dev/Makefile'
X# New ports collection makefile for:	php
X# Date created:         Fri Jun 21 16:16:53 CET 2002
X# Whom:                 Alex Dupre <sysadmin@alexdupre.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	php
XPORTVERSION=	4.3.0
XCATEGORIES=	lang www
XMASTER_SITES=	http://digidownload.iol.it/phpdev/
XDISTNAME=	php4-${TIMESTAMP}
X
XMAINTAINER=	sysadmin@alexdupre.com
X
XTIMESTAMP=	200206200000
X
XUSE_BZIP2=	yes
XUSE_SUBMAKE=	yes
XGNU_CONFIGURE=	yes
XUSE_LIBTOOL=	yes
XUSE_REINPLACE=	yes
X
X.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
XIS_INTERACTIVE=	yes
X.endif
X
XCONFIGURE_ARGS=	--enable-versioning \
X		--enable-inline-optimization \
X		--with-layout=GNU \
X		--enable-discard-path \
X		--enable-force-cgi-redirect \
X		--disable-ctype \
X		--disable-mbstring \
X		--without-mysql \
X		--without-pcre-regex \
X		--disable-posix \
X		--disable-overload \
X		--disable-session \
X		--disable-tokenizer \
X		--disable-xml
X
X.include <bsd.port.pre.mk>
X
XSCRIPTS_ENV+=	WRKDIRPREFIX="${WRKDIRPREFIX}" \
X		TOUCH="${TOUCH}" \
X		MKDIR="${MKDIR}" \
X		OSVERSION="${OSVERSION}" \
X		PHP_OPTIONS="${PHP_OPTIONS}" \
X		REALCURDIR="${.CURDIR}"
X
Xpre-fetch:
X	@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php
X
Xpost-configure:
X	@${REINPLACE_CMD} -e "s|i install-pear i|i i|g" ${WRKSRC}/Makefile
X
Xpost-install:
X	@${TOUCH} ${PREFIX}/lib/php/20010901/.php
X
Xpost-clean:
X	@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
X
X.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
X.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
X.endif
X
X.include <bsd.port.post.mk>
END-of-lang/php-dev/Makefile
echo x - lang/php-dev/distinfo
sed 's/^X//' >lang/php-dev/distinfo << 'END-of-lang/php-dev/distinfo'
XMD5 (php4-200206200000.tar.bz2) = 453159ab9d3139c1e839f5cf064dd9b6
END-of-lang/php-dev/distinfo
echo c - lang/php-dev/files
mkdir -p lang/php-dev/files > /dev/null 2>&1
echo x - lang/php-dev/files/patch-ext::ming::php_ming.h
sed 's/^X//' >lang/php-dev/files/patch-ext::ming::php_ming.h << 'END-of-lang/php-dev/files/patch-ext::ming::php_ming.h'
X--- ext/ming/php_ming.h.orig	Sun May 26 19:38:02 2002
X+++ ext/ming/php_ming.h	Sun May 26 19:38:14 2002
X@@ -24,7 +24,7 @@
X extern zend_module_entry ming_module_entry;
X #define ming_module_ptr &ming_module_entry
X 
X-#include <ming.h>
X+#include <ming/ming.h>
X 
X PHP_RINIT_FUNCTION(ming);
X PHP_MINIT_FUNCTION(ming);
END-of-lang/php-dev/files/patch-ext::ming::php_ming.h
echo x - lang/php-dev/pkg-comment
sed 's/^X//' >lang/php-dev/pkg-comment << 'END-of-lang/php-dev/pkg-comment'
XPHP Command Line Interpreter & Common Gateway Interface
END-of-lang/php-dev/pkg-comment
echo x - lang/php-dev/pkg-descr
sed 's/^X//' >lang/php-dev/pkg-descr << 'END-of-lang/php-dev/pkg-descr'
XPHP, which stands for "PHP: Hypertect Preprocessor" is a widely-used Open
XSource general-purpose scripting language. Its syntax draws upon C,
XJava, and Perl, and is easy to learn.
X
XWWW: http://www.php.net/
X
X- Alex Dupre
Xsysadmin@alexdupre.com
END-of-lang/php-dev/pkg-descr
echo x - lang/php-dev/pkg-message
sed 's/^X//' >lang/php-dev/pkg-message << 'END-of-lang/php-dev/pkg-message'
X*****************************************************************************
X
XYou have installed the php-dev package.
X
XHave a look at the php-dev port if you need additional extensions
Xother than ctype, mbstring, MySQL, overload, PCRE, POSIX, session,
Xtokenizer, XML and ZLIB.
X
XYou can find it at
Xftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/ports/lang/php-dev.tar
X
X*****************************************************************************
END-of-lang/php-dev/pkg-message
echo x - lang/php-dev/pkg-plist
sed 's/^X//' >lang/php-dev/pkg-plist << 'END-of-lang/php-dev/pkg-plist'
Xbin/php
Xbin/php-cgi
Xbin/php-config
Xbin/phpize
Xinclude/php/TSRM/TSRM.h
Xinclude/php/TSRM/acconfig.h
Xinclude/php/TSRM/readdir.h
Xinclude/php/TSRM/tsrm_config.h
Xinclude/php/TSRM/tsrm_config.nw.h
Xinclude/php/TSRM/tsrm_config.w32.h
Xinclude/php/TSRM/tsrm_config_common.h
Xinclude/php/TSRM/tsrm_nw.h
Xinclude/php/TSRM/tsrm_strtok_r.h
Xinclude/php/TSRM/tsrm_virtual_cwd.h
Xinclude/php/TSRM/tsrm_win32.h
Xinclude/php/Zend/FlexLexer.h
Xinclude/php/Zend/acconfig.h
Xinclude/php/Zend/zend.h
Xinclude/php/Zend/zend_API.h
Xinclude/php/Zend/zend_alloc.h
Xinclude/php/Zend/zend_builtin_functions.h
Xinclude/php/Zend/zend_compile.h
Xinclude/php/Zend/zend_config.h
Xinclude/php/Zend/zend_config.w32.h
Xinclude/php/Zend/zend_constants.h
Xinclude/php/Zend/zend_dynamic_array.h
Xinclude/php/Zend/zend_errors.h
Xinclude/php/Zend/zend_execute.h
Xinclude/php/Zend/zend_execute_globals.h
Xinclude/php/Zend/zend_execute_locks.h
Xinclude/php/Zend/zend_extensions.h
Xinclude/php/Zend/zend_fast_cache.h
Xinclude/php/Zend/zend_globals.h
Xinclude/php/Zend/zend_globals_macros.h
Xinclude/php/Zend/zend_hash.h
Xinclude/php/Zend/zend_highlight.h
Xinclude/php/Zend/zend_indent.h
Xinclude/php/Zend/zend_ini.h
Xinclude/php/Zend/zend_ini_parser.h
Xinclude/php/Zend/zend_ini_scanner.h
Xinclude/php/Zend/zend_istdiostream.h
Xinclude/php/Zend/zend_language_parser.h
Xinclude/php/Zend/zend_language_scanner.h
Xinclude/php/Zend/zend_list.h
Xinclude/php/Zend/zend_llist.h
Xinclude/php/Zend/zend_modules.h
Xinclude/php/Zend/zend_multibyte.h
Xinclude/php/Zend/zend_operators.h
Xinclude/php/Zend/zend_ptr_stack.h
Xinclude/php/Zend/zend_qsort.h
Xinclude/php/Zend/zend_stack.h
Xinclude/php/Zend/zend_static_allocator.h
Xinclude/php/Zend/zend_variables.h
Xinclude/php/acconfig.h
Xinclude/php/ext/mbstring/cp932_table.h
Xinclude/php/ext/mbstring/mbfilter.h
Xinclude/php/ext/mbstring/mbfilter_cn.h
Xinclude/php/ext/mbstring/mbfilter_ja.h
Xinclude/php/ext/mbstring/mbfilter_kr.h
Xinclude/php/ext/mbstring/mbfilter_ru.h
Xinclude/php/ext/mbstring/mbfilter_tw.h
Xinclude/php/ext/mbstring/mbregex.h
Xinclude/php/ext/mbstring/mbstring.h
Xinclude/php/ext/mbstring/unicode_table.h
Xinclude/php/ext/mbstring/unicode_table_cn.h
Xinclude/php/ext/mbstring/unicode_table_ja.h
Xinclude/php/ext/mbstring/unicode_table_kr.h
Xinclude/php/ext/mbstring/unicode_table_ru.h
Xinclude/php/ext/mbstring/unicode_table_tw.h
Xinclude/php/ext/pgsql/php_pgsql.h
Xinclude/php/ext/session/mod_files.h
Xinclude/php/ext/session/mod_mm.h
Xinclude/php/ext/session/mod_user.h
Xinclude/php/ext/session/php_session.h
Xinclude/php/ext/standard/aggregation.h
Xinclude/php/ext/standard/base64.h
Xinclude/php/ext/standard/basic_functions.h
Xinclude/php/ext/standard/crc32.h
Xinclude/php/ext/standard/credits.h
Xinclude/php/ext/standard/credits_ext.h
Xinclude/php/ext/standard/credits_sapi.h
Xinclude/php/ext/standard/cyr_convert.h
Xinclude/php/ext/standard/datetime.h
Xinclude/php/ext/standard/dl.h
Xinclude/php/ext/standard/dns.h
Xinclude/php/ext/standard/exec.h
Xinclude/php/ext/standard/file.h
Xinclude/php/ext/standard/flock_compat.h
Xinclude/php/ext/standard/fsock.h
Xinclude/php/ext/standard/head.h
Xinclude/php/ext/standard/html.h
Xinclude/php/ext/standard/info.h
Xinclude/php/ext/standard/md5.h
Xinclude/php/ext/standard/microtime.h
Xinclude/php/ext/standard/pack.h
Xinclude/php/ext/standard/pageinfo.h
Xinclude/php/ext/standard/php_array.h
Xinclude/php/ext/standard/php_assert.h
Xinclude/php/ext/standard/php_browscap.h
Xinclude/php/ext/standard/php_crypt.h
Xinclude/php/ext/standard/php_dir.h
Xinclude/php/ext/standard/php_ext_syslog.h
Xinclude/php/ext/standard/php_filestat.h
Xinclude/php/ext/standard/php_fopen_wrappers.h
Xinclude/php/ext/standard/php_ftok.h
Xinclude/php/ext/standard/php_image.h
Xinclude/php/ext/standard/php_incomplete_class.h
Xinclude/php/ext/standard/php_iptc.h
Xinclude/php/ext/standard/php_lcg.h
Xinclude/php/ext/standard/php_link.h
Xinclude/php/ext/standard/php_mail.h
Xinclude/php/ext/standard/php_math.h
Xinclude/php/ext/standard/php_metaphone.h
Xinclude/php/ext/standard/php_parsedate.h
Xinclude/php/ext/standard/php_rand.h
Xinclude/php/ext/standard/php_smart_str.h
Xinclude/php/ext/standard/php_smart_str_public.h
Xinclude/php/ext/standard/php_standard.h
Xinclude/php/ext/standard/php_string.h
Xinclude/php/ext/standard/php_type.h
Xinclude/php/ext/standard/php_var.h
Xinclude/php/ext/standard/php_versioning.h
Xinclude/php/ext/standard/quot_print.h
Xinclude/php/ext/standard/reg.h
Xinclude/php/ext/standard/scanf.h
Xinclude/php/ext/standard/uniqid.h
Xinclude/php/ext/standard/url.h
Xinclude/php/ext/standard/url_scanner.h
Xinclude/php/ext/standard/url_scanner_ex.h
Xinclude/php/ext/xml/expat/ascii.h
Xinclude/php/ext/xml/expat/asciitab.h
Xinclude/php/ext/xml/expat/expat.h
Xinclude/php/ext/xml/expat/iasciitab.h
Xinclude/php/ext/xml/expat/latin1tab.h
Xinclude/php/ext/xml/expat/nametab.h
Xinclude/php/ext/xml/expat/utf8tab.h
Xinclude/php/ext/xml/expat/winconfig.h
Xinclude/php/ext/xml/expat/xmlrole.h
Xinclude/php/ext/xml/expat/xmltok.h
Xinclude/php/ext/xml/expat/xmltok_impl.h
Xinclude/php/ext/xml/php_xml.h
Xinclude/php/main/SAPI.h
Xinclude/php/main/build-defs.h
Xinclude/php/main/config.nw.h
Xinclude/php/main/fopen_wrappers.h
Xinclude/php/main/internal_functions_registry.h
Xinclude/php/main/logos.h
Xinclude/php/main/php.h
Xinclude/php/main/php3_compat.h
Xinclude/php/main/php_compat.h
Xinclude/php/main/php_config.h
Xinclude/php/main/php_content_types.h
Xinclude/php/main/php_globals.h
Xinclude/php/main/php_ini.h
Xinclude/php/main/php_logos.h
Xinclude/php/main/php_main.h
Xinclude/php/main/php_memory_streams.h
Xinclude/php/main/php_network.h
Xinclude/php/main/php_open_temporary_file.h
Xinclude/php/main/php_output.h
Xinclude/php/main/php_reentrancy.h
Xinclude/php/main/php_regex.h
Xinclude/php/main/php_streams.h
Xinclude/php/main/php_syslog.h
Xinclude/php/main/php_ticks.h
Xinclude/php/main/php_variables.h
Xinclude/php/main/php_version.h
Xinclude/php/main/rfc1867.h
Xinclude/php/main/safe_mode.h
Xinclude/php/main/snprintf.h
Xinclude/php/main/spprintf.h
Xinclude/php/main/win95nt.h
Xinclude/php/php_version.h
Xinclude/php/regex/cclass.h
Xinclude/php/regex/cname.h
Xinclude/php/regex/regex.h
Xinclude/php/regex/regex2.h
Xinclude/php/regex/regex_extra.h
Xinclude/php/regex/utils.h
Xinclude/php/y.tab.h
Xlib/php/20010901/.php
Xlib/php/build/Makefile.global
Xlib/php/build/acinclude.m4
Xlib/php/build/mkdep.awk
Xlib/php/build/pear.m4
Xlib/php/build/scan_makefile_in.awk
Xlib/php/build/shtool
X@dirrm include/php/TSRM
X@dirrm include/php/Zend
X@dirrm include/php/ext/mbstring
X@dirrm include/php/ext/pgsql
X@dirrm include/php/ext/session
X@dirrm include/php/ext/standard
X@dirrm include/php/ext/xml/expat
X@dirrm include/php/ext/xml
X@dirrm include/php/ext
X@dirrm include/php/main
X@dirrm include/php/regex
X@dirrm include/php/
X@unexec rmdir %D/lib/php/20010901 2> /dev/null || true
X@dirrm lib/php/build
X@unexec rmdir %D/lib/php 2> /dev/null || true
END-of-lang/php-dev/pkg-plist
echo c - lang/php-dev/scripts
mkdir -p lang/php-dev/scripts > /dev/null 2>&1
echo x - lang/php-dev/scripts/configure.php
sed 's/^X//' >lang/php-dev/scripts/configure.php << 'END-of-lang/php-dev/scripts/configure.php'
X#!/bin/sh
X# $FreeBSD$
X
Xif [ -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc ]; then
X	exit
Xfi
X
Xtempfile=`/usr/bin/mktemp -t checklist`
X
Xif [ "${BATCH}" ]; then
X	if [ "${PHP_OPTIONS}" ]; then
X		set ${PHP_OPTIONS}
X	else
X		set \"ctype\" \"mbstring\" \"MySQL\" \"overload\" \"PCRE\" \"POSIX\" \"session\" \"tokenizer\" \"XML\" \"ZLIB\"
X	fi
Xelse
X	/usr/bin/dialog --title "configuration options" --clear \
X		--checklist "\n\
XPlease select desired options:" -1 -1 16 \
Xbcmath		"bc style precision math functions" OFF \
Xbzip2		"bzip2 library support" OFF \
Xcalendar	"calendar conversion support" OFF \
Xcrack		"crack support" OFF \
Xctype		"ctype functions" ON \
XCURL		"CURL support" OFF \
XdBase		"dBase library support" OFF \
Xdbx		"dbx support" OFF \
XDOMXML		"DOM support (implies ZLIB)" OFF \
XDOMXSLT		"DOM XSLT and EXSLT support (implies DOMXML)" OFF \
XEXIF		"EXIF support" OFF \
XfilePro		"filePro support" OFF \
XFTP		"FTP support" OFF \
XGD1		"GD 1.x library support (implies ZLIB)" OFF \
XGD2		"GD 2.x library support (implies ZLIB)" OFF \
XGDBM		"GDBM database support" OFF \
Xgettext		"gettext library support" OFF \
XGMP		"GNU MP support" OFF \
XHyperwave	"Hyperwave support" OFF \
Xiconv		"iconv support" OFF \
XIMAP		"IMAP support" OFF \
XInterbase	"Interbase 6 database support (Firebird)" OFF \
Xmbregex		"multibyte regex support" OFF \
Xmbstring	"multibyte string support" ON \
XMCAL		"Modular Calendar Access Library support" OFF \
XMCVE		"MCVE support" OFF \
Xmcrypt		"Encryption support" OFF \
Xmhash		"Crypto-hashing support" OFF \
Xming		"ming shockwave flash support" OFF \
XMySQL		"MySQL database support" ON \
Xncurses		"ncurses support (CLI/CGI only)" OFF \
XOpenLDAP1	"OpenLDAP 1.x support" OFF \
XOpenLDAP2	"OpenLDAP 2.x support" OFF \
XOpenSSL		"OpenSSL support" OFF \
Xoverload	"user-space object overloading support" ON \
Xpcntl		"pcntl support (CLI/CGI only)" OFF \
XPCRE		"Perl Compatible Regular Expression support" ON \
XPDFlib		"PDFlib support" OFF \
XPOSIX		"POSIX-like functions" ON \
XPostgreSQL	"PostgreSQL database support (implies OpenSSL)" OFF \
Xpspell		"pspell support" OFF \
Xreadline	"readline support (CLI/CGI only)" OFF \
Xsession		"session support" ON \
Xshmop		"shmop support" OFF \
XSNMP		"SNMP support (implies OpenSSL)" OFF \
Xsockets		"sockets support" OFF \
Xsysvsem		"System V semaphore support" OFF \
Xsysvshm		"System V shared memory support" OFF \
Xtokenizer	"tokenizer support" ON \
XunixODBC	"unixODBC support" OFF \
XWDDX		"WDDX support (implies XML)" OFF \
XXML		"XML support" ON \
XXMLRPC		"XMLRPC-EPI support (implies XML and iconv)" OFF \
XXSLT		"XSLT Sablotron support (implies XML and iconv)" OFF \
XYAZ		"YAZ support (ANSI/NISO Z39.50)" OFF \
XYP		"YP/NIS support" OFF \
XZIP		"ZIP support" OFF \
XZLIB		"ZLIB support" ON \
X2> $tempfile
X
X	retval=$?
X
X	if [ -s $tempfile ]; then
X		set `cat $tempfile`
X	fi
X	rm -f $tempfile
X
X	case $retval in
X		0)	if [ -z "$*" ]; then
X				echo "Nothing selected"
X			fi
X			;;
X		1)	echo "Cancel pressed."
X			exit 1
X			;;
X	esac
Xfi
X
X${MKDIR} ${WRKDIRPREFIX}${REALCURDIR}
Xexec > ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
X
Xwhile [ "$1" ]; do
X	case $1 in
X		\"bcmath\")
X			echo "CONFIGURE_ARGS+=--enable-bcmath"
X			;;
X		\"bzip2\")
X			if [ -x /usr/bin/bzip2 ]; then
X				BZ2PREFIX=/usr
X			else
X				BZ2PREFIX=${LOCALBASE}
X				echo "LIB_DEPENDS+=	bz2.1:\${PORTSDIR}/archivers/bzip2"
X			fi
X			echo "CONFIGURE_ARGS+=--with-bz2=${BZ2PREFIX}"
X			;;
X		\"calendar\")
X			echo "CONFIGURE_ARGS+=--enable-calendar"
X			;;
X		\"crack\")
X			echo "BUILD_DEPENDS+=	\${LOCALBASE}/lib/libcrack.a:\${PORTSDIR}/security/cracklib"
X			echo "CONFIGURE_ARGS+=--with-crack=\${LOCALBASE}"
X			;;
X		\"ctype\")
X			echo "CONFIGURE_ARGS+=--enable-ctype"
X			;;
X		\"CURL\")
X			echo "LIB_DEPENDS+=	curl.2:\${PORTSDIR}/ftp/curl"
X			echo "CONFIGURE_ARGS+=--with-curl=\${LOCALBASE}"
X			;;
X		\"dBase\")
X			echo "CONFIGURE_ARGS+=--enable-dbase"
X			;;
X		\"dbx\")
X			echo "CONFIGURE_ARGS+=--enable-dbx"
X			;;
X		\"DOMXML\")
X			if [ -z "$DOMXML" ]; then
X				echo "LIB_DEPENDS+=	xml2.5:\${PORTSDIR}/textproc/libxml2"
X				echo "CONFIGURE_ARGS+=--with-dom=\${LOCALBASE}"
X				if [ -z "$ZLIB" ]; then
X					set $* \"ZLIB\"
X				fi
X				DOMXML=1
X			fi
X			;;
X		\"DOMXSLT\")
X			echo "LIB_DEPENDS+=	xslt.1:\${PORTSDIR}/textproc/libxslt"
X			echo "CONFIGURE_ARGS+=--with-dom-xslt=\${LOCALBASE} --with-dom-exslt=\${LOCALBASE}"
X			if [ -z "$DOMXML" ]; then
X				set $* \"DOMXML\"
X			fi
X			;;
X		\"EXIF\")
X			echo "CONFIGURE_ARGS+=--enable-exif"
X			;;
X		\"filePro\")
X			echo "CONFIGURE_ARGS+=--enable-filepro"
X			;;
X		\"FTP\")
X			echo "CONFIGURE_ARGS+=--enable-ftp"
X			;;
X		\"GD1\")
X 			echo "LIB_DEPENDS+=	gd.2:\${PORTSDIR}/graphics/gd"
X 			echo "LIB_DEPENDS+=	freetype.9:\${PORTSDIR}/print/freetype2"
X 			echo "LIB_DEPENDS+=	png.5:\${PORTSDIR}/graphics/png"
X 			echo "LIB_DEPENDS+=	jpeg.9:\${PORTSDIR}/graphics/jpeg"
X 			echo "CONFIGURE_ARGS+=--with-gd=\${LOCALBASE} \\"
X			echo "		--enable-gd-native-ttf \\"
X 			echo "		--with-freetype-dir=\${LOCALBASE} \\"
X 			echo "		--with-jpeg-dir=\${LOCALBASE} \\"
X 			echo "		--with-png-dir=\${LOCALBASE}"
X			if [ "$GD2" ]; then
X				echo "GD1 and GD2 are mutually exclusive." > /dev/stderr
X				rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
X				exit 1
X                        fi
X			if [ -z "$ZLIB" ]; then
X				set $* \"ZLIB\"
X			fi
X			GD1=1
X			;;
X		\"GD2\")
X			echo "LIB_DEPENDS+=	gd.4:\${PORTSDIR}/graphics/gd2"
X			echo "LIB_DEPENDS+=	freetype.9:\${PORTSDIR}/print/freetype2"
X			echo "LIB_DEPENDS+=	png.5:\${PORTSDIR}/graphics/png"
X			echo "LIB_DEPENDS+=	jpeg.9:\${PORTSDIR}/graphics/jpeg"
X			echo "CONFIGURE_ARGS+=--with-gd=\${LOCALBASE} \\"
X			echo "		--enable-gd-native-ttf \\"
X			echo "		--with-freetype-dir=\${LOCALBASE} \\"
X			echo "		--with-jpeg-dir=\${LOCALBASE} \\"
X			echo "		--with-png-dir=\${LOCALBASE}"
X			if [ "$GD1" ]; then
X				echo "GD1 and GD2 are mutually exclusive." > /dev/stderr
X				rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
X				exit 1
X                        fi
X			if [ -z "$ZLIB" ]; then
X				set $* \"ZLIB\"
X			fi
X			GD2=1
X			;;
X		\"GDBM\")
X			echo "LIB_DEPENDS+=	gdbm.2:\${PORTSDIR}/databases/gdbm"
X			echo "CONFIGURE_ARGS+=--with-gdbm=\${LOCALBASE}"
X			;;
X		\"gettext\")
X			echo "LIB_DEPENDS+=	intl.2:\${PORTSDIR}/devel/gettext"
X			echo "CONFIGURE_ARGS+=--with-gettext=\${LOCALBASE}"
X			;;
X		\"GMP\")
X			echo "LIB_DEPENDS+=	gmp.5:\${PORTSDIR}/math/libgmp4"
X			echo "CONFIGURE_ARGS+=--with-gmp=\${LOCALBASE}"
X			;;
X		\"Hyperwave\")
X			echo "CONFIGURE_ARGS+=--with-hyperwave"
X			;;
X		\"iconv\")
X			if [ -z "$ICONV" ]; then
X				echo "LIB_DEPENDS+=	iconv.3:\${PORTSDIR}/converters/libiconv"
X				echo "CONFIGURE_ARGS+=--with-iconv=\${LOCALBASE}"
X				ICONV=1
X			fi
X			;;
X		\"IMAP\")
X			echo "LIB_DEPENDS+=	c-client4.8:\${PORTSDIR}/mail/cclient"
X			echo "CONFIGURE_ARGS+=--with-imap=\${LOCALBASE}"
X			;;
X		\"Interbase\")
X			echo "LIB_DEPENDS+=	gds.1:\${PORTSDIR}/databases/firebird"
X			echo "CONFIGURE_ARGS+=--with-interbase=\${LOCALBASE}/firebird"
X			;;
X		\"mbregex\")
X			echo "CONFIGURE_ARGS+=--enable-mbregex"
X			;;
X		\"mbstring\")
X			echo "CONFIGURE_ARGS+=--enable-mbstring"
X			;;
X		\"MCAL\")
X			echo "LIB_DEPENDS+=	mcal.0:\${PORTSDIR}/misc/libmcal"
X			echo "CONFIGURE_ARGS+=--with-mcal=\${LOCALBASE}"
X			;;
X		\"MCVE\")
X			echo "LIB_DEPENDS+=	mcve.0:\${PORTSDIR}/devel/libmcve"
X			echo "CONFIGURE_ARGS+=--with-mcve=\${LOCALBASE}"
X			;;
X		\"mcrypt\")
X			echo "LIB_DEPENDS+=	mcrypt.7:\${PORTSDIR}/security/libmcrypt"
X			echo "CONFIGURE_ARGS+=--with-mcrypt=\${LOCALBASE}"
X			;;
X		\"mhash\")
X			echo "LIB_DEPENDS+=	mhash.2:\${PORTSDIR}/security/mhash"
X			echo "CONFIGURE_ARGS+=--with-mhash=\${LOCALBASE}"
X			;;
X		\"ming\")
X			echo "LIB_DEPENDS+=	ming.3:\${PORTSDIR}/graphics/ming"
X			echo "CONFIGURE_ARGS+=--with-ming=\${LOCALBASE}"
X			;;
X		\"MySQL\")
X			echo "LIB_DEPENDS+=	mysqlclient.10:\${PORTSDIR}/databases/mysql323-client"
X			echo "CONFIGURE_ARGS+=--with-mysql=\${LOCALBASE}"
X			;;
X		\"ncurses\")
X			echo ".if \${OSVERSION} < 400000"
X			echo "LIB_DEPENDS+=	ncurses.5:\${PORTSDIR}/devel/ncurses"
X			echo ".endif"
X			echo "CONFIGURE_ARGS+=--with-ncurses"
X			;;
X		\"OpenLDAP1\")
X			echo "LIB_DEPENDS+=     ldap.1:\${PORTSDIR}/net/openldap"
X			echo "CONFIGURE_ARGS+=--with-ldap=\${LOCALBASE}"
X			if [ "$OPENLDAP2" ]; then
X				echo "OpenLDAP1 and OpenLDAP2 are mutually exclusive." > /dev/stderr
X				rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
X				exit 1
X			fi
X			OPENLDAP1=1
X			;;
X		\"OpenLDAP2\")
X			echo "LIB_DEPENDS+=     ldap.2:\${PORTSDIR}/net/openldap2"
X			echo "CONFIGURE_ARGS+=--with-ldap=\${LOCALBASE}"
X			if [ "$OPENLDAP1" ]; then
X				echo "OpenLDAP1 and OpenLDAP2 are mutually exclusive." > /dev/stderr
X				rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
X				exit 1
X			fi
X			OPENLDAP2=1
X			;;
X		\"OpenSSL\")
X			if [ -z "$OPENSSL" ]; then
X				echo "USE_OPENSSL=yes"
X				echo "CONFIGURE_ARGS+=--with-openssl=yes"
X				OPENSSL=1
X			fi
X			;;
X		\"overload\")
X			echo "CONFIGURE_ARGS+=--enable-overload"
X			;;
X		\"pcntl\")
X			echo "CONFIGURE_ARGS+=--enable-pcntl"
X			;;
X		\"PCRE\")
X			echo "CONFIGURE_ARGS+=--with-pcre-regex=yes"
X			;;
X		\"PDFlib\")
X			echo "LIB_DEPENDS+=	pdf.4:\${PORTSDIR}/print/pdflib"
X			echo "CONFIGURE_ARGS+=--with-pdflib=\${LOCALBASE}"
X			;;
X		\"POSIX\")
X			echo "CONFIGURE_ARGS+=--enable-posix"
X			;;
X		\"PostgreSQL\")
X			echo "LIB_DEPENDS+=	pq.2:\${PORTSDIR}/databases/postgresql7"
X			if [ -x ${LOCALBASE}/pgsql/bin/postgres -a ! -x ${LOCALBASE}/bin/postgres ]; then
X				PGPREFIX=${LOCALBASE}/pgsql
X			else
X				PGPREFIX=${LOCALBASE}
X			fi
X			echo "PGPREFIX=${PGPREFIX}"
X			echo "CONFIGURE_ARGS+=--with-pgsql=\${PGPREFIX}"
X			if [ -z "$OPENSSL" ]; then
X				set $* \"OpenSSL\"
X			fi
X			;;
X		\"pspell\")
X			echo "LIB_DEPENDS+=	pspell.4:\${PORTSDIR}/textproc/pspell"
X			echo "CONFIGURE_ARGS+=--with-pspell=\${LOCALBASE}"
X			;;
X		\"readline\")
X			echo "CONFIGURE_ARGS+=--with-readline"
X			;;
X		\"session\")
X			echo "CONFIGURE_ARGS+=--enable-session"
X			;;
X		\"shmop\")
X			echo "CONFIGURE_ARGS+=--enable-shmop"
X			;;
X		\"SNMP\")
X			echo "LIB_DEPENDS+=	snmp.4:\${PORTSDIR}/net/net-snmp4"
X			echo "CONFIGURE_ARGS+=--with-snmp=\${LOCALBASE} --enable-ucd-snmp-hack"
X			if [ -z "$OPENSSL" ]; then
X				set $* \"OpenSSL\"
X			fi
X			;;
X		\"sockets\")
X			echo "CONFIGURE_ARGS+=--enable-sockets"
X			;;
X		\"sysvsem\")
X			echo "CONFIGURE_ARGS+=--enable-sysvsem"
X			;;
X		\"sysvshm\")
X			echo "CONFIGURE_ARGS+=--enable-sysvshm"
X			;;
X		\"tokenizer\")
X			echo "CONFIGURE_ARGS+=--enable-tokenizer"
X			;;
X		\"unixODBC\")
X			echo "LIB_DEPENDS+=	odbc.1:\${PORTSDIR}/databases/unixODBC"
X			echo "CONFIGURE_ARGS+=--with-unixODBC=\${LOCALBASE}"
X			;;
X		\"WDDX\")
X			echo "CONFIGURE_ARGS+=--enable-wddx"
X			if [ -z "$XML" ]; then
X				set $* \"XML\"
X			fi
X			;;
X		\"XML\")
X			if [ -z "$XML" ]; then
X				echo "LIB_DEPENDS+=	expat.2:\${PORTSDIR}/textproc/expat2"
X				echo "CONFIGURE_ARGS+=--enable-xml --with-expat-dir=\${LOCALBASE}"
X				XML=1
X			fi
X			;;
X		\"XMLRPC\")
X			echo "CONFIGURE_ARGS+=--with-xmlrpc"
X			if [ -z "$XML" ]; then
X				set $* \"XML\"
X			fi
X			;;
X		\"XSLT\")
X			echo "LIB_DEPENDS+=	sablot.68:\${PORTSDIR}/textproc/sablotron"
X			echo "CONFIGURE_ARGS+=--enable-xslt --with-xslt-sablot"
X			if [ -z "$XML" ]; then
X				set $* \"XML\"
X			fi
X			if [ -z "$ICONV" ]; then
X				set $* \"iconv\"
X			fi
X			;;
X		\"YAZ\")
X			echo "LIB_DEPENDS+=     yaz.1:\${PORTSDIR}/net/yaz"
X			echo "CONFIGURE_ARGS+=--with-yaz=\${LOCALBASE}/bin"
X			;;
X		\"YP\")
X			echo "CONFIGURE_ARGS+=--enable-yp"
X			;;
X		\"ZIP\")
X			echo "LIB_DEPENDS+=     zzip-0.10:\${PORTSDIR}/devel/zziplib"
X			echo "CONFIGURE_ARGS+=--with-zip=\${LOCALBASE}"
X			;;
X		\"ZLIB\")
X			if [ -z "$ZLIB" ]; then
X				echo "CONFIGURE_ARGS+=--with-zlib=yes"
X				ZLIB=1
X			fi
X			;;
X		*)
X			echo "Invalid option(s): $*" > /dev/stderr
X			rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
X			exit 1
X			;;
X	esac
X	shift
Xdone
X
Xif [ "${LIBS}" ]; then
X	echo "CONFIGURE_ENV+=	LIBS='${LIBS}'"
Xfi
END-of-lang/php-dev/scripts/configure.php
echo c - www/mod_php-dev/
mkdir -p www/mod_php-dev/ > /dev/null 2>&1
echo x - www/mod_php-dev/Makefile
sed 's/^X//' >www/mod_php-dev/Makefile << 'END-of-www/mod_php-dev/Makefile'
X# New ports collection makefile for:	mod_php
X# Date created:         Thu Jun 20 12:25:12 CET 2002
X# Whom:                 Alex Dupre <sysadmin@alexdupre.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mod_php
XPORTVERSION=	4.3.0
XCATEGORIES=	www
XMASTER_SITES=	http://digidownload.iol.it/phpdev/
XDISTNAME=	php4-${TIMESTAMP}
X
XMAINTAINER=	sysadmin@alexdupre.com
X
XTIMESTAMP=	200206200000
X
X.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
XSAPI?=		""
XIS_INTERACTIVE= yes
X.else
XSAPI?=		apache13
X.endif
X
X.if ${SAPI} == "apache2"
XBUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
XRUN_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
XLIB_DEPENDS=	pth.14:${PORTSDIR}/devel/pth
X.elif ${SAPI} == "apache13"
XBUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
XRUN_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
X.else
XIGNORE=		"You must select a sapi: make SAPI=\{ apache13 \| apache2 \}"
X.endif
X
XUSE_BZIP2=	yes
XUSE_SUBMAKE=	yes
XGNU_CONFIGURE=	yes
XUSE_LIBTOOL=	yes
X
XCONFIGURE_ARGS=	--enable-versioning \
X		--enable-inline-optimization \
X		--with-layout=GNU \
X		--disable-cli \
X		--disable-ctype \
X		--disable-mbstring \
X		--without-mysql \
X		--without-pcre-regex \
X		--disable-posix \
X		--disable-overload \
X		--disable-session \
X		--disable-tokenizer \
X		--disable-xml
X
X.if ${SAPI} == "apache2"
XCONFIGURE_ARGS+=--with-apxs2=${LOCALBASE}/sbin/apxs \
X		--with-tsrm-pth
XEXT_DIR=	20010901-zts
XSAPI_FILE=	libexec/apache2/libphp4.so
X.elif ${SAPI} == "apache13"
XCONFIGURE_ARGS+=--with-apxs=${LOCALBASE}/sbin/apxs
XEXT_DIR=	20010901
XSAPI_FILE=	libexec/apache/libphp4.so
X.endif
X
XPLIST_SUB=	SAPI_FILE=${SAPI_FILE} \
X		EXT_DIR=${EXT_DIR}
X
X.include <bsd.port.pre.mk>
X
XSCRIPTS_ENV+=	WRKDIRPREFIX="${WRKDIRPREFIX}" \
X		TOUCH="${TOUCH}" \
X		MKDIR="${MKDIR}" \
X		OSVERSION="${OSVERSION}" \
X		PHP_OPTIONS="${PHP_OPTIONS}" \
X		REALCURDIR="${.CURDIR}"
X
Xpre-fetch:
X	@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php
X
Xpost-install:
X	@${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc
X	@${INSTALL_DATA} ${WRKSRC}/php.ini-recommended ${PREFIX}/etc
X	@${TOUCH} ${PREFIX}/lib/php/${EXT_DIR}/.mod_php
X	@${ECHO} "*****************************************************************************"
X	@${ECHO} ""
X	@${ECHO} "Make sure index.php is part of your DirectoryIndex."
X	@${ECHO} ""
X	@${ECHO} "You should add the following lines to your Apache configuration file:"
X	@${ECHO} ""
X	@${ECHO} "AddType application/x-httpd-php .php"
X	@${ECHO} "AddType application/x-httpd-php-source .phps"
X	@${ECHO} ""
X	@${ECHO} "*****************************************************************************"
X
Xpost-clean:
X	@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
X
X.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
X.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
X.endif
X
X.include <bsd.port.post.mk>
END-of-www/mod_php-dev/Makefile
echo x - www/mod_php-dev/distinfo
sed 's/^X//' >www/mod_php-dev/distinfo << 'END-of-www/mod_php-dev/distinfo'
XMD5 (php4-200206200000.tar.bz2) = 453159ab9d3139c1e839f5cf064dd9b6
END-of-www/mod_php-dev/distinfo
echo c - www/mod_php-dev/files
mkdir -p www/mod_php-dev/files > /dev/null 2>&1
echo x - www/mod_php-dev/files/patch-ext::ming::php_ming.h
sed 's/^X//' >www/mod_php-dev/files/patch-ext::ming::php_ming.h << 'END-of-www/mod_php-dev/files/patch-ext::ming::php_ming.h'
X--- ext/ming/php_ming.h.orig	Sun May 26 19:38:02 2002
X+++ ext/ming/php_ming.h	Sun May 26 19:38:14 2002
X@@ -24,7 +24,7 @@
X extern zend_module_entry ming_module_entry;
X #define ming_module_ptr &ming_module_entry
X 
X-#include <ming.h>
X+#include <ming/ming.h>
X 
X PHP_RINIT_FUNCTION(ming);
X PHP_MINIT_FUNCTION(ming);
END-of-www/mod_php-dev/files/patch-ext::ming::php_ming.h
echo x - www/mod_php-dev/pkg-comment
sed 's/^X//' >www/mod_php-dev/pkg-comment << 'END-of-www/mod_php-dev/pkg-comment'
XPHP Module for Apache
END-of-www/mod_php-dev/pkg-comment
echo x - www/mod_php-dev/pkg-descr
sed 's/^X//' >www/mod_php-dev/pkg-descr << 'END-of-www/mod_php-dev/pkg-descr'
XPHP, which stands for "PHP: Hypertect Preprocessor" is a widely-used Open
XSource general-purpose scripting language that is especially suited for
Xfor Web development and can be embedded into HTML. Its syntax draws upon C,
XJava, and Perl, and is easy to learn. The main goal of the language is to
Xallow web developers to write dinamically generated webpages quickly, but
Xyou can do much more with PHP.
X
XWWW: http://www.php.net/
X
X- Alex Dupre
Xsysadmin@alexdupre.com
END-of-www/mod_php-dev/pkg-descr
echo x - www/mod_php-dev/pkg-message
sed 's/^X//' >www/mod_php-dev/pkg-message << 'END-of-www/mod_php-dev/pkg-message'
X*****************************************************************************
X
XYou have installed the mod_php-dev package.
X
XHave a look at the mod_php-dev port if you need additional extensions
Xother than ctype, mbstring, MySQL, overload, PCRE, POSIX, session,
Xtokenizer, XML and ZLIB.
X
XYou can find it at
Xftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/ports/www/mod_php-dev.tar
X
XMake sure index.php is part of your DirectoryIndex.
X
XYou should add the following to your Apache configuration file:
X
XAddType application/x-httpd-php .php
XAddType application/x-httpd-php-source .phps
X
X*****************************************************************************
END-of-www/mod_php-dev/pkg-message
echo x - www/mod_php-dev/pkg-plist
sed 's/^X//' >www/mod_php-dev/pkg-plist << 'END-of-www/mod_php-dev/pkg-plist'
Xetc/php.ini-dist
Xetc/php.ini-recommended
Xlib/php/%%EXT_DIR%%/.mod_php
X%%SAPI_FILE%%
X@exec %D/sbin/apxs -e -a -n php4 %f
X@unexec %D/sbin/apxs -e -A -n php4 %f
X@unexec rmdir %D/lib/php/%%EXT_DIR%% 2> /dev/null || true
X@unexec rmdir %D/lib/php 2> /dev/null || true
END-of-www/mod_php-dev/pkg-plist
echo c - www/mod_php-dev/scripts
mkdir -p www/mod_php-dev/scripts > /dev/null 2>&1
echo x - www/mod_php-dev/scripts/configure.php
sed 's/^X//' >www/mod_php-dev/scripts/configure.php << 'END-of-www/mod_php-dev/scripts/configure.php'
X#!/bin/sh
X# $FreeBSD$
X
Xif [ -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc ]; then
X	exit
Xfi
X
Xtempfile=`/usr/bin/mktemp -t checklist`
X
Xif [ "${BATCH}" ]; then
X	if [ "${PHP_OPTIONS}" ]; then
X		set ${PHP_OPTIONS}
X	else
X		set \"ctype\" \"mbstring\" \"MySQL\" \"overload\" \"PCRE\" \"POSIX\" \"session\" \"tokenizer\" \"XML\" \"ZLIB\"
X	fi
Xelse
X	/usr/bin/dialog --title "configuration options" --clear \
X		--checklist "\n\
XPlease select desired options:" -1 -1 16 \
Xbcmath		"bc style precision math functions" OFF \
Xbzip2		"bzip2 library support" OFF \
Xcalendar	"calendar conversion support" OFF \
Xcrack		"crack support" OFF \
Xctype		"ctype functions" ON \
XCURL		"CURL support" OFF \
XdBase		"dBase library support" OFF \
Xdbx		"dbx support" OFF \
XDOMXML		"DOM support (implies ZLIB)" OFF \
XDOMXSLT		"DOM XSLT and EXSLT support (implies DOMXML)" OFF \
XEXIF		"EXIF support" OFF \
XfilePro		"filePro support" OFF \
XFTP		"FTP support" OFF \
XGD1		"GD 1.x library support (implies ZLIB)" OFF \
XGD2		"GD 2.x library support (implies ZLIB)" OFF \
XGDBM		"GDBM database support" OFF \
Xgettext		"gettext library support" OFF \
XGMP		"GNU MP support" OFF \
XHyperwave	"Hyperwave support" OFF \
Xiconv		"iconv support" OFF \
XIMAP		"IMAP support" OFF \
XInterbase	"Interbase 6 database support (Firebird)" OFF \
Xmbregex		"multibyte regex support" OFF \
Xmbstring	"multibyte string support" ON \
XMCAL		"Modular Calendar Access Library support" OFF \
XMCVE		"MCVE support" OFF \
Xmcrypt		"Encryption support" OFF \
Xmhash		"Crypto-hashing support" OFF \
Xming		"ming shockwave flash support" OFF \
XMySQL		"MySQL database support" ON \
XOpenLDAP1	"OpenLDAP 1.x support" OFF \
XOpenLDAP2	"OpenLDAP 2.x support" OFF \
XOpenSSL		"OpenSSL support" OFF \
Xoverload	"user-space object overloading support" ON \
XPCRE		"Perl Compatible Regular Expression support" ON \
XPDFlib		"PDFlib support" OFF \
XPOSIX		"POSIX-like functions" ON \
XPostgreSQL	"PostgreSQL database support (implies OpenSSL)" OFF \
Xpspell		"pspell support" OFF \
Xsession		"session support" ON \
Xshmop		"shmop support" OFF \
XSNMP		"SNMP support (implies OpenSSL)" OFF \
Xsockets		"sockets support" OFF \
Xsysvsem		"System V semaphore support" OFF \
Xsysvshm		"System V shared memory support" OFF \
Xtokenizer	"tokenizer support" ON \
XunixODBC	"unixODBC support" OFF \
XWDDX		"WDDX support (implies XML)" OFF \
XXML		"XML support" ON \
XXMLRPC		"XMLRPC-EPI support (implies XML and iconv)" OFF \
XXSLT		"XSLT Sablotron support (implies XML and iconv)" OFF \
XYAZ		"YAZ support (ANSI/NISO Z39.50)" OFF \
XYP		"YP/NIS support" OFF \
XZIP		"ZIP support" OFF \
XZLIB		"ZLIB support" ON \
X2> $tempfile
X
X	retval=$?
X
X	if [ -s $tempfile ]; then
X		set `cat $tempfile`
X	fi
X	rm -f $tempfile
X
X	case $retval in
X		0)	if [ -z "$*" ]; then
X				echo "Nothing selected"
X			fi
X			;;
X		1)	echo "Cancel pressed."
X			exit 1
X			;;
X	esac
Xfi
X
X${MKDIR} ${WRKDIRPREFIX}${REALCURDIR}
Xexec > ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
X
Xwhile [ "$1" ]; do
X	case $1 in
X		\"bcmath\")
X			echo "CONFIGURE_ARGS+=--enable-bcmath"
X			;;
X		\"bzip2\")
X			if [ -x /usr/bin/bzip2 ]; then
X				BZ2PREFIX=/usr
X			else
X				BZ2PREFIX=${LOCALBASE}
X				echo "LIB_DEPENDS+=	bz2.1:\${PORTSDIR}/archivers/bzip2"
X			fi
X			echo "CONFIGURE_ARGS+=--with-bz2=${BZ2PREFIX}"
X			;;
X		\"calendar\")
X			echo "CONFIGURE_ARGS+=--enable-calendar"
X			;;
X		\"crack\")
X			echo "BUILD_DEPENDS+=	\${LOCALBASE}/lib/libcrack.a:\${PORTSDIR}/security/cracklib"
X			echo "CONFIGURE_ARGS+=--with-crack=\${LOCALBASE}"
X			;;
X		\"ctype\")
X			echo "CONFIGURE_ARGS+=--enable-ctype"
X			;;
X		\"CURL\")
X			echo "LIB_DEPENDS+=	curl.2:\${PORTSDIR}/ftp/curl"
X			echo "CONFIGURE_ARGS+=--with-curl=\${LOCALBASE}"
X			;;
X		\"dBase\")
X			echo "CONFIGURE_ARGS+=--enable-dbase"
X			;;
X		\"dbx\")
X			echo "CONFIGURE_ARGS+=--enable-dbx"
X			;;
X		\"DOMXML\")
X			if [ -z "$DOMXML" ]; then
X				echo "LIB_DEPENDS+=	xml2.5:\${PORTSDIR}/textproc/libxml2"
X				echo "CONFIGURE_ARGS+=--with-dom=\${LOCALBASE}"
X				if [ -z "$ZLIB" ]; then
X					set $* \"ZLIB\"
X				fi
X				DOMXML=1
X			fi
X			;;
X		\"DOMXSLT\")
X			echo "LIB_DEPENDS+=	xslt.1:\${PORTSDIR}/textproc/libxslt"
X			echo "CONFIGURE_ARGS+=--with-dom-xslt=\${LOCALBASE} --with-dom-exslt=\${LOCALBASE}"
X			if [ -z "$DOMXML" ]; then
X				set $* \"DOMXML\"
X			fi
X			;;
X		\"EXIF\")
X			echo "CONFIGURE_ARGS+=--enable-exif"
X			;;
X		\"filePro\")
X			echo "CONFIGURE_ARGS+=--enable-filepro"
X			;;
X		\"FTP\")
X			echo "CONFIGURE_ARGS+=--enable-ftp"
X			;;
X		\"GD1\")
X 			echo "LIB_DEPENDS+=	gd.2:\${PORTSDIR}/graphics/gd"
X 			echo "LIB_DEPENDS+=	freetype.9:\${PORTSDIR}/print/freetype2"
X 			echo "LIB_DEPENDS+=	png.5:\${PORTSDIR}/graphics/png"
X 			echo "LIB_DEPENDS+=	jpeg.9:\${PORTSDIR}/graphics/jpeg"
X 			echo "CONFIGURE_ARGS+=--with-gd=\${LOCALBASE} \\"
X			echo "		--enable-gd-native-ttf \\"
X 			echo "		--with-freetype-dir=\${LOCALBASE} \\"
X 			echo "		--with-jpeg-dir=\${LOCALBASE} \\"
X 			echo "		--with-png-dir=\${LOCALBASE}"
X			if [ "$GD2" ]; then
X				echo "GD1 and GD2 are mutually exclusive." > /dev/stderr
X				rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
X				exit 1
X                        fi
X			if [ -z "$ZLIB" ]; then
X				set $* \"ZLIB\"
X			fi
X			GD1=1
X			;;
X		\"GD2\")
X			echo "LIB_DEPENDS+=	gd.4:\${PORTSDIR}/graphics/gd2"
X			echo "LIB_DEPENDS+=	freetype.9:\${PORTSDIR}/print/freetype2"
X			echo "LIB_DEPENDS+=	png.5:\${PORTSDIR}/graphics/png"
X			echo "LIB_DEPENDS+=	jpeg.9:\${PORTSDIR}/graphics/jpeg"
X			echo "CONFIGURE_ARGS+=--with-gd=\${LOCALBASE} \\"
X			echo "		--enable-gd-native-ttf \\"
X			echo "		--with-freetype-dir=\${LOCALBASE} \\"
X			echo "		--with-jpeg-dir=\${LOCALBASE} \\"
X			echo "		--with-png-dir=\${LOCALBASE}"
X			if [ "$GD1" ]; then
X				echo "GD1 and GD2 are mutually exclusive." > /dev/stderr
X				rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
X				exit 1
X                        fi
X			if [ -z "$ZLIB" ]; then
X				set $* \"ZLIB\"
X			fi
X			GD2=1
X			;;
X		\"GDBM\")
X			echo "LIB_DEPENDS+=	gdbm.2:\${PORTSDIR}/databases/gdbm"
X			echo "CONFIGURE_ARGS+=--with-gdbm=\${LOCALBASE}"
X			;;
X		\"gettext\")
X			echo "LIB_DEPENDS+=	intl.2:\${PORTSDIR}/devel/gettext"
X			echo "CONFIGURE_ARGS+=--with-gettext=\${LOCALBASE}"
X			;;
X		\"GMP\")
X			echo "LIB_DEPENDS+=	gmp.5:\${PORTSDIR}/math/libgmp4"
X			echo "CONFIGURE_ARGS+=--with-gmp=\${LOCALBASE}"
X			;;
X		\"Hyperwave\")
X			echo "CONFIGURE_ARGS+=--with-hyperwave"
X			;;
X		\"iconv\")
X			if [ -z "$ICONV" ]; then
X				echo "LIB_DEPENDS+=	iconv.3:\${PORTSDIR}/converters/libiconv"
X				echo "CONFIGURE_ARGS+=--with-iconv=\${LOCALBASE}"
X				ICONV=1
X			fi
X			;;
X		\"IMAP\")
X			echo "LIB_DEPENDS+=	c-client4.8:\${PORTSDIR}/mail/cclient"
X			echo "CONFIGURE_ARGS+=--with-imap=\${LOCALBASE}"
X			;;
X		\"Interbase\")
X			echo "LIB_DEPENDS+=	gds.1:\${PORTSDIR}/databases/firebird"
X			echo "CONFIGURE_ARGS+=--with-interbase=\${LOCALBASE}/firebird"
X			;;
X		\"mbregex\")
X			echo "CONFIGURE_ARGS+=--enable-mbregex"
X			;;
X		\"mbstring\")
X			echo "CONFIGURE_ARGS+=--enable-mbstring"
X			;;
X		\"MCAL\")
X			echo "LIB_DEPENDS+=	mcal.0:\${PORTSDIR}/misc/libmcal"
X			echo "CONFIGURE_ARGS+=--with-mcal=\${LOCALBASE}"
X			;;
X		\"MCVE\")
X			echo "LIB_DEPENDS+=	mcve.0:\${PORTSDIR}/devel/libmcve"
X			echo "CONFIGURE_ARGS+=--with-mcve=\${LOCALBASE}"
X			;;
X		\"mcrypt\")
X			echo "LIB_DEPENDS+=	mcrypt.7:\${PORTSDIR}/security/libmcrypt"
X			echo "CONFIGURE_ARGS+=--with-mcrypt=\${LOCALBASE}"
X			;;
X		\"mhash\")
X			echo "LIB_DEPENDS+=	mhash.2:\${PORTSDIR}/security/mhash"
X			echo "CONFIGURE_ARGS+=--with-mhash=\${LOCALBASE}"
X			;;
X		\"ming\")
X			echo "LIB_DEPENDS+=	ming.3:\${PORTSDIR}/graphics/ming"
X			echo "CONFIGURE_ARGS+=--with-ming=\${LOCALBASE}"
X			;;
X		\"MySQL\")
X			echo "LIB_DEPENDS+=	mysqlclient.10:\${PORTSDIR}/databases/mysql323-client"
X			echo "CONFIGURE_ARGS+=--with-mysql=\${LOCALBASE}"
X			;;
X		\"OpenLDAP1\")
X			echo "LIB_DEPENDS+=     ldap.1:\${PORTSDIR}/net/openldap"
X			echo "CONFIGURE_ARGS+=--with-ldap=\${LOCALBASE}"
X			if [ "$OPENLDAP2" ]; then
X				echo "OpenLDAP1 and OpenLDAP2 are mutually exclusive." > /dev/stderr
X				rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
X				exit 1
X			fi
X			OPENLDAP1=1
X			;;
X		\"OpenLDAP2\")
X			echo "LIB_DEPENDS+=     ldap.2:\${PORTSDIR}/net/openldap2"
X			echo "CONFIGURE_ARGS+=--with-ldap=\${LOCALBASE}"
X			if [ "$OPENLDAP1" ]; then
X				echo "OpenLDAP1 and OpenLDAP2 are mutually exclusive." > /dev/stderr
X				rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
X				exit 1
X			fi
X			OPENLDAP2=1
X			;;
X		\"OpenSSL\")
X			if [ -z "$OPENSSL" ]; then
X				echo "USE_OPENSSL=yes"
X				echo "CONFIGURE_ARGS+=--with-openssl=yes"
X				OPENSSL=1
X			fi
X			;;
X		\"overload\")
X			echo "CONFIGURE_ARGS+=--enable-overload"
X			;;
X		\"PCRE\")
X			echo "CONFIGURE_ARGS+=--with-pcre-regex=yes"
X			;;
X		\"PDFlib\")
X			echo "LIB_DEPENDS+=	pdf.4:\${PORTSDIR}/print/pdflib"
X			echo "CONFIGURE_ARGS+=--with-pdflib=\${LOCALBASE}"
X			;;
X		\"POSIX\")
X			echo "CONFIGURE_ARGS+=--enable-posix"
X			;;
X		\"PostgreSQL\")
X			echo "LIB_DEPENDS+=	pq.2:\${PORTSDIR}/databases/postgresql7"
X			if [ -x ${LOCALBASE}/pgsql/bin/postgres -a ! -x ${LOCALBASE}/bin/postgres ]; then
X				PGPREFIX=${LOCALBASE}/pgsql
X			else
X				PGPREFIX=${LOCALBASE}
X			fi
X			echo "PGPREFIX=${PGPREFIX}"
X			echo "CONFIGURE_ARGS+=--with-pgsql=\${PGPREFIX}"
X			if [ -z "$OPENSSL" ]; then
X				set $* \"OpenSSL\"
X			fi
X			;;
X		\"pspell\")
X			echo "LIB_DEPENDS+=	pspell.4:\${PORTSDIR}/textproc/pspell"
X			echo "CONFIGURE_ARGS+=--with-pspell=\${LOCALBASE}"
X			;;
X		\"session\")
X			echo "CONFIGURE_ARGS+=--enable-session"
X			;;
X		\"shmop\")
X			echo "CONFIGURE_ARGS+=--enable-shmop"
X			;;
X		\"SNMP\")
X			echo "LIB_DEPENDS+=	snmp.4:\${PORTSDIR}/net/net-snmp4"
X			echo "CONFIGURE_ARGS+=--with-snmp=\${LOCALBASE} --enable-ucd-snmp-hack"
X			if [ -z "$OPENSSL" ]; then
X				set $* \"OpenSSL\"
X			fi
X			;;
X		\"sockets\")
X			echo "CONFIGURE_ARGS+=--enable-sockets"
X			;;
X		\"sysvsem\")
X			echo "CONFIGURE_ARGS+=--enable-sysvsem"
X			;;
X		\"sysvshm\")
X			echo "CONFIGURE_ARGS+=--enable-sysvshm"
X			;;
X		\"tokenizer\")
X			echo "CONFIGURE_ARGS+=--enable-tokenizer"
X			;;
X		\"unixODBC\")
X			echo "LIB_DEPENDS+=	odbc.1:\${PORTSDIR}/databases/unixODBC"
X			echo "CONFIGURE_ARGS+=--with-unixODBC=\${LOCALBASE}"
X			;;
X		\"WDDX\")
X			echo "CONFIGURE_ARGS+=--enable-wddx"
X			if [ -z "$XML" ]; then
X				set $* \"XML\"
X			fi
X			;;
X		\"XML\")
X			if [ -z "$XML" ]; then
X				echo "LIB_DEPENDS+=	expat.2:\${PORTSDIR}/textproc/expat2"
X				echo "CONFIGURE_ARGS+=--enable-xml --with-expat-dir=\${LOCALBASE}"
X				XML=1
X			fi
X			;;
X		\"XMLRPC\")
X			echo "CONFIGURE_ARGS+=--with-xmlrpc"
X			if [ -z "$XML" ]; then
X				set $* \"XML\"
X			fi
X			;;
X		\"XSLT\")
X			echo "LIB_DEPENDS+=	sablot.68:\${PORTSDIR}/textproc/sablotron"
X			echo "CONFIGURE_ARGS+=--enable-xslt --with-xslt-sablot"
X			if [ -z "$XML" ]; then
X				set $* \"XML\"
X			fi
X			if [ -z "$ICONV" ]; then
X				set $* \"iconv\"
X			fi
X			;;
X		\"YAZ\")
X			echo "LIB_DEPENDS+=     yaz.1:\${PORTSDIR}/net/yaz"
X			echo "CONFIGURE_ARGS+=--with-yaz=\${LOCALBASE}/bin"
X			;;
X		\"YP\")
X			echo "CONFIGURE_ARGS+=--enable-yp"
X			;;
X		\"ZIP\")
X			echo "LIB_DEPENDS+=     zzip-0.10:\${PORTSDIR}/devel/zziplib"
X			echo "CONFIGURE_ARGS+=--with-zip=\${LOCALBASE}"
X			;;
X		\"ZLIB\")
X			if [ -z "$ZLIB" ]; then
X				echo "CONFIGURE_ARGS+=--with-zlib=yes"
X				ZLIB=1
X			fi
X			;;
X		*)
X			echo "Invalid option(s): $*" > /dev/stderr
X			rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
X			exit 1
X			;;
X	esac
X	shift
Xdone
X
Xif [ "${LIBS}" ]; then
X	echo "CONFIGURE_ENV+=	LIBS='${LIBS}'"
Xfi
END-of-www/mod_php-dev/scripts/configure.php
exit
--- php-dev.sh ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206211538.g5LFc2I9036179>