aboutsummaryrefslogtreecommitdiff
path: root/lang/pecl-perl
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2007-03-03 10:06:17 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2007-03-03 10:06:17 +0000
commit1f3c3cabbd4f8ff5343f74357098d77a6b6d8279 (patch)
tree97619e615e28489065aa5814b1f0c79c85575517 /lang/pecl-perl
parent8573dc73cf5c35eb0d336fd1512fe85f1101b657 (diff)
downloadports-1f3c3cabbd4f8ff5343f74357098d77a6b6d8279.tar.gz
ports-1f3c3cabbd4f8ff5343f74357098d77a6b6d8279.zip
Notes
Diffstat (limited to 'lang/pecl-perl')
-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
4 files changed, 46 insertions, 0 deletions
diff --git a/lang/pecl-perl/Makefile b/lang/pecl-perl/Makefile
new file mode 100644
index 000000000000..945f62522558
--- /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 000000000000..f83cf54000ad
--- /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 000000000000..fc1799dc55b1
--- /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 000000000000..f08caabddd09
--- /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