From 279ccadd7d5cb268f7aaa2ea5100cd9b2abfdd19 Mon Sep 17 00:00:00 2001 From: flo Date: Wed, 16 May 2012 09:46:51 +0000 Subject: readd php 5.3.13 and all its modules as php53* --- sysutils/Makefile | 2 ++ sysutils/php53-fileinfo/Makefile | 14 ++++++++++++++ sysutils/php53-fileinfo/files/patch-config.m4 | 21 +++++++++++++++++++++ sysutils/php53-posix/Makefile | 14 ++++++++++++++ 4 files changed, 51 insertions(+) create mode 100644 sysutils/php53-fileinfo/Makefile create mode 100644 sysutils/php53-fileinfo/files/patch-config.m4 create mode 100644 sysutils/php53-posix/Makefile (limited to 'sysutils') diff --git a/sysutils/Makefile b/sysutils/Makefile index c25689a4003..38f9fc54fc4 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -674,6 +674,8 @@ SUBDIR += php5-fileinfo SUBDIR += php5-posix SUBDIR += php52-posix + SUBDIR += php53-fileinfo + SUBDIR += php53-posix SUBDIR += pidof SUBDIR += pipemeter SUBDIR += plasma-applet-apcups diff --git a/sysutils/php53-fileinfo/Makefile b/sysutils/php53-fileinfo/Makefile new file mode 100644 index 00000000000..1196563c515 --- /dev/null +++ b/sysutils/php53-fileinfo/Makefile @@ -0,0 +1,14 @@ +# New ports collection makefile for: php53-fileinfo +# Date created: 12 Apr 2012 +# Whom: Florian Smeets +# +# $FreeBSD$ +# + +CATEGORIES= sysutils + +MASTERDIR= ${.CURDIR}/../../lang/php53 + +PKGNAMESUFFIX= -fileinfo + +.include "${MASTERDIR}/Makefile" diff --git a/sysutils/php53-fileinfo/files/patch-config.m4 b/sysutils/php53-fileinfo/files/patch-config.m4 new file mode 100644 index 00000000000..1348023ccf6 --- /dev/null +++ b/sysutils/php53-fileinfo/files/patch-config.m4 @@ -0,0 +1,21 @@ +--- config.m4.orig 2010-09-07 15:45:30.000000000 +0200 ++++ config.m4 2010-09-07 15:46:50.000000000 +0200 +@@ -4,6 +4,9 @@ + PHP_ARG_ENABLE(fileinfo, for fileinfo support, + [ --disable-fileinfo Disable fileinfo support], yes) + ++PHP_ARG_WITH(pcre-dir, pcre install prefix, ++[ --with-pcre-dir FILEINFO: pcre install prefix], no, no) ++ + if test "$PHP_FILEINFO" != "no"; then + + libmagic_sources=" \ +@@ -13,6 +16,8 @@ + libmagic/is_tar.c libmagic/magic.c libmagic/print.c \ + libmagic/readcdf.c libmagic/readelf.c libmagic/softmagic.c" + ++ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include) ++ + PHP_NEW_EXTENSION(fileinfo, fileinfo.c $libmagic_sources, $ext_shared,,-I@ext_srcdir@/libmagic) + PHP_ADD_BUILD_DIR($ext_builddir/libmagic) + diff --git a/sysutils/php53-posix/Makefile b/sysutils/php53-posix/Makefile new file mode 100644 index 00000000000..5c4c83eb95d --- /dev/null +++ b/sysutils/php53-posix/Makefile @@ -0,0 +1,14 @@ +# New ports collection makefile for: php53-posix +# Date created: 12 Apr 2012 +# Whom: Florian Smeets +# +# $FreeBSD$ +# + +CATEGORIES= sysutils + +MASTERDIR= ${.CURDIR}/../../lang/php53 + +PKGNAMESUFFIX= -posix + +.include "${MASTERDIR}/Makefile" -- cgit