aboutsummaryrefslogtreecommitdiff
path: root/lang/php53
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php53')
-rw-r--r--lang/php53/Makefile211
-rw-r--r--lang/php53/Makefile.ext491
-rw-r--r--lang/php53/Makefile.pear31
-rw-r--r--lang/php53/distinfo2
-rw-r--r--lang/php53/files/patch-Zend::zend.h12
-rw-r--r--lang/php53/files/patch-configure38
-rw-r--r--lang/php53/files/patch-ext::standard::php_var.h20
-rw-r--r--lang/php53/files/patch-ext::standard::var_unserializer.c87
-rw-r--r--lang/php53/files/patch-main::php_config.h.in12
-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.frag22
-rw-r--r--lang/php53/files/patch-scripts::phpize.in21
-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-plist209
-rw-r--r--lang/php53/pkg-plist.pear42
18 files changed, 0 insertions, 1282 deletions
diff --git a/lang/php53/Makefile b/lang/php53/Makefile
deleted file mode 100644
index 55dbe22c8f22..000000000000
--- a/lang/php53/Makefile
+++ /dev/null
@@ -1,211 +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.3
-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 \
- 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>
-
-.if ${ARCH} == "ia64"
-BROKEN= "Does not compile on ia64"
-.endif
-
-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
-
-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 20e4241ddf2d..000000000000
--- a/lang/php53/Makefile.ext
+++ /dev/null
@@ -1,491 +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}
-.endif
-
-.if ${PHP_MODNAME} == "interbase"
-LIB_DEPENDS+= gds.1:${PORTSDIR}/databases/firebird
-
-CONFIGURE_ARGS+=--with-interbase=${LOCALBASE}/firebird
-.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/mnogosearch
-
-CONFIGURE_ARGS+=--with-mnogosearch=${LOCALBASE}
-.endif
-
-.if ${PHP_MODNAME} == "mssql"
-LIB_DEPENDS+= sybdb.4:${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 50
-.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
-RUN_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.2:${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?= 41
-. if ${WITH_DB4_VER} == 42
-LIB_DEPENDS+= db-4.2.2:${PORTSDIR}/databases/db42
-. else
-. if ${WITH_DB4_VER} == 4
-LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4
-. else
-LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41
-. 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} == "imap"
-. if !exists(${LOCALBASE}/lib/libc-client4.so)
-. if !defined(WITHOUT_SSL)
-CONFIGURE_ARGS+=--with-imap-ssl=${LOCALBASE}
-. endif
-. else
-WITH_IMAP_SSL!= /usr/bin/ldd ${LOCALBASE}/lib/libc-client4.so | ${GREP} libssl || ${TRUE}
-. if !empty(WITH_IMAP_SSL)
-CONFIGURE_ARGS+=--with-imap-ssl=${LOCALBASE}
-. endif
-. 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} == "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 60f3583eca46..000000000000
--- a/lang/php53/Makefile.pear
+++ /dev/null
@@ -1,31 +0,0 @@
-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
- @${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 b7d5539c76c7..000000000000
--- a/lang/php53/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (php-5.0.3.tar.bz2) = fd26455febdddee0977ce226b9108d9c
-SIZE (php-5.0.3.tar.bz2) = 4607759
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-configure b/lang/php53/files/patch-configure
deleted file mode 100644
index a56d0519cb51..000000000000
--- a/lang/php53/files/patch-configure
+++ /dev/null
@@ -1,38 +0,0 @@
---- configure.orig Mon Oct 11 15:51:58 2004
-+++ configure Mon Oct 11 15:52:26 2004
-@@ -2649,7 +2649,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
-@@ -10613,7 +10613,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
-@@ -10630,8 +10630,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*)
-@@ -88453,7 +88451,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::php_var.h b/lang/php53/files/patch-ext::standard::php_var.h
deleted file mode 100644
index c3b01c3a9fd7..000000000000
--- a/lang/php53/files/patch-ext::standard::php_var.h
+++ /dev/null
@@ -1,20 +0,0 @@
---- ext/standard/php_var.h.orig 2004/09/05 16:29:04
-+++ ext/standard/php_var.h 2005/01/15 18:18:08
-@@ -41,6 +41,7 @@ PHPAPI void php_debug_zval_dump(zval **s
-
- struct php_unserialize_data {
- void *first;
-+ void *first_dtor;
- };
-
- typedef struct php_unserialize_data php_unserialize_data_t;
-@@ -54,7 +55,8 @@ PHPAPI int php_var_unserialize(zval **rv
- zend_hash_destroy(&(var_hash))
-
- #define PHP_VAR_UNSERIALIZE_INIT(var_hash) \
-- (var_hash).first = 0
-+ (var_hash).first = 0; \
-+ (var_hash).first_dtor = 0
- #define PHP_VAR_UNSERIALIZE_DESTROY(var_hash) \
- var_destroy(&(var_hash))
-
diff --git a/lang/php53/files/patch-ext::standard::var_unserializer.c b/lang/php53/files/patch-ext::standard::var_unserializer.c
deleted file mode 100644
index 930becda86ed..000000000000
--- a/lang/php53/files/patch-ext::standard::var_unserializer.c
+++ /dev/null
@@ -1,87 +0,0 @@
---- ext/standard/var_unserializer.c.orig 2004/12/03 16:02:48
-+++ ext/standard/var_unserializer.c 2005/01/18 10:57:05
-@@ -56,6 +56,30 @@ static inline void var_push(php_unserial
- var_hash->data[var_hash->used_slots++] = *rval;
- }
-
-+static inline void var_push_dtor(php_unserialize_data_t *var_hashx, zval **rval)
-+{
-+ var_entries *var_hash = var_hashx->first_dtor, *prev = NULL;
-+
-+ while (var_hash && var_hash->used_slots == VAR_ENTRIES_MAX) {
-+ prev = var_hash;
-+ var_hash = var_hash->next;
-+ }
-+
-+ if (!var_hash) {
-+ var_hash = emalloc(sizeof(var_entries));
-+ var_hash->used_slots = 0;
-+ var_hash->next = 0;
-+
-+ if (!var_hashx->first_dtor)
-+ var_hashx->first_dtor = var_hash;
-+ else
-+ prev->next = var_hash;
-+ }
-+
-+ (*rval)->refcount++;
-+ var_hash->data[var_hash->used_slots++] = *rval;
-+}
-+
- PHPAPI void var_replace(php_unserialize_data_t *var_hashx, zval *ozval, zval **nzval)
- {
- int i;
-@@ -93,6 +117,7 @@ static int var_access(php_unserialize_da
- PHPAPI void var_destroy(php_unserialize_data_t *var_hashx)
- {
- void *next;
-+ int i;
- var_entries *var_hash = var_hashx->first;
-
- while (var_hash) {
-@@ -100,6 +125,17 @@ PHPAPI void var_destroy(php_unserialize_
- efree(var_hash);
- var_hash = next;
- }
-+
-+ var_hash = var_hashx->first_dtor;
-+
-+ while (var_hash) {
-+ for (i = 0; i < var_hash->used_slots; i++) {
-+ zval_ptr_dtor(&var_hash->data[i]);
-+ }
-+ next = var_hash->next;
-+ efree(var_hash);
-+ var_hash = next;
-+ }
- }
-
- /* }}} */
-@@ -177,7 +213,7 @@ static inline size_t parse_uiv(const uns
- static inline int process_nested_data(UNSERIALIZE_PARAMETER, HashTable *ht, int elements)
- {
- while (elements-- > 0) {
-- zval *key, *data, *old_data;
-+ zval *key, *data, **old_data;
-
- ALLOC_INIT_ZVAL(key);
-
-@@ -205,14 +241,14 @@ static inline int process_nested_data(UN
-
- switch (Z_TYPE_P(key)) {
- case IS_LONG:
-- if (zend_hash_index_find(ht, Z_LVAL_P(key), (void **)&old_data)) {
-- var_replace(var_hash, old_data, rval);
-+ if (zend_hash_index_find(ht, Z_LVAL_P(key), (void **)&old_data)==SUCCESS) {
-+ var_push_dtor(var_hash, old_data);
- }
- zend_hash_index_update(ht, Z_LVAL_P(key), &data, sizeof(data), NULL);
- break;
- case IS_STRING:
-- if (zend_hash_find(ht, Z_STRVAL_P(key), Z_STRLEN_P(key) + 1, (void **)&old_data)) {
-- var_replace(var_hash, old_data, rval);
-+ if (zend_hash_find(ht, Z_STRVAL_P(key), Z_STRLEN_P(key) + 1, (void **)&old_data)==SUCCESS) {
-+ var_push_dtor(var_hash, old_data);
- }
- zend_hash_update(ht, Z_STRVAL_P(key), Z_STRLEN_P(key) + 1, &data, sizeof(data), NULL);
- break;
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-pear::Makefile.frag b/lang/php53/files/patch-pear::Makefile.frag
deleted file mode 100644
index ee24944b46c6..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.1.0
-
- # 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 35061730a341..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 -n -q -dsafe_mode=0 -doutput_buffering=1
- <?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 133dea408d39..000000000000
--- a/lang/php53/files/patch-scripts::Makefile.frag
+++ /dev/null
@@ -1,22 +0,0 @@
---- scripts/Makefile.frag.orig Tue Nov 23 14:06:16 2004
-+++ scripts/Makefile.frag Tue Jan 25 08:19:07 2005
-@@ -26,18 +26,12 @@
- / \
- Zend/ \
- TSRM/ \
-- include/ \
- main/ \
- main/streams/ \
- regex/ \
-- ext/iconv/ \
- ext/libxml/ \
- ext/standard/ \
-- ext/session/ \
-- ext/xml/ \
-- ext/xml/expat/ \
-- ext/mbstring/ \
-- 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 b75de61d6abf..000000000000
--- a/lang/php53/files/patch-scripts::phpize.in
+++ /dev/null
@@ -1,21 +0,0 @@
---- scripts/phpize.in.orig Mon Aug 23 14:25:48 2004
-+++ scripts/phpize.in Mon Aug 23 14:26:41 2004
-@@ -101,14 +101,14 @@
-
- phpize_autotools()
- {
-- aclocal || exit 1
-- autoconf || exit 1
-- autoheader || exit 1
-+ aclocal15 || exit 1
-+ autoconf253 || exit 1
-+ autoheader253 || exit 1
- }
-
- phpize_libtoolize()
- {
-- libtoolize=`$builddir/build/shtool path glibtoolize libtoolize`
-+ libtoolize=`$builddir/build/shtool path libtoolize13`
- $libtoolize -f -c || exit 1
- }
-
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 4431cf9db72e..000000000000
--- a/lang/php53/pkg-plist
+++ /dev/null
@@ -1,209 +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/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 122f6132cc0f..000000000000
--- a/lang/php53/pkg-plist.pear
+++ /dev/null
@@ -1,42 +0,0 @@
-bin/pear
-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/XML/RPC.php
-share/pear/bootstrap/XML/RPC/Server.php
-@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