summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--converters/Makefile1
-rw-r--r--devel/Makefile1
-rw-r--r--devel/php52-gettext/Makefile14
-rw-r--r--devel/php52-gettext/files/patch-config.m417
-rw-r--r--ftp/Makefile1
-rw-r--r--ftp/php52-ftp/Makefile14
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/php52-gd/Makefile14
-rw-r--r--graphics/php52-gd/files/patch-config.m411
-rw-r--r--graphics/php52-gd/files/patch-libgd_gd_png.c14
-rw-r--r--math/Makefile1
-rw-r--r--math/php52-gmp/Makefile14
-rw-r--r--security/Makefile1
-rw-r--r--security/php52-filter/Makefile14
-rw-r--r--security/php52-filter/files/patch-config.m425
-rw-r--r--security/php52-hash/Makefile14
16 files changed, 157 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile
index aa31106fbbf4..39e835f5ef98 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -110,6 +110,7 @@
SUBDIR += php5-iconv
SUBDIR += php5-mbstring
SUBDIR += php5-recode
+ SUBDIR += php52-iconv
SUBDIR += psiconv
SUBDIR += py-bsdconv
SUBDIR += py-cjkcodecs
diff --git a/devel/Makefile b/devel/Makefile
index 9d9bd888c373..e43e303dfe72 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2469,6 +2469,7 @@
SUBDIR += php5-sysvsem
SUBDIR += php5-sysvshm
SUBDIR += php5-tokenizer
+ SUBDIR += php52-gettext
SUBDIR += php52-pcre
SUBDIR += phpbt
SUBDIR += phptags
diff --git a/devel/php52-gettext/Makefile b/devel/php52-gettext/Makefile
new file mode 100644
index 000000000000..95e9e1b2183e
--- /dev/null
+++ b/devel/php52-gettext/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: php52-gettext
+# Date created: 17 Apr 2010
+# Whom: Alex Keda <admin@lissyara.su>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php52
+
+PKGNAMESUFFIX= -gettext
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php52-gettext/files/patch-config.m4 b/devel/php52-gettext/files/patch-config.m4
new file mode 100644
index 000000000000..2b497d366574
--- /dev/null
+++ b/devel/php52-gettext/files/patch-config.m4
@@ -0,0 +1,17 @@
+--- config.m4.orig Tue Jul 27 23:58:02 2004
++++ config.m4 Tue Jul 27 23:59:44 2004
+@@ -30,7 +30,6 @@
+ AC_MSG_ERROR(Unable to find required gettext library)
+ ])
+ )
+- LDFLAGS=$O_LDFLAGS
+
+ AC_DEFINE(HAVE_LIBINTL,1,[ ])
+ PHP_NEW_EXTENSION(gettext, gettext.c, $ext_shared)
+@@ -46,5 +45,6 @@
+ AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB, dngettext, [AC_DEFINE(HAVE_DNGETTEXT, 1, [ ])])
+ AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB, dcngettext, [AC_DEFINE(HAVE_DCNGETTEXT, 1, [ ])])
+ AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB, bind_textdomain_codeset, [AC_DEFINE(HAVE_BIND_TEXTDOMAIN_CODESET, 1, [ ])])
++ LDFLAGS=$O_LDFLAGS
+
+ fi
diff --git a/ftp/Makefile b/ftp/Makefile
index e76fdf1db261..6f2f069816ca 100644
--- a/ftp/Makefile
+++ b/ftp/Makefile
@@ -84,6 +84,7 @@
SUBDIR += php5-curl
SUBDIR += php5-ftp
SUBDIR += php52-curl
+ SUBDIR += php52-ftp
SUBDIR += phpwebftp
SUBDIR += proftpd
SUBDIR += proftpd-devel
diff --git a/ftp/php52-ftp/Makefile b/ftp/php52-ftp/Makefile
new file mode 100644
index 000000000000..33330ea1b4e3
--- /dev/null
+++ b/ftp/php52-ftp/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: php52-ftp
+# Date created: 17 Apr 2010
+# Whom: Alex Keda <admin@lissyara.su>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= ftp
+
+MASTERDIR= ${.CURDIR}/../../lang/php52
+
+PKGNAMESUFFIX= -ftp
+
+.include "${MASTERDIR}/Makefile"
diff --git a/graphics/Makefile b/graphics/Makefile
index 42d9c3a5c5b4..6c84711881f2 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -689,6 +689,7 @@
SUBDIR += php5-ffmpeg
SUBDIR += php5-gd
SUBDIR += php52-exif
+ SUBDIR += php52-gd
SUBDIR += phplot
SUBDIR += phpsview
SUBDIR += picpuz
diff --git a/graphics/php52-gd/Makefile b/graphics/php52-gd/Makefile
new file mode 100644
index 000000000000..5257868d44c7
--- /dev/null
+++ b/graphics/php52-gd/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: php52-gd
+# Date created: 17 Apr 2010
+# Whom: Alex Keda <admin@lissyara.su>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= graphics
+
+MASTERDIR= ${.CURDIR}/../../lang/php52
+
+PKGNAMESUFFIX= -gd
+
+.include "${MASTERDIR}/Makefile"
diff --git a/graphics/php52-gd/files/patch-config.m4 b/graphics/php52-gd/files/patch-config.m4
new file mode 100644
index 000000000000..03b69a1c248a
--- /dev/null
+++ b/graphics/php52-gd/files/patch-config.m4
@@ -0,0 +1,11 @@
+--- config.m4.orig Mon May 30 01:16:41 2005
++++ config.m4 Wed Dec 7 11:01:13 2005
+@@ -220,7 +220,7 @@
+ ],[
+ AC_MSG_ERROR([Problem with libt1.(a|so). Please check config.log for more information.])
+ ],[
+- -L$GD_T1_DIR/$PHP_LIBDIR
++ -L$GD_T1_DIR/$PHP_LIBDIR -lm
+ ])
+ fi
+ ])
diff --git a/graphics/php52-gd/files/patch-libgd_gd_png.c b/graphics/php52-gd/files/patch-libgd_gd_png.c
new file mode 100644
index 000000000000..95934bfc5089
--- /dev/null
+++ b/graphics/php52-gd/files/patch-libgd_gd_png.c
@@ -0,0 +1,14 @@
+--- libgd/gd_png.c.orig 2009-03-14 18:48:42.000000000 +0100
++++ libgd/gd_png.c 2010-04-05 19:54:05.000000000 +0200
+@@ -139,7 +139,11 @@
+ return NULL;
+ }
+
++#if PNG_LIBPNG_VER >= 10400
++ if (png_sig_cmp (sig, 0, 8)) { /* bad signature */
++#else
+ if (!png_check_sig (sig, 8)) { /* bad signature */
++#endif
+ return NULL;
+ }
+
diff --git a/math/Makefile b/math/Makefile
index b2c3962f3b03..05cba0f13a76 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -415,6 +415,7 @@
SUBDIR += php5-bcmath
SUBDIR += php5-gmp
SUBDIR += php52-bcmath
+ SUBDIR += php52-gmp
SUBDIR += physcalc
SUBDIR += plman
SUBDIR += ploticus
diff --git a/math/php52-gmp/Makefile b/math/php52-gmp/Makefile
new file mode 100644
index 000000000000..d48e2865920f
--- /dev/null
+++ b/math/php52-gmp/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: php52-gmp
+# Date created: 17 Apr 2010
+# Whom: Alex Keda <admin@lissyara.su>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= math
+
+MASTERDIR= ${.CURDIR}/../../lang/php52
+
+PKGNAMESUFFIX= -gmp
+
+.include "${MASTERDIR}/Makefile"
diff --git a/security/Makefile b/security/Makefile
index eea17b753e84..74c5161ff19e 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -630,6 +630,7 @@
SUBDIR += php5-mcrypt
SUBDIR += php5-openssl
SUBDIR += php52-filter
+ SUBDIR += php52-hash
SUBDIR += phpdeadlock
SUBDIR += phpmyid
SUBDIR += phpsecinfo
diff --git a/security/php52-filter/Makefile b/security/php52-filter/Makefile
new file mode 100644
index 000000000000..42a02c2e1012
--- /dev/null
+++ b/security/php52-filter/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: php52-filter
+# Date created: 17 Apr 2010
+# Whom: Alex Keda <admin@lissyara.su>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= security
+
+MASTERDIR= ${.CURDIR}/../../lang/php52
+
+PKGNAMESUFFIX= -filter
+
+.include "${MASTERDIR}/Makefile"
diff --git a/security/php52-filter/files/patch-config.m4 b/security/php52-filter/files/patch-config.m4
new file mode 100644
index 000000000000..91aebe515ded
--- /dev/null
+++ b/security/php52-filter/files/patch-config.m4
@@ -0,0 +1,25 @@
+--- config.m4.orig 2009-03-06 08:25:45.000000000 +0100
++++ config.m4 2009-03-06 08:28:10.000000000 +0100
+@@ -19,7 +19,7 @@
+ CPPFLAGS=$INCLUDES
+ AC_EGREP_CPP(yes,[
+ #include <main/php_config.h>
+-#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE)
++#if defined(HAVE_BUNDLED_PCRE)
+ yes
+ #endif
+ ],[
+@@ -27,11 +27,12 @@
+ ],[
+ AC_EGREP_CPP(yes,[
+ #include <main/php_config.h>
+-#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE)
++#if defined(HAVE_PCRE)
+ yes
+ #endif
+ ],[
+ PHP_PCRE_REGEX=pecl
++ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include)
+ ],[
+ PHP_PCRE_REGEX=no
+ ])
diff --git a/security/php52-hash/Makefile b/security/php52-hash/Makefile
new file mode 100644
index 000000000000..11f6a504d6b3
--- /dev/null
+++ b/security/php52-hash/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: php52-hash
+# Date created: 17 Apr 2010
+# Whom: Alex Keda <admin@lissyara.su>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= security
+
+MASTERDIR= ${.CURDIR}/../../lang/php52
+
+PKGNAMESUFFIX= -hash
+
+.include "${MASTERDIR}/Makefile"