- PHP 5.2 slave port

PR:		145772
Submitted by:	Alex Keda
This commit is contained in:
Dirk Meyer
2010-04-23 22:18:48 +00:00
parent 078a1f526e
commit 1aaae85bdc
12 changed files with 114 additions and 0 deletions

View File

@@ -112,6 +112,7 @@
SUBDIR += php5-recode
SUBDIR += php52-iconv
SUBDIR += php52-mbstring
SUBDIR += php52-recode
SUBDIR += psiconv
SUBDIR += py-bsdconv
SUBDIR += py-cjkcodecs

View File

@@ -0,0 +1,14 @@
# New ports collection makefile for: php52-recode
# Date created: 17 Apr 2010
# Whom: Alex Keda <admin@lissyara.su>
#
# $FreeBSD$
#
CATEGORIES= converters
MASTERDIR= ${.CURDIR}/../../lang/php52
PKGNAMESUFFIX= -recode
.include "${MASTERDIR}/Makefile"

View File

@@ -2475,6 +2475,7 @@
SUBDIR += php52-pcntl
SUBDIR += php52-pcre
SUBDIR += php52-readline
SUBDIR += php52-shmop
SUBDIR += phpbt
SUBDIR += phptags
SUBDIR += physfs

View File

@@ -0,0 +1,38 @@
--- config.m4.orig 2009-08-04 13:20:49.000000000 +0200
+++ config.m4 2009-09-22 11:13:12.000000000 +0200
@@ -5,13 +5,8 @@
PHP_ARG_WITH(libedit,for libedit readline replacement,
[ --with-libedit[=DIR] Include libedit readline replacement (CLI/CGI only)])
-if test "$PHP_LIBEDIT" = "no"; then
PHP_ARG_WITH(readline,for readline support,
[ --with-readline[=DIR] Include readline support (CLI/CGI only)])
-else
- dnl "register" the --with-readline option to preven invalid "unknown configure option" warning
- php_with_readline=no
-fi
if test "$PHP_READLINE" && test "$PHP_READLINE" != "no"; then
for i in $PHP_READLINE /usr/local /usr; do
@@ -60,6 +55,13 @@
-L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS
])
+ PHP_CHECK_LIBRARY(readline, rl_completion_matches,
+ [
+ AC_DEFINE(HAVE_RL_COMPLETION_MATCHES, 1, [ ])
+ ],[],[
+ -L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS
+ ])
+
AC_DEFINE(HAVE_LIBREADLINE, 1, [ ])
elif test "$PHP_LIBEDIT" != "no"; then
@@ -97,7 +99,6 @@
fi
if test "$PHP_READLINE" != "no" || test "$PHP_LIBEDIT" != "no"; then
- AC_CHECK_FUNCS([rl_completion_matches])
PHP_NEW_EXTENSION(readline, readline.c, $ext_shared, cli)
PHP_SUBST(READLINE_SHARED_LIBADD)
fi

View File

@@ -0,0 +1,14 @@
# New ports collection makefile for: php52-shmop
# Date created: 17 Apr 2010
# Whom: Alex Keda <admin@lissyara.su>
#
# $FreeBSD$
#
CATEGORIES= devel
MASTERDIR= ${.CURDIR}/../../lang/php52
PKGNAMESUFFIX= -shmop
.include "${MASTERDIR}/Makefile"

View File

@@ -212,6 +212,7 @@
SUBDIR += pftabled
SUBDIR += php4-snmp
SUBDIR += php5-snmp
SUBDIR += php52-snmp
SUBDIR += phpip
SUBDIR += pixilate
SUBDIR += pktstat

View File

@@ -0,0 +1,14 @@
# New ports collection makefile for: php52-snmp
# Date created: 17 Apr 2010
# Whom: Alex Keda <admin@lissyara.su>
#
# $FreeBSD$
#
CATEGORIES= net-mgmt
MASTERDIR= ${.CURDIR}/../../lang/php52
PKGNAMESUFFIX= -snmp
.include "${MASTERDIR}/Makefile"

View File

@@ -771,6 +771,7 @@
SUBDIR += php5-sockets
SUBDIR += php5-xmlrpc
SUBDIR += php52-ldap
SUBDIR += php52-soap
SUBDIR += phpldapadmin
SUBDIR += phpldapadmin098
SUBDIR += pimdd

View File

@@ -937,6 +937,7 @@
SUBDIR += php52-ctype
SUBDIR += php52-dom
SUBDIR += php52-pspell
SUBDIR += php52-simplexml
SUBDIR += po4a
SUBDIR += pocketreader
SUBDIR += pootle

View File

@@ -0,0 +1,14 @@
# New ports collection makefile for: php52-simplexml
# Date created: 17 Apr 2010
# Whom: Alex Keda <admin@lissyara.su>
#
# $FreeBSD$
#
CATEGORIES= textproc
MASTERDIR= ${.CURDIR}/../../lang/php52
PKGNAMESUFFIX= -simplexml
.include "${MASTERDIR}/Makefile"

View File

@@ -1339,6 +1339,7 @@
SUBDIR += php4-session
SUBDIR += php5-session
SUBDIR += php5-tidy
SUBDIR += php52-session
SUBDIR += phpbb
SUBDIR += phpbb-devel
SUBDIR += phpbb3

View File

@@ -0,0 +1,14 @@
# New ports collection makefile for: php52-session
# Date created: 17 Apr 2010
# Whom: Alex Keda <admin@lissyara.su>
#
# $FreeBSD$
#
CATEGORIES= www
MASTERDIR= ${.CURDIR}/../../lang/php52
PKGNAMESUFFIX= -session
.include "${MASTERDIR}/Makefile"