summaryrefslogtreecommitdiff
path: root/lang/php53
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php53')
-rw-r--r--lang/php53/Makefile212
-rw-r--r--lang/php53/Makefile.ext496
-rw-r--r--lang/php53/Makefile.pear36
-rw-r--r--lang/php53/distinfo2
-rw-r--r--lang/php53/files/patch-Zend::zend.h12
-rw-r--r--lang/php53/files/patch-acinclude.m414
-rw-r--r--lang/php53/files/patch-configure82
-rw-r--r--lang/php53/files/patch-ext_standard_dns.h13
-rw-r--r--lang/php53/files/patch-main::php_config.h.in12
-rw-r--r--lang/php53/files/patch-main_SAPI.c20
-rw-r--r--lang/php53/files/patch-pear::Makefile.frag35
-rw-r--r--lang/php53/files/patch-pear::scripts::pearcmd.php20
-rw-r--r--lang/php53/files/patch-scripts::Makefile.frag25
-rw-r--r--lang/php53/files/patch-scripts::phpize.in15
-rw-r--r--lang/php53/pkg-descr11
-rw-r--r--lang/php53/pkg-message.mod10
-rw-r--r--lang/php53/pkg-message.pear8
-rw-r--r--lang/php53/pkg-plist213
-rw-r--r--lang/php53/pkg-plist.pear51
19 files changed, 0 insertions, 1287 deletions
diff --git a/lang/php53/Makefile b/lang/php53/Makefile
deleted file mode 100644
index 992cb18ca979..000000000000
--- a/lang/php53/Makefile
+++ /dev/null
@@ -1,212 +0,0 @@
-# New ports collection makefile for: php5
-# Date created: Tue Feb 18 11:17:13 CET 2003
-# Whom: Alex Dupre <sysadmin@alexdupre.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= php5
-PORTVERSION= 5.0.4
-PORTREVISION?= 2
-CATEGORIES?= lang devel www
-MASTER_SITES= ${MASTER_SITE_PHP:S,$,:release,} \
- http://downloads.php.net/ilia/:rc \
- http://downloads.php.net/jani/:rc
-MASTER_SITE_SUBDIR= distributions/:release
-DISTNAME= php-${PORTVERSION:S/.r/RC/}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:release
-
-MAINTAINER?= ale@FreeBSD.org
-COMMENT?= PHP Scripting Language (Apache Module and CLI)
-
-LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
-
-USE_BZIP2= yes
-.if !defined(PKGNAMESUFFIX) || ${PKGNAMESUFFIX} == "-cgi" || ${PKGNAMESUFFIX} == "-cli"
-GNU_CONFIGURE= yes
-USE_BISON= yes
-USE_REINPLACE= yes
-
-CONFIGURE_ARGS= --enable-versioning \
- --enable-memory-limit \
- --with-layout=GNU \
- --with-config-file-scan-dir=${PREFIX}/etc/php \
- --disable-all \
- --enable-libxml \
- --with-libxml-dir=${LOCALBASE} \
- --enable-spl
-
-USE_GNOME= libxml2
-
-.if !defined(WITH_REGEX_TYPE) || ${WITH_REGEX_TYPE} == "php"
-CONFIGURE_ARGS+=--with-regex=php
-.else
-.if ${WITH_REGEX_TYPE} == "system"
-CONFIGURE_ARGS+=--with-regex=system
-.else
-.if ${WITH_REGEX_TYPE} == "apache"
-CONFIGURE_ARGS+=--with-regex=apache
-.endif
-.endif
-.endif
-
-.if !defined(PKGNAMEPREFIX) && !defined(PKGNAMESUFFIX)
-PHP_SAPI= full
-WITH_APACHE= yes
-.else
-.if !defined(PKGNAMEPREFIX)
-PHP_SAPI= ${PKGNAMESUFFIX:S/-//}
-.else
-PHP_SAPI= ${PKGNAMEPREFIX:S/_//}
-WITH_APACHE= yes
-.endif
-.endif
-
-.if defined(WITH_APACHE)
-PKGMESSAGE= ${PKGDIR}/pkg-message.mod
-.endif
-
-.if ${PHP_SAPI} == "cgi"
-OPTIONS= REDIRECT "Enable force-cgi-redirect support" off \
- DISCARD "Enable discard-path support" off \
- FASTCGI "Enable fastcgi support" off \
- PATHINFO "Enable path-info-check support" on
-.endif
-.if defined(WITH_APACHE)
-OPTIONS= APACHE2 "Use apache 2.x instead of apache 1.3.x" off
-.endif
-OPTIONS+= DEBUG "Enable debug" off \
- MULTIBYTE "Enable zend multibyte support" off \
- IPV6 "Enable ipv6 support" on
-
-EXT_DIR= 20041030
-
-CONFLICTS?= php5-cli-5* mod_php5-5* php5-cgi-5*
-CONFLICTS+= php4-4* php4-cli-4* mod_php4-4* php4-cgi-4*
-
-.if ${PHP_SAPI} == "cgi" || ${PHP_SAPI} == "mod"
-CONFIGURE_ARGS+=--disable-cli
-.endif
-
-.if ${PHP_SAPI} == "full" || ${PHP_SAPI} == "cli"
-PLIST_SUB+= CLI=""
-MAN1= php.1
-.else
-PLIST_SUB+= CLI="@comment "
-.endif
-
-.if defined(WITH_APACHE)
-PLIST_SUB+= APACHE=""
-.else
-PLIST_SUB+= APACHE="@comment "
-.endif
-
-.if ${PHP_SAPI} == "cli"
-CONFIGURE_ARGS+=--disable-cgi
-SAPI_FILE= "@comment "
-.endif
-
-.if ${PHP_SAPI} == "cgi"
-SAPI_FILE= bin/php
-.endif
-
-.include <bsd.port.pre.mk>
-
-CONFIGURE_ENV= ac_cv_pthreads_lib=${PTHREAD_LIBS} \
- ac_cv_pthreads_cflags=${PTHREAD_CFLAGS}
-
-.if defined(WITH_APACHE)
-.if exists(${LOCALBASE}/include/apache2/httpd.h)
-WITH_APACHE2= yes
-APACHE_MPM!= ${APXS} -q MPM_NAME
-.endif
-.if defined(WITH_APACHE2)
-APACHE_MPM?= ${WITH_MPM}
-APACHE_PORT= www/apache2
-CONFIGURE_ARGS+=--with-apxs2=${APXS}
-SAPI_FILE= libexec/apache2/libphp5.so
-.if ${APACHE_MPM} == "worker"
-EXT_DIR:= ${EXT_DIR}-zts
-.endif
-.else
-APACHE_PORT?= www/apache13
-CONFIGURE_ARGS+=--with-apxs=${APXS}
-SAPI_FILE= libexec/apache/libphp5.so
-.endif
-BUILD_DEPENDS+= ${APXS}:${PORTSDIR}/${APACHE_PORT}
-RUN_DEPENDS+= ${APXS}:${PORTSDIR}/${APACHE_PORT}
-.endif
-
-.if defined(WITH_DEBUG)
-CONFIGURE_ARGS+=--enable-debug
-EXT_DIR:= ${EXT_DIR}-debug
-.endif
-
-.if defined(WITH_MULTIBYTE)
-CONFIGURE_ARGS+=--enable-zend-multibyte
-.endif
-
-PLIST_SUB+= SAPI_FILE=${SAPI_FILE}
-
-.if ${OSVERSION} < 400014 || defined(WITHOUT_IPV6)
-CONFIGURE_ARGS+=--disable-ipv6
-.endif
-
-.if ${PHP_SAPI} == "cgi"
-.if defined(WITH_REDIRECT)
-CONFIGURE_ARGS+=--enable-force-cgi-redirect
-.endif
-.if defined(WITH_DISCARD)
-CONFIGURE_ARGS+=--enable-discard-path
-.endif
-.if defined(WITH_FASTCGI)
-CONFIGURE_ARGS+=--enable-fastcgi
-.endif
-.if defined(WITHOUT_PATHINFO)
-CONFIGURE_ARGS+=--disable-path-info-check
-.endif
-.endif
-
-_PORTSDIR!= ${REALPATH} ${PORTSDIR}
-PHP_PORT= ${.CURDIR:S|^${_PORTSDIR}||:S|^/||}
-
-post-patch:
- @${TOUCH} ${WRKSRC}/ext/php_config.h
- @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-*
-
-.if ${PHP_SAPI} == "full"
-pre-configure:
- @${ECHO_CMD} ""
- @${ECHO_CMD} "You are building the Apache Module and the Command Line Interpreter of PHP."
- @${ECHO_CMD} ""
- @${ECHO_CMD} "Use port:"
- @${ECHO_CMD} " lang/php5-cli for Command Line Interpreter only"
- @${ECHO_CMD} " www/php5-cgi for Common Gateway Interface only"
- @${ECHO_CMD} " www/mod_php5 for Apache Module only"
- @${ECHO_CMD} ""
-.endif
-
-post-build:
- @${ECHO_CMD} "PHP_VER=5" > ${WRKDIR}/php.conf
- @${ECHO_CMD} "PHP_VERSION=${PORTVERSION}" >> ${WRKDIR}/php.conf
- @${ECHO_CMD} "PHP_EXT_DIR=${EXT_DIR}" >> ${WRKDIR}/php.conf
- @${ECHO_CMD} "PHP_PORT=\$${PORTSDIR}/${PHP_PORT}" >> ${WRKDIR}/php.conf
- @${ECHO_CMD} "PHP_SAPI=${PHP_SAPI}" >> ${WRKDIR}/php.conf
-
-post-install:
- @${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc
- @${INSTALL_DATA} ${WRKSRC}/php.ini-recommended ${PREFIX}/etc
- @${INSTALL_DATA} ${WRKDIR}/php.conf ${PREFIX}/etc
- @${TOUCH} ${PREFIX}/include/php/ext/php_config.h
-.if defined(WITH_APACHE)
- @${CAT} ${PKGMESSAGE}
-.endif
-
-.else
-.if ${PKGNAMESUFFIX} == "-pear"
-.include "${MASTERDIR}/Makefile.pear"
-.else
-.include "${MASTERDIR}/Makefile.ext"
-.endif
-.endif
-.include <bsd.port.post.mk>
diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext
deleted file mode 100644
index 7666667c2e32..000000000000
--- a/lang/php53/Makefile.ext
+++ /dev/null
@@ -1,496 +0,0 @@
-COMMENT= The ${PHP_MODNAME} shared extension for php
-
-USE_PHP= yes
-USE_PHPEXT= yes
-PHP_MODNAME= ${PKGNAMESUFFIX:S/-//}
-DEFAULT_PHP_VER=5
-BROKEN_WITH_PHP=4
-
-WRKSRC= ${WRKDIR}/php-${PORTVERSION:S/.r/RC/}/ext/${PHP_MODNAME}
-PATCHDIR= ${.CURDIR}/files
-PLIST= ${NONEXISTENT}
-
-.if ${PHP_MODNAME} == "bcmath"
-CONFIGURE_ARGS+=--enable-bcmath
-
-PHP_HEADER_DIRS=libbcmath libbcmath/src
-.endif
-
-.if ${PHP_MODNAME} == "bz2"
-.if exists(/usr/bin/bzip2)
-BZ2BASE= /usr
-.else
-BZ2BASE= ${LOCALBASE}
-LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
-.endif
-CONFIGURE_ARGS+=--with-bz2=${BZ2BASE}
-.endif
-
-.if ${PHP_MODNAME} == "calendar"
-CONFIGURE_ARGS+=--enable-calendar
-.endif
-
-.if ${PHP_MODNAME} == "ctype"
-CONFIGURE_ARGS+=--enable-ctype
-.endif
-
-.if ${PHP_MODNAME} == "curl"
-LIB_DEPENDS+= curl.3:${PORTSDIR}/ftp/curl
-
-CONFIGURE_ARGS+=--with-curl=${LOCALBASE}
-.endif
-
-.if ${PHP_MODNAME} == "dba"
-CONFIGURE_ARGS+=--enable-dba
-
-OPTIONS= CDB "cdb database support" on \
- DB4 "Berkeley DB4 support" off \
- GDBM "GDBM database support" off \
- INIFILE "INI file support" on \
- FLATFILE "flatfile support" on
-
-PHP_HEADER_DIRS= libcdb libflatfile libinifile
-.endif
-
-.if ${PHP_MODNAME} == "dbase"
-CONFIGURE_ARGS+=--enable-dbase
-.endif
-
-.if ${PHP_MODNAME} == "dbx"
-CONFIGURE_ARGS+=--enable-dbx
-.endif
-
-.if ${PHP_MODNAME} == "dio"
-CONFIGURE_ARGS+=--enable-dio
-.endif
-
-.if ${PHP_MODNAME} == "dom"
-CONFIGURE_ARGS+=--enable-dom \
- --with-libxml-dir=${LOCALBASE}
-
-USE_GNOME= libxml2
-
-USE_PHP= simplexml
-USE_PHP_BUILD= yes
-.endif
-
-.if ${PHP_MODNAME} == "exif"
-CONFIGURE_ARGS+=--enable-exif
-.endif
-
-.if ${PHP_MODNAME} == "filepro"
-CONFIGURE_ARGS+=--enable-filepro
-.endif
-
-.if ${PHP_MODNAME} == "ftp"
-CONFIGURE_ARGS+=--enable-ftp
-.endif
-
-.if ${PHP_MODNAME} == "gd"
-LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
- png.5:${PORTSDIR}/graphics/png \
- jpeg.9:${PORTSDIR}/graphics/jpeg
-. if !defined(WITHOUT_X11)
-USE_XPM= yes
-. endif
-
-CONFIGURE_ARGS+=--with-gd \
- --with-freetype-dir=${LOCALBASE} \
- --with-jpeg-dir=${LOCALBASE} \
- --with-png-dir=${LOCALBASE} \
- --with-zlib-dir=/usr
-. if !defined(WITHOUT_X11)
-CONFIGURE_ARGS+=--with-xpm-dir=${X11BASE}
-. endif
-
-OPTIONS= T1LIB "Include T1lib support" on \
- TRUETYPE "Enable TrueType string function" on \
- JIS "Enable JIS-mapped Japanese font support" off
-
-PHP_HEADER_DIRS=libgd
-.endif
-
-.if ${PHP_MODNAME} == "gettext"
-CONFIGURE_ARGS+=--with-gettext=${LOCALBASE}
-
-USE_GETTEXT= yes
-.endif
-
-.if ${PHP_MODNAME} == "gmp"
-LIB_DEPENDS+= gmp.6:${PORTSDIR}/math/libgmp4
-
-CONFIGURE_ARGS+=--with-gmp=${LOCALBASE}
-.endif
-
-.if ${PHP_MODNAME} == "iconv"
-CONFIGURE_ARGS+=--with-iconv=${LOCALBASE} \
- --with-iconv-dir=${LOCALBASE}
-
-USE_ICONV= yes
-.endif
-
-.if ${PHP_MODNAME} == "imap"
-LIB_DEPENDS+= c-client4.8:${PORTSDIR}/mail/cclient
-
-CONFIGURE_ARGS+=--with-imap=${LOCALBASE}
-.if !defined(WITHOUT_SSL)
-CONFIGURE_ARGS+=--with-imap-ssl=${OPENSSLBASE}
-
-LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
-USE_OPENSSL= yes
-.endif
-.endif
-
-.if ${PHP_MODNAME} == "interbase"
-LIB_DEPENDS+= gds.1:${PORTSDIR}/databases/firebird-client
-
-CONFIGURE_ARGS+=--with-interbase=${LOCALBASE}
-.endif
-
-.if ${PHP_MODNAME} == "ldap"
-CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
-
-USE_OPENLDAP= yes
-.endif
-
-.if ${PHP_MODNAME} == "mbstring"
-CONFIGURE_ARGS+=--enable-mbstring
-
-OPTIONS= REGEX "Enable multibyte regex support" on
-
-PHP_HEADER_DIRS=libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls oniguruma
-.endif
-
-.if ${PHP_MODNAME} == "mcrypt"
-LIB_DEPENDS+= mcrypt.8:${PORTSDIR}/security/libmcrypt
-
-CONFIGURE_ARGS+=--with-mcrypt=${LOCALBASE}
-
-USE_LIBLTDL= yes
-.endif
-
-.if ${PHP_MODNAME} == "mcve"
-LIB_DEPENDS+= mcve.3:${PORTSDIR}/devel/libmcve
-
-CONFIGURE_ARGS+=--with-mcve=${LOCALBASE} \
- --with-openssl-dir=${OPENSSLBASE}
-
-LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
-USE_OPENSSL= yes
-.endif
-
-.if ${PHP_MODNAME} == "mhash"
-LIB_DEPENDS+= mhash.2:${PORTSDIR}/security/mhash
-
-CONFIGURE_ARGS+=--with-mhash=${LOCALBASE}
-.endif
-
-.if ${PHP_MODNAME} == "ming"
-LIB_DEPENDS+= ming.3:${PORTSDIR}/graphics/ming
-
-CONFIGURE_ARGS+=--with-ming=${LOCALBASE}
-.endif
-
-.if ${PHP_MODNAME} == "mnogosearch"
-LIB_DEPENDS+= udmsearch.1:${PORTSDIR}/www/mnogosearch31
-
-CONFIGURE_ARGS+=--with-mnogosearch=${LOCALBASE}
-.endif
-
-.if ${PHP_MODNAME} == "mssql"
-LIB_DEPENDS+= sybdb.5:${PORTSDIR}/databases/freetds-msdblib
-
-CONFIGURE_ARGS+=--with-mssql=${LOCALBASE}
-.endif
-
-.if ${PHP_MODNAME} == "mysql"
-CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} \
- --with-zlib-dir=/usr
-
-USE_MYSQL= yes
-.endif
-
-.if ${PHP_MODNAME} == "mysqli"
-CONFIGURE_ARGS+=--with-mysqli=${LOCALBASE}/bin/mysql_config
-
-USE_MYSQL= yes
-DEFAULT_MYSQL_VER= 41
-BROKEN_WITH_MYSQL= 323 40
-.endif
-
-.if ${PHP_MODNAME} == "ncurses"
-CONFIGURE_ARGS+=--with-ncurses=/usr
-.endif
-
-.if ${PHP_MODNAME} == "odbc"
-LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC
-
-CONFIGURE_ARGS+=--with-unixODBC=${LOCALBASE}
-.endif
-
-.if ${PHP_MODNAME} == "openssl"
-CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} \
- --with-openssl-dir=${OPENSSLBASE}
-
-LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
-USE_OPENSSL= yes
-.endif
-
-.if ${PHP_MODNAME} == "oracle"
-BUILD_DEPENDS+= ${LOCALBASE}/oracle7/lib/libcore3.a:${PORTSDIR}/databases/oracle7-client
-
-CONFIGURE_ARGS+=--with-oracle=${LOCALBASE}/oracle7
-.endif
-
-.if ${PHP_MODNAME} == "pcntl"
-CONFIGURE_ARGS+=--enable-pcntl
-.endif
-
-.if ${PHP_MODNAME} == "pcre"
-CONFIGURE_ARGS+=--with-pcre-regex=yes
-
-PHP_HEADER_DIRS=pcrelib
-.endif
-
-.if ${PHP_MODNAME} == "pgsql"
-USE_PGSQL= YES
-
-CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE}
-.endif
-
-.if ${PHP_MODNAME} == "posix"
-CONFIGURE_ARGS+=--enable-posix
-.endif
-
-.if ${PHP_MODNAME} == "pspell"
-LIB_DEPENDS+= aspell.16:${PORTSDIR}/textproc/aspell
-
-CONFIGURE_ARGS+=--with-pspell=${LOCALBASE}
-.endif
-
-.if ${PHP_MODNAME} == "readline"
-CONFIGURE_ARGS+=--with-readline=/usr
-.endif
-
-.if ${PHP_MODNAME} == "recode"
-LIB_DEPENDS+= recode.3:${PORTSDIR}/converters/recode
-
-CONFIGURE_ARGS+=--with-recode=${LOCALBASE}
-.endif
-
-.if ${PHP_MODNAME} == "session"
-CONFIGURE_ARGS+=--enable-session
-.endif
-
-.if ${PHP_MODNAME} == "shmop"
-CONFIGURE_ARGS+=--enable-shmop
-.endif
-
-.if ${PHP_MODNAME} == "simplexml"
-CONFIGURE_ARGS+=--enable-simplexml \
- --with-libxml-dir=${LOCALBASE}
-
-USE_GNOME= libxml2
-.endif
-
-.if ${PHP_MODNAME} == "snmp"
-CONFIGURE_ARGS+=--with-snmp=${LOCALBASE} \
- --with-openssl-dir=${OPENSSLBASE} \
- --enable-ucd-snmp-hack
-
-LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
-USE_OPENSSL= yes
-
-OPTIONS= SNMP4 "Use old UCD SNMP instead of the new NET SNMP" off
-.endif
-
-.if ${PHP_MODNAME} == "soap"
-CONFIGURE_ARGS+=--enable-soap \
- --with-libxml-dir=${LOCALBASE}
-
-USE_GNOME= libxml2
-
-USE_PHP= session
-USE_PHP_BUILD= yes
-.endif
-
-.if ${PHP_MODNAME} == "sockets"
-CONFIGURE_ARGS+=--enable-sockets
-.endif
-
-.if ${PHP_MODNAME} == "sqlite"
-CONFIGURE_ARGS+=--with-sqlite
-
-USE_PHP= session
-USE_PHP_BUILD= yes
-PHP_HEADER_DIRS=libsqlite/src
-
-OPTIONS= UTF8 "Enable UTF-8 support" off
-.endif
-
-.if ${PHP_MODNAME} == "sybase_ct"
-LIB_DEPENDS+= ct.3:${PORTSDIR}/databases/freetds
-
-CONFIGURE_ARGS+=--with-sybase-ct=${LOCALBASE}
-.endif
-
-.if ${PHP_MODNAME} == "sysvmsg"
-CONFIGURE_ARGS+=--enable-sysvmsg
-.endif
-
-.if ${PHP_MODNAME} == "sysvsem"
-CONFIGURE_ARGS+=--enable-sysvsem
-.endif
-
-.if ${PHP_MODNAME} == "sysvshm"
-CONFIGURE_ARGS+=--enable-sysvshm
-.endif
-
-.if ${PHP_MODNAME} == "tidy"
-CONFIGURE_ARGS+=--with-tidy=${LOCALBASE}
-
-LIB_DEPENDS+= tidy-0.99.0:${PORTSDIR}/www/tidy-lib
-.endif
-
-.if ${PHP_MODNAME} == "tokenizer"
-CONFIGURE_ARGS+=--enable-tokenizer
-.endif
-
-.if ${PHP_MODNAME} == "wddx"
-CONFIGURE_ARGS+=--enable-wddx \
- --with-libxml-dir=${LOCALBASE}
-
-USE_GNOME= libxml2
-
-USE_PHP= xml session
-USE_PHP_BUILD= yes
-.endif
-
-.if ${PHP_MODNAME} == "xml"
-CONFIGURE_ARGS+=--enable-xml \
- --with-libxml-dir=${LOCALBASE}
-
-USE_GNOME= libxml2
-.endif
-
-.if ${PHP_MODNAME} == "xmlrpc"
-LIB_DEPENDS+= expat.5:${PORTSDIR}/textproc/expat2
-
-CONFIGURE_ARGS+=--with-xmlrpc \
- --with-expat-dir=${LOCALBASE} \
- --with-iconv-dir=${LOCALBASE}
-
-USE_ICONV= yes
-
-PHP_HEADER_DIRS=libxmlrpc
-.endif
-
-.if ${PHP_MODNAME} == "xsl"
-CONFIGURE_ARGS+=--with-xsl=${LOCALBASE}
-
-USE_GNOME= libxslt
-USE_PHP= dom
-.endif
-
-.if ${PHP_MODNAME} == "yp"
-CONFIGURE_ARGS+=--enable-yp
-.endif
-
-.if ${PHP_MODNAME} == "zlib"
-CONFIGURE_ARGS+=--with-zlib=/usr
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if ${PHP_MODNAME} == "dba"
-. if defined(WITHOUT_CDB)
-CONFIGURE_ARGS+=--without-cdb
-. endif
-. if defined(WITH_DB4)
-WITH_DB4_VER?= 43
-. if ${WITH_DB4_VER} == 42
-LIB_DEPENDS+= db-4.2.2:${PORTSDIR}/databases/db42
-. else
-. if ${WITH_DB4_VER} == 41
-LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41
-. else
-. if ${WITH_DB4_VER} == 4
-LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4
-. else
-LIB_DEPENDS+= db-4.3.0:${PORTSDIR}/databases/db43
-. endif
-. endif
-. endif
-CONFIGURE_ARGS+=--with-db4=${LOCALBASE}
-. endif
-. if defined(WITH_GDBM)
-LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm
-
-CONFIGURE_ARGS+=--with-gdbm=${LOCALBASE}
-. endif
-. if defined(WITHOUT_INIFILE)
-CONFIGURE_ARGS+=--without-inifile
-. endif
-. if defined(WITHOUT_FLATFILE)
-CONFIGURE_ARGS+=--without-flatfile
-. endif
-.endif
-
-.if ${PHP_MODNAME} == "gd"
-. if !defined(WITHOUT_T1LIB)
-LIB_DEPENDS+= t1.5:${PORTSDIR}/devel/t1lib
-
-CONFIGURE_ARGS+=--with-t1lib=${LOCALBASE}
-. endif
-. if !defined(WITHOUT_TRUETYPE)
-CONFIGURE_ARGS+=--enable-gd-native-ttf
-. endif
-. if defined(WITH_JIS)
-CONFIGURE_ARGS+=--enable-gd-jis-conv
-. endif
-.endif
-
-.if ${PHP_MODNAME} == "mbstring"
-. if defined(WITHOUT_REGEX)
-CONFIGURE_ARGS+=--disable-mbregex
-. endif
-.endif
-
-.if ${PHP_MODNAME} == "openssl"
-post-extract:
- @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4
-.endif
-
-.if ${PHP_MODNAME} == "oracle"
-pre-configure:
- @cd ${WRKSRC}; \
- for lib in c3v6 client common core3 epc generic ncr nlsrtl3 sqlnet wrap; do \
- /usr/bin/ar x ${LOCALBASE}/oracle7/lib/lib$${lib}.a; \
- done; \
- /usr/bin/ar rcs liboracle.a *.o
-.endif
-
-.if ${PHP_MODNAME} == "snmp"
-. if defined(WITH_SNMP4) || exists(${LOCALBASE}/lib/libsnmp.so.4)
-LIB_DEPENDS+= snmp.4:${PORTSDIR}/net-mgmt/net-snmp4
-. else
-LIB_DEPENDS+= netsnmp.7:${PORTSDIR}/net-mgmt/net-snmp
-. endif
-.endif
-
-.if ${PHP_MODNAME} == "sqlite"
-. if defined(WITH_UTF8)
-CONFIGURE_ARGS+=--enable-sqlite-utf8
-. endif
-.endif
-
-.if ${PHP_MODNAME} == "xml"
-post-extract:
- @${MKDIR} ${WRKSRC}/ext/xml
- @${CP} ${WRKSRC}/expat_compat.h ${WRKSRC}/ext/xml
-.endif
-
-.if ${PHP_MODNAME} == "zlib"
-post-extract:
- @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4
-.endif
diff --git a/lang/php53/Makefile.pear b/lang/php53/Makefile.pear
deleted file mode 100644
index 6dd3e608a3a4..000000000000
--- a/lang/php53/Makefile.pear
+++ /dev/null
@@ -1,36 +0,0 @@
-PORTREVISION= 4
-
-USE_GNOME= libxml2
-
-GNU_CONFIGURE= yes
-
-CONFIGURE_ARGS= --with-layout=GNU \
- --disable-cgi \
- --disable-all \
- --with-pcre-regex=yes \
- --enable-xml \
- --with-libxml-dir=${LOCALBASE} \
- --with-zlib-dir=/usr \
- --with-pear
-
-NO_BUILD= yes
-
-INSTALL_TARGET= install-pear
-
-USE_PHP= pcre xml
-WANT_PHP_SCR= yes
-DEFAULT_PHP_VER=5
-BROKEN_WITH_PHP=4
-
-.include <bsd.port.pre.mk>
-
-post-patch:
- @${SED} "s|%%PREFIX%%|${PREFIX}|g" \
- ${WRKSRC}/pear/scripts/pearcmd.php > ${WRKSRC}/pear/scripts/pear
-
-post-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/pear/scripts/pear ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/lib/php/pear/.registry
- @${TOUCH} ${PREFIX}/lib/php/pear/.filemap
- @${TOUCH} ${PREFIX}/lib/php/pear/.lock
- @${SED} "s|\$${LOCALBASE}|${LOCALBASE}|g;s|\$${PREFIX}|${PREFIX}|g" < ${PKGMESSAGE}
diff --git a/lang/php53/distinfo b/lang/php53/distinfo
deleted file mode 100644
index 7a01a4850efb..000000000000
--- a/lang/php53/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (php-5.0.4.tar.bz2) = fb1aac107870f897d26563a9cc5053c0
-SIZE (php-5.0.4.tar.bz2) = 4731383
diff --git a/lang/php53/files/patch-Zend::zend.h b/lang/php53/files/patch-Zend::zend.h
deleted file mode 100644
index 50625c403417..000000000000
--- a/lang/php53/files/patch-Zend::zend.h
+++ /dev/null
@@ -1,12 +0,0 @@
---- Zend/zend.h.orig Mon Dec 6 15:42:56 2004
-+++ Zend/zend.h Mon Dec 6 15:46:40 2004
-@@ -176,7 +176,7 @@
- #endif
-
-
--#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) && !(defined(ZTS) && defined(HPUX)) && !defined(__darwin__) && !defined(__APPLE__)
-+#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) && !(defined(ZTS) && defined(HPUX)) && !defined(__darwin__) && !defined(__APPLE__) && !(defined(ZTS) && defined(__FreeBSD__))
- # define do_alloca(p) alloca(p)
- # define free_alloca(p)
- #else
-
diff --git a/lang/php53/files/patch-acinclude.m4 b/lang/php53/files/patch-acinclude.m4
deleted file mode 100644
index 32a0ca4c79c9..000000000000
--- a/lang/php53/files/patch-acinclude.m4
+++ /dev/null
@@ -1,14 +0,0 @@
---- acinclude.m4.orig Tue Jan 25 14:02:45 2005
-+++ acinclude.m4 Mon Apr 4 11:09:25 2005
-@@ -1681,9 +1681,9 @@
- unset OPENSSL_LIBDIR
-
- dnl Fallbacks for different configure options
-- if test "$PHP_OPENSSL" != "no"; then
-+ if test -n "$PHP_OPENSSL" && test "$PHP_OPENSSL" != "no"; then
- PHP_OPENSSL_DIR=$PHP_OPENSSL
-- elif test "$PHP_IMAP_SSL" != "no"; then
-+ elif test -n "$PHP_IMAP_SSL" && test "$PHP_IMAP_SSL" != "no"; then
- PHP_OPENSSL_DIR=$PHP_IMAP_SSL
- fi
-
diff --git a/lang/php53/files/patch-configure b/lang/php53/files/patch-configure
deleted file mode 100644
index a1219ce6bda7..000000000000
--- a/lang/php53/files/patch-configure
+++ /dev/null
@@ -1,82 +0,0 @@
---- configure.orig Sun Apr 3 11:42:50 2005
-+++ configure Wed Apr 6 16:41:26 2005
-@@ -2805,7 +2805,7 @@
- save_LIBS=$LIBS
-
- if test -n "$ac_cv_pthreads_lib"; then
-- LIBS="$LIBS -l$ac_cv_pthreads_lib"
-+ LIBS="$LIBS $ac_cv_pthreads_lib"
- fi
-
- if test -n "$ac_cv_pthreads_cflags"; then
-@@ -11201,7 +11201,7 @@
- if test "$enable_maintainer_zts" = "yes"; then
-
- if test -n "$ac_cv_pthreads_lib"; then
-- LIBS="$LIBS -l$ac_cv_pthreads_lib"
-+ LIBS="$LIBS $ac_cv_pthreads_lib"
- fi
-
- if test -n "$ac_cv_pthreads_cflags"; then
-@@ -11218,8 +11218,6 @@
- case $host_alias in
- *solaris*)
- PTHREAD_FLAGS="-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT";;
-- *freebsd*)
-- PTHREAD_FLAGS="-D_REENTRANT -D_THREAD_SAFE";;
- *linux*)
- PTHREAD_FLAGS=-D_REENTRANT;;
- *aix*)
-@@ -80628,6 +80626,10 @@
- #line 80629 "configure"
- #include "confdefs.h"
-
-+#if HAVE_UNISTD_H
-+#include <unistd.h>
-+#endif
-+
- #if HAVE_CRYPT_H
- #include <crypt.h>
- #endif
-@@ -80685,6 +80687,10 @@
- #line 80686 "configure"
- #include "confdefs.h"
-
-+#if HAVE_UNISTD_H
-+#include <unistd.h>
-+#endif
-+
- #if HAVE_CRYPT_H
- #include <crypt.h>
- #endif
-@@ -80742,6 +80748,10 @@
- #line 80743 "configure"
- #include "confdefs.h"
-
-+#if HAVE_UNISTD_H
-+#include <unistd.h>
-+#endif
-+
- #if HAVE_CRYPT_H
- #include <crypt.h>
- #endif
-@@ -80837,6 +80847,10 @@
- #line 80838 "configure"
- #include "confdefs.h"
-
-+#if HAVE_UNISTD_H
-+#include <unistd.h>
-+#endif
-+
- #if HAVE_CRYPT_H
- #include <crypt.h>
- #endif
-@@ -92387,7 +92401,7 @@
- save_LIBS=$LIBS
-
- if test -n "$ac_cv_pthreads_lib"; then
-- LIBS="$LIBS -l$ac_cv_pthreads_lib"
-+ LIBS="$LIBS $ac_cv_pthreads_lib"
- fi
-
- if test -n "$ac_cv_pthreads_cflags"; then
diff --git a/lang/php53/files/patch-ext_standard_dns.h b/lang/php53/files/patch-ext_standard_dns.h
deleted file mode 100644
index 1ea8751970c8..000000000000
--- a/lang/php53/files/patch-ext_standard_dns.h
+++ /dev/null
@@ -1,13 +0,0 @@
---- ext/standard/dns.h.orig Sun Jun 19 11:57:31 2005
-+++ ext/standard/dns.h Sun Jun 19 12:03:37 2005
-@@ -25,6 +25,10 @@
-
- #if HAVE_RES_NMKQUERY && HAVE_RES_NSEND && HAVE_DN_EXPAND && HAVE_DN_SKIPNAME
- #define HAVE_DNS_FUNCS 1
-+#define res_ninit __res_ninit
-+#define res_nmkquery __res_nmkquery
-+#define res_nsend __res_nsend
-+#define res_nclose __res_nclose
- #endif
-
- PHP_FUNCTION(gethostbyaddr);
diff --git a/lang/php53/files/patch-main::php_config.h.in b/lang/php53/files/patch-main::php_config.h.in
deleted file mode 100644
index 3eed7c4acf66..000000000000
--- a/lang/php53/files/patch-main::php_config.h.in
+++ /dev/null
@@ -1,12 +0,0 @@
---- main/php_config.h.in.orig Mon Jul 12 16:30:37 2004
-+++ main/php_config.h.in Mon Jul 12 16:31:38 2004
-@@ -2362,6 +2362,9 @@
- /* */
- #undef SOLARIS_YP
-
-+/* Include external shared modules configurations */
-+#include "ext/php_config.h"
-+
- /* Whether sprintf is broken */
- #undef ZEND_BROKEN_SPRINTF
-
diff --git a/lang/php53/files/patch-main_SAPI.c b/lang/php53/files/patch-main_SAPI.c
deleted file mode 100644
index 12744ba48346..000000000000
--- a/lang/php53/files/patch-main_SAPI.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- main/SAPI.c.orig Fri Apr 15 10:31:02 2005
-+++ main/SAPI.c Fri Apr 15 10:34:11 2005
-@@ -569,7 +569,7 @@
- ptr++;
- len--;
- }
--#if HAVE_ZLIB
-+#if 1
- if(!strncmp(ptr, "image/", sizeof("image/")-1)) {
- zend_alter_ini_entry("zlib.output_compression", sizeof("zlib.output_compression"), "0", sizeof("0") - 1, PHP_INI_USER, PHP_INI_STAGE_RUNTIME);
- }
-@@ -716,7 +716,7 @@
- return SUCCESS;
- }
-
--#if HAVE_ZLIB
-+#if 1
- /* Add output compression headers at this late stage in order to make
- it possible to switch it off inside the script. */
-
diff --git a/lang/php53/files/patch-pear::Makefile.frag b/lang/php53/files/patch-pear::Makefile.frag
deleted file mode 100644
index 082aa5e74fb8..000000000000
--- a/lang/php53/files/patch-pear::Makefile.frag
+++ /dev/null
@@ -1,35 +0,0 @@
---- pear/Makefile.frag.orig Tue Sep 2 03:30:13 2003
-+++ pear/Makefile.frag Thu Apr 22 23:52:40 2004
-@@ -1,6 +1,7 @@
- # -*- makefile -*-
-
- peardir=$(PEAR_INSTALLDIR)
-+XML_RPC_ver=1.2.2
-
- # Skip all php.ini files altogether
- PEAR_INSTALL_FLAGS = -n -dshort_open_tag=0 -dsafe_mode=0
-@@ -13,10 +14,18 @@
-
- install-pear:
- @echo "Installing PEAR environment: $(INSTALL_ROOT)$(peardir)/"
-- @if $(mkinstalldirs) $(INSTALL_ROOT)$(peardir); then \
-- $(MAKE) -s install-pear-installer install-pear-packages; \
-- else \
-- cat $(srcdir)/install-pear.txt; \
-- exit 5; \
-- fi
-+ @$(mkinstalldirs) $(INSTALL_ROOT)$(peardir)/bootstrap \
-+ $(INSTALL_ROOT)$(peardir)/bootstrap/Archive \
-+ $(INSTALL_ROOT)$(peardir)/bootstrap/Console \
-+ $(INSTALL_ROOT)$(peardir)/bootstrap/XML \
-+ $(INSTALL_ROOT)$(peardir)/bootstrap/XML/RPC
-+ @cp $(srcdir)/PEAR.php $(srcdir)/System.php \
-+ $(INSTALL_ROOT)$(peardir)/bootstrap
-+ @cp $(srcdir)/Archive/*.php $(INSTALL_ROOT)$(peardir)/bootstrap/Archive
-+ @cp $(srcdir)/Console/*.php $(INSTALL_ROOT)$(peardir)/bootstrap/Console
-+ @cp -R $(srcdir)/OS $(INSTALL_ROOT)$(peardir)/bootstrap
-+ @cp -R $(srcdir)/PEAR $(INSTALL_ROOT)$(peardir)/bootstrap
-+ @tar xf $(srcdir)/packages/XML_RPC-$(XML_RPC_ver).tar
-+ @cp XML_RPC-$(XML_RPC_ver)/RPC.php $(INSTALL_ROOT)$(peardir)/bootstrap/XML
-+ @cp XML_RPC-$(XML_RPC_ver)/Server.php $(INSTALL_ROOT)$(peardir)/bootstrap/XML/RPC
-
diff --git a/lang/php53/files/patch-pear::scripts::pearcmd.php b/lang/php53/files/patch-pear::scripts::pearcmd.php
deleted file mode 100644
index d24ae913d4fe..000000000000
--- a/lang/php53/files/patch-pear::scripts::pearcmd.php
+++ /dev/null
@@ -1,20 +0,0 @@
---- pear/scripts/pearcmd.php.orig Sun Jun 6 17:52:41 2004
-+++ pear/scripts/pearcmd.php Mon Jul 12 16:22:50 2004
-@@ -1,3 +1,4 @@
-+#!%%PREFIX%%/bin/php -nq
- <?php
- //
- // +----------------------------------------------------------------------+
-@@ -24,9 +25,9 @@
- /**
- * @nodep Gtk
- */
--if ('@include_path@' != '@'.'include_path'.'@') {
-- ini_set('include_path', '@include_path@');
--}
-+dl('pcre.so');
-+dl('xml.so');
-+ini_set('include_path', '%%PREFIX%%/share/pear:%%PREFIX%%/share/pear/bootstrap');
- ini_set('allow_url_fopen', true);
- if (!ini_get('safe_mode')) {
- set_time_limit(0);
diff --git a/lang/php53/files/patch-scripts::Makefile.frag b/lang/php53/files/patch-scripts::Makefile.frag
deleted file mode 100644
index 7570701e6beb..000000000000
--- a/lang/php53/files/patch-scripts::Makefile.frag
+++ /dev/null
@@ -1,25 +0,0 @@
---- scripts/Makefile.frag.orig Mon Feb 28 06:28:25 2005
-+++ scripts/Makefile.frag Fri Apr 1 15:42:21 2005
-@@ -34,21 +34,12 @@
- / \
- Zend/ \
- TSRM/ \
-- include/ \
- main/ \
- main/streams/ \
- regex/ \
-- ext/iconv/ \
- ext/libxml/ \
- ext/standard/ \
-- ext/session/ \
-- ext/dom/xml_common.h \
-- ext/xml/ \
-- ext/xml/expat/ \
-- ext/mbstring/ \
-- ext/mbstring/libmbfl/ \
-- ext/mbstring/libmbfl/mbfl/ \
-- ext/sqlite/libsqlite/src/sqlite.h
-+ ext/spl/
-
- install-headers:
- -@for i in $(HEADER_DIRS); do \
diff --git a/lang/php53/files/patch-scripts::phpize.in b/lang/php53/files/patch-scripts::phpize.in
deleted file mode 100644
index cab5309be743..000000000000
--- a/lang/php53/files/patch-scripts::phpize.in
+++ /dev/null
@@ -1,15 +0,0 @@
---- scripts/phpize.in.orig Fri Apr 1 15:42:47 2005
-+++ scripts/phpize.in Fri Apr 1 15:43:04 2005
-@@ -102,9 +102,9 @@
-
- phpize_autotools()
- {
-- aclocal || exit 1
-- autoconf || exit 1
-- autoheader || exit 1
-+ aclocal15 || exit 1
-+ autoconf253 || exit 1
-+ autoheader253 || exit 1
- }
-
- # Main script
diff --git a/lang/php53/pkg-descr b/lang/php53/pkg-descr
deleted file mode 100644
index b47c03e5fbf6..000000000000
--- a/lang/php53/pkg-descr
+++ /dev/null
@@ -1,11 +0,0 @@
-PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
-Source general-purpose scripting language that is especially suited for
-Web development and can be embedded into HTML. Its syntax draws upon C,
-Java, and Perl, and is easy to learn. The main goal of the language is to
-allow web developers to write dynamically generated webpages quickly, but
-you can do much more with PHP.
-
-WWW: http://www.php.net/
-
-- Alex Dupre
-ale@FreeBSD.org
diff --git a/lang/php53/pkg-message.mod b/lang/php53/pkg-message.mod
deleted file mode 100644
index 555f5b053ae8..000000000000
--- a/lang/php53/pkg-message.mod
+++ /dev/null
@@ -1,10 +0,0 @@
-***************************************************************
-
-Make sure index.php is part of your DirectoryIndex.
-
-You should add the following to your Apache configuration file:
-
-AddType application/x-httpd-php .php
-AddType application/x-httpd-php-source .phps
-
-***************************************************************
diff --git a/lang/php53/pkg-message.pear b/lang/php53/pkg-message.pear
deleted file mode 100644
index 53827dba00cc..000000000000
--- a/lang/php53/pkg-message.pear
+++ /dev/null
@@ -1,8 +0,0 @@
-*********************************************************
-
-To use PEAR you have to add the correct include path into
-your ${LOCALBASE}/etc/php.ini configuration file, like:
-
-include_path = ".:${PREFIX}/share/pear"
-
-*********************************************************
diff --git a/lang/php53/pkg-plist b/lang/php53/pkg-plist
deleted file mode 100644
index 40e1af9f8bed..000000000000
--- a/lang/php53/pkg-plist
+++ /dev/null
@@ -1,213 +0,0 @@
-%%CLI%%bin/php
-bin/php-config
-bin/phpextdist
-bin/phpize
-etc/php.conf
-etc/php.ini-dist
-etc/php.ini-recommended
-include/php/TSRM/TSRM.h
-include/php/TSRM/acconfig.h
-include/php/TSRM/readdir.h
-include/php/TSRM/tsrm_config.h
-include/php/TSRM/tsrm_config.nw.h
-include/php/TSRM/tsrm_config.w32.h
-include/php/TSRM/tsrm_config_common.h
-include/php/TSRM/tsrm_nw.h
-include/php/TSRM/tsrm_strtok_r.h
-include/php/TSRM/tsrm_virtual_cwd.h
-include/php/TSRM/tsrm_win32.h
-include/php/Zend/FlexLexer.h
-include/php/Zend/acconfig.h
-include/php/Zend/zend.h
-include/php/Zend/zend_API.h
-include/php/Zend/zend_alloc.h
-include/php/Zend/zend_builtin_functions.h
-include/php/Zend/zend_compile.h
-include/php/Zend/zend_config.h
-include/php/Zend/zend_config.nw.h
-include/php/Zend/zend_config.w32.h
-include/php/Zend/zend_constants.h
-include/php/Zend/zend_dynamic_array.h
-include/php/Zend/zend_errors.h
-include/php/Zend/zend_exceptions.h
-include/php/Zend/zend_execute.h
-include/php/Zend/zend_extensions.h
-include/php/Zend/zend_fast_cache.h
-include/php/Zend/zend_globals.h
-include/php/Zend/zend_globals_macros.h
-include/php/Zend/zend_hash.h
-include/php/Zend/zend_highlight.h
-include/php/Zend/zend_indent.h
-include/php/Zend/zend_ini.h
-include/php/Zend/zend_ini_parser.h
-include/php/Zend/zend_ini_scanner.h
-include/php/Zend/zend_interfaces.h
-include/php/Zend/zend_istdiostream.h
-include/php/Zend/zend_iterators.h
-include/php/Zend/zend_language_parser.h
-include/php/Zend/zend_language_scanner.h
-include/php/Zend/zend_list.h
-include/php/Zend/zend_llist.h
-include/php/Zend/zend_mm.h
-include/php/Zend/zend_modules.h
-include/php/Zend/zend_multibyte.h
-include/php/Zend/zend_multiply.h
-include/php/Zend/zend_object_handlers.h
-include/php/Zend/zend_objects.h
-include/php/Zend/zend_objects_API.h
-include/php/Zend/zend_operators.h
-include/php/Zend/zend_ptr_stack.h
-include/php/Zend/zend_qsort.h
-include/php/Zend/zend_reflection_api.h
-include/php/Zend/zend_stack.h
-include/php/Zend/zend_static_allocator.h
-include/php/Zend/zend_stream.h
-include/php/Zend/zend_strtod.h
-include/php/Zend/zend_ts_hash.h
-include/php/Zend/zend_types.h
-include/php/Zend/zend_variables.h
-include/php/acconfig.h
-include/php/ext/libxml/php_libxml.h
-include/php/ext/spl/php_spl.h
-include/php/ext/spl/spl_array.h
-include/php/ext/spl/spl_directory.h
-include/php/ext/spl/spl_engine.h
-include/php/ext/spl/spl_functions.h
-include/php/ext/spl/spl_iterators.h
-include/php/ext/spl/spl_sxe.h
-include/php/ext/standard/base64.h
-include/php/ext/standard/basic_functions.h
-include/php/ext/standard/crc32.h
-include/php/ext/standard/credits.h
-include/php/ext/standard/credits_ext.h
-include/php/ext/standard/credits_sapi.h
-include/php/ext/standard/css.h
-include/php/ext/standard/cyr_convert.h
-include/php/ext/standard/datetime.h
-include/php/ext/standard/dl.h
-include/php/ext/standard/dns.h
-include/php/ext/standard/exec.h
-include/php/ext/standard/file.h
-include/php/ext/standard/flock_compat.h
-include/php/ext/standard/fsock.h
-include/php/ext/standard/head.h
-include/php/ext/standard/html.h
-include/php/ext/standard/info.h
-include/php/ext/standard/md5.h
-include/php/ext/standard/microtime.h
-include/php/ext/standard/pack.h
-include/php/ext/standard/pageinfo.h
-include/php/ext/standard/parsedate.h
-include/php/ext/standard/php_array.h
-include/php/ext/standard/php_assert.h
-include/php/ext/standard/php_browscap.h
-include/php/ext/standard/php_crypt.h
-include/php/ext/standard/php_dir.h
-include/php/ext/standard/php_ext_syslog.h
-include/php/ext/standard/php_filestat.h
-include/php/ext/standard/php_fopen_wrappers.h
-include/php/ext/standard/php_ftok.h
-include/php/ext/standard/php_http.h
-include/php/ext/standard/php_image.h
-include/php/ext/standard/php_incomplete_class.h
-include/php/ext/standard/php_iptc.h
-include/php/ext/standard/php_lcg.h
-include/php/ext/standard/php_link.h
-include/php/ext/standard/php_mail.h
-include/php/ext/standard/php_math.h
-include/php/ext/standard/php_metaphone.h
-include/php/ext/standard/php_parsedate.h
-include/php/ext/standard/php_rand.h
-include/php/ext/standard/php_smart_str.h
-include/php/ext/standard/php_smart_str_public.h
-include/php/ext/standard/php_standard.h
-include/php/ext/standard/php_string.h
-include/php/ext/standard/php_sunfuncs.h
-include/php/ext/standard/php_type.h
-include/php/ext/standard/php_uuencode.h
-include/php/ext/standard/php_var.h
-include/php/ext/standard/php_versioning.h
-include/php/ext/standard/proc_open.h
-include/php/ext/standard/quot_print.h
-include/php/ext/standard/reg.h
-include/php/ext/standard/scanf.h
-include/php/ext/standard/sha1.h
-include/php/ext/standard/streamsfuncs.h
-include/php/ext/standard/uniqid.h
-include/php/ext/standard/url.h
-include/php/ext/standard/url_scanner.h
-include/php/ext/standard/url_scanner_ex.h
-@exec touch %D/include/php/ext/php_config.h
-@unexec [ -s %D/include/php/ext/php_config.h ] || rm %D/include/php/ext/php_config.h
-include/php/main/SAPI.h
-include/php/main/build-defs.h
-include/php/main/config.nw.h
-include/php/main/config.w32.h
-include/php/main/fopen_wrappers.h
-include/php/main/internal_functions_registry.h
-include/php/main/logos.h
-include/php/main/php.h
-include/php/main/php3_compat.h
-include/php/main/php_compat.h
-include/php/main/php_config.h
-include/php/main/php_content_types.h
-include/php/main/php_embed.h
-include/php/main/php_globals.h
-include/php/main/php_ini.h
-include/php/main/php_logos.h
-include/php/main/php_main.h
-include/php/main/php_memory_streams.h
-include/php/main/php_network.h
-include/php/main/php_open_temporary_file.h
-include/php/main/php_output.h
-include/php/main/php_reentrancy.h
-include/php/main/php_regex.h
-include/php/main/php_scandir.h
-include/php/main/php_streams.h
-include/php/main/php_syslog.h
-include/php/main/php_ticks.h
-include/php/main/php_variables.h
-include/php/main/php_version.h
-include/php/main/rfc1867.h
-include/php/main/safe_mode.h
-include/php/main/snprintf.h
-include/php/main/spprintf.h
-include/php/main/streams/php_stream_context.h
-include/php/main/streams/php_stream_filter_api.h
-include/php/main/streams/php_stream_mmap.h
-include/php/main/streams/php_streams_int.h
-include/php/main/streams/php_stream_transport.h
-include/php/main/streams/php_stream_userspace.h
-include/php/main/streams/php_stream_plain_wrapper.h
-include/php/main/win95nt.h
-include/php/regex/cclass.h
-include/php/regex/cname.h
-include/php/regex/regex.h
-include/php/regex/regex2.h
-include/php/regex/regex_extra.h
-include/php/regex/utils.h
-lib/php/build/Makefile.global
-lib/php/build/acinclude.m4
-lib/php/build/config.guess
-lib/php/build/config.sub
-lib/php/build/libtool.m4
-lib/php/build/ltmain.sh
-lib/php/build/mkdep.awk
-lib/php/build/phpize.m4
-lib/php/build/scan_makefile_in.awk
-lib/php/build/shtool
-%%SAPI_FILE%%
-%%APACHE%%@exec %D/sbin/apxs -e -a -n php5 %f
-%%APACHE%%@unexec %D/sbin/apxs -e -A -n php5 %f
-@dirrm include/php/TSRM
-@dirrm include/php/Zend
-@dirrm include/php/ext/libxml
-@dirrm include/php/ext/spl
-@dirrm include/php/ext/standard
-@unexec rmdir %D/include/php/ext 2> /dev/null || true
-@dirrm include/php/main/streams
-@dirrm include/php/main
-@dirrm include/php/regex
-@unexec rmdir %D/include/php 2> /dev/null || true
-@dirrm lib/php/build
-@unexec rmdir %D/lib/php 2> /dev/null || true
diff --git a/lang/php53/pkg-plist.pear b/lang/php53/pkg-plist.pear
deleted file mode 100644
index 5d6e41f0a15a..000000000000
--- a/lang/php53/pkg-plist.pear
+++ /dev/null
@@ -1,51 +0,0 @@
-bin/pear
-@exec mkdir -p %D/lib/php/pear/.registry
-@exec touch %D/lib/php/pear/.filemap
-@exec touch %D/lib/php/pear/.lock
-share/pear/bootstrap/Archive/Tar.php
-share/pear/bootstrap/PEAR.php
-share/pear/bootstrap/System.php
-share/pear/bootstrap/Console/Getopt.php
-share/pear/bootstrap/OS/Guess.php
-share/pear/bootstrap/PEAR/Autoloader.php
-share/pear/bootstrap/PEAR/Builder.php
-share/pear/bootstrap/PEAR/Command.php
-share/pear/bootstrap/PEAR/Command/Auth.php
-share/pear/bootstrap/PEAR/Command/Build.php
-share/pear/bootstrap/PEAR/Command/Common.php
-share/pear/bootstrap/PEAR/Command/Config.php
-share/pear/bootstrap/PEAR/Command/Install.php
-share/pear/bootstrap/PEAR/Command/Mirror.php
-share/pear/bootstrap/PEAR/Command/Package.php
-share/pear/bootstrap/PEAR/Command/Registry.php
-share/pear/bootstrap/PEAR/Command/Remote.php
-share/pear/bootstrap/PEAR/Common.php
-share/pear/bootstrap/PEAR/Config.php
-share/pear/bootstrap/PEAR/Dependency.php
-share/pear/bootstrap/PEAR/DependencyDB.php
-share/pear/bootstrap/PEAR/Downloader.php
-share/pear/bootstrap/PEAR/ErrorStack.php
-share/pear/bootstrap/PEAR/Exception.php
-share/pear/bootstrap/PEAR/Frontend/CLI.php
-share/pear/bootstrap/PEAR/Installer.php
-share/pear/bootstrap/PEAR/Packager.php
-share/pear/bootstrap/PEAR/Registry.php
-share/pear/bootstrap/PEAR/Remote.php
-share/pear/bootstrap/PEAR/RunTest.php
-share/pear/bootstrap/XML/RPC.php
-share/pear/bootstrap/XML/RPC/Server.php
-@unexec rm %D/lib/php/pear/.filemap 2> /dev/null || true
-@unexec rm %D/lib/php/pear/.lock 2> /dev/null || true
-@unexec rmdir %D/lib/php/pear/.registry 2> /dev/null || true
-@unexec rmdir %D/lib/php/pear 2> /dev/null || true
-@unexec rmdir %D/lib/php 2> /dev/null || true
-@dirrm share/pear/bootstrap/Archive
-@dirrm share/pear/bootstrap/Console
-@dirrm share/pear/bootstrap/OS
-@dirrm share/pear/bootstrap/PEAR/Command
-@dirrm share/pear/bootstrap/PEAR/Frontend
-@dirrm share/pear/bootstrap/PEAR
-@dirrm share/pear/bootstrap/XML/RPC
-@dirrm share/pear/bootstrap/XML
-@dirrm share/pear/bootstrap
-@unexec rmdir %D/share/pear 2> /dev/null || true