aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2007-03-03 18:06:17 +0800
committervanilla <vanilla@FreeBSD.org>2007-03-03 18:06:17 +0800
commit407abca903f4e966f899c24861260ce9071066dd (patch)
tree09e551260d57afa695d1a79974ec9c8f19a04b2b /lang
parent807f47fc767a6225688913d76511871d0ccc8a2f (diff)
downloadfreebsd-ports-graphics-407abca903f4e966f899c24861260ce9071066dd.tar.gz
freebsd-ports-graphics-407abca903f4e966f899c24861260ce9071066dd.tar.zst
freebsd-ports-graphics-407abca903f4e966f899c24861260ce9071066dd.zip
Add pecl-perl , embedded Perl.
PR: ports/109775 Submitted by: Luke Jee
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/pecl-perl/Makefile27
-rw-r--r--lang/pecl-perl/distinfo3
-rw-r--r--lang/pecl-perl/files/patch-php_perl.c11
-rw-r--r--lang/pecl-perl/pkg-descr5
5 files changed, 47 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 7bee70fca5c..3af28084dcd 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -207,6 +207,7 @@
SUBDIR += p5-v6
SUBDIR += parrot
SUBDIR += pbasic
+ SUBDIR += pecl-perl
SUBDIR += perl5
SUBDIR += perl5.8
SUBDIR += pexts
diff --git a/lang/pecl-perl/Makefile b/lang/pecl-perl/Makefile
new file mode 100644
index 00000000000..945f6252255
--- /dev/null
+++ b/lang/pecl-perl/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: pecl-perl
+# Date created: 2007-3-3
+# Whom: Luke Jee
+#
+# $FreeBSD$
+#
+
+PORTNAME= perl
+DISTVERSION= 1.0.0
+CATEGORIES= lang perl5
+MASTER_SITES= http://pecl.php.net/get/
+PKGNAMEPREFIX= pecl-
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= PECL
+
+MAINTAINER= lukejee@lukejee.net
+COMMENT= Embedded Perl
+
+USE_PHP= yes
+USE_PHPIZE= yes
+USE_PHPEXT= yes
+USE_PHP_BUILD= yes
+DEFAULT_PHP_VER=5
+
+USE_PERL5= yes
+
+.include <bsd.port.mk>
diff --git a/lang/pecl-perl/distinfo b/lang/pecl-perl/distinfo
new file mode 100644
index 00000000000..f83cf54000a
--- /dev/null
+++ b/lang/pecl-perl/distinfo
@@ -0,0 +1,3 @@
+MD5 (PECL/perl-1.0.0.tgz) = 97ac7b3a00f3d7c5bcd033689c30025b
+SHA256 (PECL/perl-1.0.0.tgz) = 029f5ba8894ca824762df59473d8ccc5b1652551630e5d2a71d9b2aad30bee31
+SIZE (PECL/perl-1.0.0.tgz) = 24358
diff --git a/lang/pecl-perl/files/patch-php_perl.c b/lang/pecl-perl/files/patch-php_perl.c
new file mode 100644
index 00000000000..fc1799dc55b
--- /dev/null
+++ b/lang/pecl-perl/files/patch-php_perl.c
@@ -0,0 +1,11 @@
+--- php_perl.c.orig Sat Mar 3 18:01:30 2007
++++ php_perl.c Sat Mar 3 18:01:38 2007
+@@ -1779,7 +1779,7 @@
+ perl_class_entry->get_iterator = php_perl_get_iterator;
+
+ INIT_CLASS_ENTRY(perl_ce, "PerlException", NULL);
+- perl_exception_class_entry = zend_register_internal_class_ex(&perl_ce, zend_exception_get_default(), NULL TSRMLS_CC);
++ perl_exception_class_entry = zend_register_internal_class_ex(&perl_ce, zend_exception_get_default(TSRMLS_C), NULL TSRMLS_CC);
+
+ return SUCCESS;
+ }
diff --git a/lang/pecl-perl/pkg-descr b/lang/pecl-perl/pkg-descr
new file mode 100644
index 00000000000..f08caabddd0
--- /dev/null
+++ b/lang/pecl-perl/pkg-descr
@@ -0,0 +1,5 @@
+This extension embeds Perl Interpreter into PHP.
+It allows execute Perl files, evaluate Perl code,
+access Perl variables and instantiate Perl objects.
+
+WWW: http://pecl.php.net/package/perl