[Midnightbsd-cvs] mports [21192] trunk/mail: add php ports
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Tue Mar 15 16:55:44 EDT 2016
Revision: 21192
http://svnweb.midnightbsd.org/mports/?rev=21192
Author: laffer1
Date: 2016-03-15 16:55:43 -0400 (Tue, 15 Mar 2016)
Log Message:
-----------
add php ports
Modified Paths:
--------------
trunk/mail/Makefile
Added Paths:
-----------
trunk/mail/php55-imap/
trunk/mail/php55-imap/Makefile
trunk/mail/php55-imap/files/
trunk/mail/php55-imap/files/patch-config.m4
trunk/mail/php56-imap/
trunk/mail/php56-imap/Makefile
trunk/mail/php56-imap/files/
trunk/mail/php56-imap/files/patch-config.m4
trunk/mail/php70-imap/
trunk/mail/php70-imap/Makefile
trunk/mail/php70-imap/files/
trunk/mail/php70-imap/files/patch-config.m4
Removed Paths:
-------------
trunk/mail/php5-imap/
Modified: trunk/mail/Makefile
===================================================================
--- trunk/mail/Makefile 2016-03-15 20:54:01 UTC (rev 21191)
+++ trunk/mail/Makefile 2016-03-15 20:55:43 UTC (rev 21192)
@@ -55,7 +55,9 @@
SUBDIR += p5-Mail-Tools
SUBDIR += p5-Net-SMTP-SSL
SUBDIR += pantomime
-SUBDIR += php5-imap
+SUBDIR += php55-imap
+SUBDIR += php56-imap
+SUBDIR += php70-imap
SUBDIR += pine-pgp-filters
SUBDIR += popd
SUBDIR += postfix
Added: trunk/mail/php55-imap/Makefile
===================================================================
--- trunk/mail/php55-imap/Makefile (rev 0)
+++ trunk/mail/php55-imap/Makefile 2016-03-15 20:55:43 UTC (rev 21192)
@@ -0,0 +1,10 @@
+# Created by: Alex Dupre <ale at FreeBSD.org>
+# $FreeBSD: head/mail/php55-imap/Makefile 340722 2014-01-22 17:00:46Z mat $
+
+CATEGORIES= mail
+
+MASTERDIR= ${.CURDIR}/../../lang/php55
+
+PKGNAMESUFFIX= -imap
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/mail/php55-imap/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/mail/php55-imap/files/patch-config.m4
===================================================================
--- trunk/mail/php55-imap/files/patch-config.m4 (rev 0)
+++ trunk/mail/php55-imap/files/patch-config.m4 2016-03-15 20:55:43 UTC (rev 21192)
@@ -0,0 +1,42 @@
+--- config.m4.orig 2010-02-07 14:06:54.000000000 +0100
++++ config.m4 2010-03-08 11:56:24.000000000 +0100
+@@ -103,6 +103,8 @@
+ PHP_ARG_WITH(imap-ssl,for IMAP SSL support,
+ [ --with-imap-ssl[=DIR] IMAP: Include SSL support. DIR is the OpenSSL install prefix], no, no)
+
++PHP_ARG_WITH(pcre-dir, pcre install prefix,
++[ --with-pcre-dir IMAP: pcre install prefix], no, no)
+
+ if test "$PHP_IMAP" != "no"; then
+ PHP_SUBST(IMAP_SHARED_LIBADD)
+@@ -119,6 +121,30 @@
+ fi
+ done
+
++ 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
++ ])
++ ])
++
+ dnl Check for c-client version 2004
+ AC_EGREP_HEADER(mail_fetch_overview_sequence, $IMAP_INC_DIR/mail.h, [
+ AC_DEFINE(HAVE_IMAP2004,1,[ ])
Property changes on: trunk/mail/php55-imap/files/patch-config.m4
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/mail/php56-imap/Makefile
===================================================================
--- trunk/mail/php56-imap/Makefile (rev 0)
+++ trunk/mail/php56-imap/Makefile 2016-03-15 20:55:43 UTC (rev 21192)
@@ -0,0 +1,10 @@
+# Created by: Alex Dupre <ale at FreeBSD.org>
+# $FreeBSD: head/mail/php56-imap/Makefile 367268 2014-09-04 14:24:25Z ale $
+
+CATEGORIES= mail
+
+MASTERDIR= ${.CURDIR}/../../lang/php56
+
+PKGNAMESUFFIX= -imap
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/mail/php56-imap/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/mail/php56-imap/files/patch-config.m4
===================================================================
--- trunk/mail/php56-imap/files/patch-config.m4 (rev 0)
+++ trunk/mail/php56-imap/files/patch-config.m4 2016-03-15 20:55:43 UTC (rev 21192)
@@ -0,0 +1,42 @@
+--- config.m4.orig 2010-02-07 14:06:54.000000000 +0100
++++ config.m4 2010-03-08 11:56:24.000000000 +0100
+@@ -103,6 +103,8 @@
+ PHP_ARG_WITH(imap-ssl,for IMAP SSL support,
+ [ --with-imap-ssl[=DIR] IMAP: Include SSL support. DIR is the OpenSSL install prefix], no, no)
+
++PHP_ARG_WITH(pcre-dir, pcre install prefix,
++[ --with-pcre-dir IMAP: pcre install prefix], no, no)
+
+ if test "$PHP_IMAP" != "no"; then
+ PHP_SUBST(IMAP_SHARED_LIBADD)
+@@ -119,6 +121,30 @@
+ fi
+ done
+
++ 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
++ ])
++ ])
++
+ dnl Check for c-client version 2004
+ AC_EGREP_HEADER(mail_fetch_overview_sequence, $IMAP_INC_DIR/mail.h, [
+ AC_DEFINE(HAVE_IMAP2004,1,[ ])
Property changes on: trunk/mail/php56-imap/files/patch-config.m4
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/mail/php70-imap/Makefile
===================================================================
--- trunk/mail/php70-imap/Makefile (rev 0)
+++ trunk/mail/php70-imap/Makefile 2016-03-15 20:55:43 UTC (rev 21192)
@@ -0,0 +1,10 @@
+# Created by: Alex Dupre <ale at FreeBSD.org>
+# $FreeBSD: head/mail/php70-imap/Makefile 408932 2016-02-15 14:34:26Z miwi $
+
+CATEGORIES= mail
+
+MASTERDIR= ${.CURDIR}/../../lang/php70
+
+PKGNAMESUFFIX= -imap
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/mail/php70-imap/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/mail/php70-imap/files/patch-config.m4
===================================================================
--- trunk/mail/php70-imap/files/patch-config.m4 (rev 0)
+++ trunk/mail/php70-imap/files/patch-config.m4 2016-03-15 20:55:43 UTC (rev 21192)
@@ -0,0 +1,42 @@
+--- config.m4.orig 2010-02-07 14:06:54.000000000 +0100
++++ config.m4 2010-03-08 11:56:24.000000000 +0100
+@@ -103,6 +103,8 @@
+ PHP_ARG_WITH(imap-ssl,for IMAP SSL support,
+ [ --with-imap-ssl[=DIR] IMAP: Include SSL support. DIR is the OpenSSL install prefix], no, no)
+
++PHP_ARG_WITH(pcre-dir, pcre install prefix,
++[ --with-pcre-dir IMAP: pcre install prefix], no, no)
+
+ if test "$PHP_IMAP" != "no"; then
+ PHP_SUBST(IMAP_SHARED_LIBADD)
+@@ -119,6 +121,30 @@
+ fi
+ done
+
++ 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
++ ])
++ ])
++
+ dnl Check for c-client version 2004
+ AC_EGREP_HEADER(mail_fetch_overview_sequence, $IMAP_INC_DIR/mail.h, [
+ AC_DEFINE(HAVE_IMAP2004,1,[ ])
Property changes on: trunk/mail/php70-imap/files/patch-config.m4
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list