aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-PHP-Serialization
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-02-24 18:25:13 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-02-24 18:25:13 +0000
commitba3a0299d07246eab3f611bf9974958901d3b426 (patch)
tree881b42b1ca3fef6510373a9f0015b8c03010fd97 /devel/p5-PHP-Serialization
parent70709097d6ab3e0e12efe48eddb0bf60a208db43 (diff)
Add p5-PHP-Serialization 0.27, converting the output of PHP serialize()
into the Perl. PR: ports/109452 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Notes
Notes: svn path=/head/; revision=185814
Diffstat (limited to 'devel/p5-PHP-Serialization')
-rw-r--r--devel/p5-PHP-Serialization/Makefile28
-rw-r--r--devel/p5-PHP-Serialization/distinfo3
-rw-r--r--devel/p5-PHP-Serialization/pkg-descr9
-rw-r--r--devel/p5-PHP-Serialization/pkg-plist6
4 files changed, 46 insertions, 0 deletions
diff --git a/devel/p5-PHP-Serialization/Makefile b/devel/p5-PHP-Serialization/Makefile
new file mode 100644
index 000000000000..e6c3a5c8bf1c
--- /dev/null
+++ b/devel/p5-PHP-Serialization/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-PHP-Serialization
+# Date created: 2007-02-23
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= PHP-Serialization
+PORTVERSION= 0.27
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= PHP
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Converting the output of PHP serialize() into the Perl
+
+PERL_CONFIGURE= yes
+
+MAN3= PHP::Serialization.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= requires Perl 5.8 or later. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-PHP-Serialization/distinfo b/devel/p5-PHP-Serialization/distinfo
new file mode 100644
index 000000000000..88b40bad24ef
--- /dev/null
+++ b/devel/p5-PHP-Serialization/distinfo
@@ -0,0 +1,3 @@
+MD5 (PHP-Serialization-0.27.tar.gz) = 2fb3f63071c5c2119b4eebe39b329684
+SHA256 (PHP-Serialization-0.27.tar.gz) = 3c740ba78649dc47929b41156e2cfc839d9136eca102db1422cf9f74252b0211
+SIZE (PHP-Serialization-0.27.tar.gz) = 4169
diff --git a/devel/p5-PHP-Serialization/pkg-descr b/devel/p5-PHP-Serialization/pkg-descr
new file mode 100644
index 000000000000..620ce3e46c39
--- /dev/null
+++ b/devel/p5-PHP-Serialization/pkg-descr
@@ -0,0 +1,9 @@
+Provides a simple, quick means of serializing perl memory structures
+(including object data!) into a format that PHP can deserialize() and
+access, and vice versa.
+
+NOTE: Converts PHP arrays into Perl Arrays when the PHP array used
+exclusively numeric indexes, and into Perl Hashes then the PHP array
+did not.
+
+WWW: http://search.cpan.org/dist/PHP-Serialization/
diff --git a/devel/p5-PHP-Serialization/pkg-plist b/devel/p5-PHP-Serialization/pkg-plist
new file mode 100644
index 000000000000..395271c476c6
--- /dev/null
+++ b/devel/p5-PHP-Serialization/pkg-plist
@@ -0,0 +1,6 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/PHP/Serialization/.packlist
+%%SITE_PERL%%/PHP/Serialization.pm
+@dirrmtry %%SITE_PERL%%/PHP
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/PHP/Serialization
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/PHP