diff options
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 9 | ||||
-rw-r--r-- | textproc/php74-ctype/Makefile | 11 | ||||
-rw-r--r-- | textproc/php74-dom/Makefile | 11 | ||||
-rw-r--r-- | textproc/php74-enchant/Makefile | 11 | ||||
-rw-r--r-- | textproc/php74-pspell/Makefile | 11 | ||||
-rw-r--r-- | textproc/php74-simplexml/Makefile | 11 | ||||
-rw-r--r-- | textproc/php74-simplexml/files/patch-config.m4 | 42 | ||||
-rw-r--r-- | textproc/php74-xml/Makefile | 11 | ||||
-rw-r--r-- | textproc/php74-xml/files/patch-compat.c | 13 | ||||
-rw-r--r-- | textproc/php74-xmlreader/Makefile | 11 | ||||
-rw-r--r-- | textproc/php74-xmlwriter/Makefile | 11 | ||||
-rw-r--r-- | textproc/php74-xsl/Makefile | 11 | ||||
-rw-r--r-- | textproc/php74-xsl/files/patch-php_xsl.h | 11 |
13 files changed, 174 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 6b9f060717f6..a9a665824db5 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1207,6 +1207,15 @@ SUBDIR += php73-xmlreader SUBDIR += php73-xmlwriter SUBDIR += php73-xsl + SUBDIR += php74-ctype + SUBDIR += php74-dom + SUBDIR += php74-enchant + SUBDIR += php74-pspell + SUBDIR += php74-simplexml + SUBDIR += php74-xml + SUBDIR += php74-xmlreader + SUBDIR += php74-xmlwriter + SUBDIR += php74-xsl SUBDIR += pict SUBDIR += plover SUBDIR += po4a diff --git a/textproc/php74-ctype/Makefile b/textproc/php74-ctype/Makefile new file mode 100644 index 000000000000..f7075581703a --- /dev/null +++ b/textproc/php74-ctype/Makefile @@ -0,0 +1,11 @@ +# $FreeBSD$ + +CATEGORIES= textproc + +MASTERDIR= ${.CURDIR}/../../lang/php74 + +PKGNAMESUFFIX= -ctype + +TEST_TARGET= test + +.include "${MASTERDIR}/Makefile" diff --git a/textproc/php74-dom/Makefile b/textproc/php74-dom/Makefile new file mode 100644 index 000000000000..d415b05089dc --- /dev/null +++ b/textproc/php74-dom/Makefile @@ -0,0 +1,11 @@ +# $FreeBSD$ + +CATEGORIES= textproc + +MASTERDIR= ${.CURDIR}/../../lang/php74 + +PKGNAMESUFFIX= -dom + +TEST_TARGET= test + +.include "${MASTERDIR}/Makefile" diff --git a/textproc/php74-enchant/Makefile b/textproc/php74-enchant/Makefile new file mode 100644 index 000000000000..1eb14768dc5b --- /dev/null +++ b/textproc/php74-enchant/Makefile @@ -0,0 +1,11 @@ +# $FreeBSD$ + +CATEGORIES= textproc + +MASTERDIR= ${.CURDIR}/../../lang/php74 + +PKGNAMESUFFIX= -enchant + +TEST_TARGET= test + +.include "${MASTERDIR}/Makefile" diff --git a/textproc/php74-pspell/Makefile b/textproc/php74-pspell/Makefile new file mode 100644 index 000000000000..16a73dd171c7 --- /dev/null +++ b/textproc/php74-pspell/Makefile @@ -0,0 +1,11 @@ +# $FreeBSD$ + +CATEGORIES= textproc + +MASTERDIR= ${.CURDIR}/../../lang/php74 + +PKGNAMESUFFIX= -pspell + +TEST_TARGET= test + +.include "${MASTERDIR}/Makefile" diff --git a/textproc/php74-simplexml/Makefile b/textproc/php74-simplexml/Makefile new file mode 100644 index 000000000000..fa8b65c48b55 --- /dev/null +++ b/textproc/php74-simplexml/Makefile @@ -0,0 +1,11 @@ +# $FreeBSD$ + +CATEGORIES= textproc + +MASTERDIR= ${.CURDIR}/../../lang/php74 + +PKGNAMESUFFIX= -simplexml + +TEST_TARGET= test + +.include "${MASTERDIR}/Makefile" diff --git a/textproc/php74-simplexml/files/patch-config.m4 b/textproc/php74-simplexml/files/patch-config.m4 new file mode 100644 index 000000000000..88638f7dccf4 --- /dev/null +++ b/textproc/php74-simplexml/files/patch-config.m4 @@ -0,0 +1,42 @@ +--- config.m4.orig 2019-08-06 06:54:07 UTC ++++ config.m4 +@@ -4,8 +4,39 @@ PHP_ARG_ENABLE([simplexml], + [Disable SimpleXML support])], + [yes]) + ++PHP_ARG_ENABLE([pcre-dir], ++ [pcre install prefix], ++ [AS_HELP_STRING([--with-pcre-dir], ++ [SimpleXML: pcre install dir])], ++ [no], ++ [no]) ++ + if test "$PHP_SIMPLEXML" != "no"; then + ++ dnl This is PECL build, check if bundled PCRE library is used ++ old_CPPFLAGS=$CPPFLAGS ++ CPPFLAGS=$INCLUDES ++ AC_EGREP_CPP(yes,[ ++#include <main/php_config.h> ++#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE) ++yes ++#endif ++ ],[ ++ PHP_PCRE_REGEX=yes ++ ],[ ++ AC_EGREP_CPP(yes,[ ++#include <main/php_config.h> ++#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE) ++yes ++#endif ++ ],[ ++ PHP_PCRE_REGEX=pecl ++ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include) ++ ],[ ++ PHP_PCRE_REGEX=no ++ ]) ++ ]) ++ + if test "$PHP_LIBXML" = "no"; then + AC_MSG_ERROR([SimpleXML extension requires LIBXML extension, add --with-libxml]) + fi diff --git a/textproc/php74-xml/Makefile b/textproc/php74-xml/Makefile new file mode 100644 index 000000000000..58df91a1dd95 --- /dev/null +++ b/textproc/php74-xml/Makefile @@ -0,0 +1,11 @@ +# $FreeBSD$ + +CATEGORIES= textproc + +MASTERDIR= ${.CURDIR}/../../lang/php74 + +PKGNAMESUFFIX= -xml + +TEST_TARGET= test + +.include "${MASTERDIR}/Makefile" diff --git a/textproc/php74-xml/files/patch-compat.c b/textproc/php74-xml/files/patch-compat.c new file mode 100644 index 000000000000..02125961b20c --- /dev/null +++ b/textproc/php74-xml/files/patch-compat.c @@ -0,0 +1,13 @@ +--- compat.c.orig Tue Jul 20 10:55:02 2004 ++++ compat.c Tue Jul 20 10:55:55 2004 +@@ -16,6 +16,10 @@ + +----------------------------------------------------------------------+ + */ + ++#ifdef HAVE_CONFIG_H ++#include "config.h" ++#endif ++ + #include "php.h" + #if defined(HAVE_LIBXML) && defined(HAVE_XML) && !defined(HAVE_LIBEXPAT) + #include "expat_compat.h" diff --git a/textproc/php74-xmlreader/Makefile b/textproc/php74-xmlreader/Makefile new file mode 100644 index 000000000000..4971cb837676 --- /dev/null +++ b/textproc/php74-xmlreader/Makefile @@ -0,0 +1,11 @@ +# $FreeBSD$ + +CATEGORIES= textproc + +MASTERDIR= ${.CURDIR}/../../lang/php74 + +PKGNAMESUFFIX= -xmlreader + +TEST_TARGET= test + +.include "${MASTERDIR}/Makefile" diff --git a/textproc/php74-xmlwriter/Makefile b/textproc/php74-xmlwriter/Makefile new file mode 100644 index 000000000000..2a2077e4925d --- /dev/null +++ b/textproc/php74-xmlwriter/Makefile @@ -0,0 +1,11 @@ +# $FreeBSD$ + +CATEGORIES= textproc + +MASTERDIR= ${.CURDIR}/../../lang/php74 + +PKGNAMESUFFIX= -xmlwriter + +TEST_TARGET= test + +.include "${MASTERDIR}/Makefile" diff --git a/textproc/php74-xsl/Makefile b/textproc/php74-xsl/Makefile new file mode 100644 index 000000000000..ca47135869aa --- /dev/null +++ b/textproc/php74-xsl/Makefile @@ -0,0 +1,11 @@ +# $FreeBSD$ + +CATEGORIES= textproc + +MASTERDIR= ${.CURDIR}/../../lang/php74 + +PKGNAMESUFFIX= -xsl + +TEST_TARGET= test + +.include "${MASTERDIR}/Makefile" diff --git a/textproc/php74-xsl/files/patch-php_xsl.h b/textproc/php74-xsl/files/patch-php_xsl.h new file mode 100644 index 000000000000..9777187f8748 --- /dev/null +++ b/textproc/php74-xsl/files/patch-php_xsl.h @@ -0,0 +1,11 @@ +--- php_xsl.h.orig Sun Jan 1 13:50:17 2006 ++++ php_xsl.h Tue Jan 17 16:23:10 2006 +@@ -43,7 +43,7 @@ + #include <libexslt/exsltconfig.h> + #endif + +-#include "../dom/xml_common.h" ++#include "ext/dom/xml_common.h" + #include "xsl_fe.h" + + #include <libxslt/extensions.h> |