[Midnightbsd-cvs] mports [20615] trunk/converters: php 5.5 and 5.6 converters

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Oct 31 23:30:36 EDT 2015


Revision: 20615
          http://svnweb.midnightbsd.org/mports/?rev=20615
Author:   laffer1
Date:     2015-10-31 23:30:35 -0400 (Sat, 31 Oct 2015)
Log Message:
-----------
php 5.5 and 5.6 converters

Modified Paths:
--------------
    trunk/converters/Makefile

Added Paths:
-----------
    trunk/converters/php5-bsdconv/
    trunk/converters/php5-bsdconv/Makefile
    trunk/converters/php5-bsdconv/distinfo
    trunk/converters/php5-bsdconv/pkg-descr
    trunk/converters/php55-iconv/
    trunk/converters/php55-iconv/Makefile
    trunk/converters/php55-mbstring/
    trunk/converters/php55-mbstring/Makefile
    trunk/converters/php55-mbstring/files/
    trunk/converters/php55-mbstring/files/patch-config.m4
    trunk/converters/php55-recode/
    trunk/converters/php55-recode/Makefile
    trunk/converters/php56-iconv/
    trunk/converters/php56-iconv/Makefile
    trunk/converters/php56-mbstring/
    trunk/converters/php56-mbstring/Makefile
    trunk/converters/php56-mbstring/files/
    trunk/converters/php56-mbstring/files/patch-config.m4
    trunk/converters/php56-recode/
    trunk/converters/php56-recode/Makefile

Modified: trunk/converters/Makefile
===================================================================
--- trunk/converters/Makefile	2015-11-01 03:02:50 UTC (rev 20614)
+++ trunk/converters/Makefile	2015-11-01 03:30:35 UTC (rev 20615)
@@ -26,9 +26,16 @@
 SUBDIR += p5-Unicode-MapUTF8
 SUBDIR += p5-Unicode-String
 SUBDIR += pecl-fribidi
+SUBDIR += php5-bsdconv
 SUBDIR += php5-iconv
 SUBDIR += php5-mbstring
 SUBDIR += php5-recode
+SUBDIR += php55-iconv
+SUBDIR += php55-mbstring
+SUBDIR += php55-recode
+SUBDIR += php56-iconv
+SUBDIR += php56-mbstring
+SUBDIR += php56-recode
 SUBDIR += psiconv
 SUBDIR += recode
 SUBDIR += ruby-dump.rb

Added: trunk/converters/php5-bsdconv/Makefile
===================================================================
--- trunk/converters/php5-bsdconv/Makefile	                        (rev 0)
+++ trunk/converters/php5-bsdconv/Makefile	2015-11-01 03:30:35 UTC (rev 20615)
@@ -0,0 +1,27 @@
+# Created by: buganini at gmail.com
+# $FreeBSD: head/converters/php5-bsdconv/Makefile 390748 2015-06-28 08:38:15Z sunpoet $
+
+PORTNAME=	bsdconv
+PORTVERSION=	11.3.0
+CATEGORIES=	converters
+PKGNAMEPREFIX=	php5-
+
+MAINTAINER=	buganini at gmail.com
+COMMENT=	PHP wrapper for bsdconv
+
+LICENSE=	ISCL
+
+LIB_DEPENDS=	libbsdconv.so:${PORTSDIR}/converters/bsdconv
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	buganini
+GH_PROJECT=	php-${PORTNAME}
+
+USE_PHP=	yes
+USE_PHPEXT=	yes
+USE_PHPIZE=	yes
+USE_PHP_BUILD=	yes
+PHP_MODNAME=	${PORTNAME}
+CONFIGURE_ARGS=	--with-bsdconv=${LOCALBASE}
+
+.include <bsd.port.mk>


Property changes on: trunk/converters/php5-bsdconv/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/converters/php5-bsdconv/distinfo
===================================================================
--- trunk/converters/php5-bsdconv/distinfo	                        (rev 0)
+++ trunk/converters/php5-bsdconv/distinfo	2015-11-01 03:30:35 UTC (rev 20615)
@@ -0,0 +1,2 @@
+SHA256 (buganini-php-bsdconv-11.3.0_GH0.tar.gz) = de803e48cb40b130cf46003052104a5b8c7ab8d783034a06ea097c6617bbb20d
+SIZE (buganini-php-bsdconv-11.3.0_GH0.tar.gz) = 8356


Property changes on: trunk/converters/php5-bsdconv/distinfo
___________________________________________________________________
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/converters/php5-bsdconv/pkg-descr
===================================================================
--- trunk/converters/php5-bsdconv/pkg-descr	                        (rev 0)
+++ trunk/converters/php5-bsdconv/pkg-descr	2015-11-01 03:30:35 UTC (rev 20615)
@@ -0,0 +1,5 @@
+BSD licensed charset/encoding converter library with more function than
+libiconv. (Currently, only a few codecs are supported)
+This port is a php wrapper for bsdconv.
+
+WWW: https://github.com/buganini/php-bsdconv


Property changes on: trunk/converters/php5-bsdconv/pkg-descr
___________________________________________________________________
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/converters/php55-iconv/Makefile
===================================================================
--- trunk/converters/php55-iconv/Makefile	                        (rev 0)
+++ trunk/converters/php55-iconv/Makefile	2015-11-01 03:30:35 UTC (rev 20615)
@@ -0,0 +1,9 @@
+# $MidnightBSD$
+
+CATEGORIES=	converters
+
+MASTERDIR=	${.CURDIR}/../../lang/php55
+
+PKGNAMESUFFIX=	-iconv
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/converters/php55-iconv/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/converters/php55-mbstring/Makefile
===================================================================
--- trunk/converters/php55-mbstring/Makefile	                        (rev 0)
+++ trunk/converters/php55-mbstring/Makefile	2015-11-01 03:30:35 UTC (rev 20615)
@@ -0,0 +1,9 @@
+# $MidnightBSD$
+
+CATEGORIES=	converters
+
+MASTERDIR=	${.CURDIR}/../../lang/php55
+
+PKGNAMESUFFIX=	-mbstring
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/converters/php55-mbstring/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/converters/php55-mbstring/files/patch-config.m4
===================================================================
--- trunk/converters/php55-mbstring/files/patch-config.m4	                        (rev 0)
+++ trunk/converters/php55-mbstring/files/patch-config.m4	2015-11-01 03:30:35 UTC (rev 20615)
@@ -0,0 +1,51 @@
+--- config.m4.orig	2009-11-25 02:30:06.000000000 +0100
++++ config.m4	2010-04-12 09:59:54.000000000 +0200
+@@ -43,6 +43,30 @@
+     PHP_ADD_INCLUDE([$ext_builddir/$dir])
+   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
++    ])
++  ])
++
+   if test "$ext_shared" = "no"; then
+     PHP_ADD_SOURCES(PHP_EXT_DIR(mbstring), $PHP_MBSTRING_BASE_SOURCES)
+     out="php_config.h"
+@@ -80,7 +104,6 @@
+ int foo(int x, ...) {
+ 	va_list va;
+ 	va_start(va, x);
+-	va_arg(va, int);
+ 	va_arg(va, char *);
+ 	va_arg(va, double);
+ 	return 0;
+@@ -347,6 +370,9 @@
+ [  --with-onig[=DIR]         MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
+                             If DIR is not set, the bundled oniguruma will be used], no, no)
+ 
++PHP_ARG_WITH(pcre-dir, pcre install prefix,
++[  --with-pcre-dir           MBSTRING: pcre install prefix], no, no)
++
+ if test "$PHP_MBSTRING" != "no"; then  
+   AC_DEFINE([HAVE_MBSTRING],1,[whether to have multibyte string support])
+ 


Property changes on: trunk/converters/php55-mbstring/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/converters/php55-recode/Makefile
===================================================================
--- trunk/converters/php55-recode/Makefile	                        (rev 0)
+++ trunk/converters/php55-recode/Makefile	2015-11-01 03:30:35 UTC (rev 20615)
@@ -0,0 +1,9 @@
+# $MidnightBSD$
+
+CATEGORIES=	converters
+
+MASTERDIR=	${.CURDIR}/../../lang/php55
+
+PKGNAMESUFFIX=	-recode
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/converters/php55-recode/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/converters/php56-iconv/Makefile
===================================================================
--- trunk/converters/php56-iconv/Makefile	                        (rev 0)
+++ trunk/converters/php56-iconv/Makefile	2015-11-01 03:30:35 UTC (rev 20615)
@@ -0,0 +1,9 @@
+# $MidnightBSD$
+
+CATEGORIES=	converters
+
+MASTERDIR=	${.CURDIR}/../../lang/php56
+
+PKGNAMESUFFIX=	-iconv
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/converters/php56-iconv/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/converters/php56-mbstring/Makefile
===================================================================
--- trunk/converters/php56-mbstring/Makefile	                        (rev 0)
+++ trunk/converters/php56-mbstring/Makefile	2015-11-01 03:30:35 UTC (rev 20615)
@@ -0,0 +1,9 @@
+# $MidnightBSD$
+
+CATEGORIES=	converters
+
+MASTERDIR=	${.CURDIR}/../../lang/php56
+
+PKGNAMESUFFIX=	-mbstring
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/converters/php56-mbstring/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/converters/php56-mbstring/files/patch-config.m4
===================================================================
--- trunk/converters/php56-mbstring/files/patch-config.m4	                        (rev 0)
+++ trunk/converters/php56-mbstring/files/patch-config.m4	2015-11-01 03:30:35 UTC (rev 20615)
@@ -0,0 +1,51 @@
+--- config.m4.orig	2009-11-25 02:30:06.000000000 +0100
++++ config.m4	2010-04-12 09:59:54.000000000 +0200
+@@ -43,6 +43,30 @@
+     PHP_ADD_INCLUDE([$ext_builddir/$dir])
+   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
++    ])
++  ])
++
+   if test "$ext_shared" = "no"; then
+     PHP_ADD_SOURCES(PHP_EXT_DIR(mbstring), $PHP_MBSTRING_BASE_SOURCES)
+     out="php_config.h"
+@@ -80,7 +104,6 @@
+ int foo(int x, ...) {
+ 	va_list va;
+ 	va_start(va, x);
+-	va_arg(va, int);
+ 	va_arg(va, char *);
+ 	va_arg(va, double);
+ 	return 0;
+@@ -347,6 +370,9 @@
+ [  --with-onig[=DIR]         MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
+                             If DIR is not set, the bundled oniguruma will be used], no, no)
+ 
++PHP_ARG_WITH(pcre-dir, pcre install prefix,
++[  --with-pcre-dir           MBSTRING: pcre install prefix], no, no)
++
+ if test "$PHP_MBSTRING" != "no"; then  
+   AC_DEFINE([HAVE_MBSTRING],1,[whether to have multibyte string support])
+ 


Property changes on: trunk/converters/php56-mbstring/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/converters/php56-recode/Makefile
===================================================================
--- trunk/converters/php56-recode/Makefile	                        (rev 0)
+++ trunk/converters/php56-recode/Makefile	2015-11-01 03:30:35 UTC (rev 20615)
@@ -0,0 +1,9 @@
+# $MidnightBSD$
+
+CATEGORIES=	converters
+
+MASTERDIR=	${.CURDIR}/../../lang/php56
+
+PKGNAMESUFFIX=	-recode
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/converters/php56-recode/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


More information about the Midnightbsd-cvs mailing list