1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

Add pecl-perl , embedded Perl.

PR:		ports/109775
Submitted by:	Luke Jee
This commit is contained in:
Vanilla I. Shu 2007-03-03 10:06:17 +00:00
parent 8573dc73cf
commit 1f3c3cabbd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=186385
5 changed files with 47 additions and 0 deletions

View File

@ -207,6 +207,7 @@
SUBDIR += p5-v6
SUBDIR += parrot
SUBDIR += pbasic
SUBDIR += pecl-perl
SUBDIR += perl5
SUBDIR += perl5.8
SUBDIR += pexts

27
lang/pecl-perl/Makefile Normal file
View File

@ -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>

3
lang/pecl-perl/distinfo Normal file
View File

@ -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

View File

@ -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;
}

5
lang/pecl-perl/pkg-descr Normal file
View File

@ -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