aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2005-10-27 14:21:15 +0000
committerAnton Berezin <tobez@FreeBSD.org>2005-10-27 14:21:15 +0000
commitfd04a76751578f8c361abc1bfb8ea5ddd4ed171a (patch)
treece2e2311bf060ddc3ee27fcfdc2b719810312ee8
parent2c42ab7d995159f8cfdfc70acf42f96a86f17e1f (diff)
downloadports-fd04a76751578f8c361abc1bfb8ea5ddd4ed171a.tar.gz
ports-fd04a76751578f8c361abc1bfb8ea5ddd4ed171a.zip
Add textproc/p5-Parse-FixedLength 5.35, a Perl module to parse a string
containing fixed length fields into component parts.
Notes
Notes: svn path=/head/; revision=146485
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Parse-FixedLength/Makefile28
-rw-r--r--textproc/p5-Parse-FixedLength/distinfo2
-rw-r--r--textproc/p5-Parse-FixedLength/pkg-descr8
-rw-r--r--textproc/p5-Parse-FixedLength/pkg-plist5
5 files changed, 44 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 9ec85b475265..76214789f458 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -338,6 +338,7 @@
SUBDIR += p5-POE-Filter-XML
SUBDIR += p5-PPI
SUBDIR += p5-PPI-HTML
+ SUBDIR += p5-Parse-FixedLength
SUBDIR += p5-Parse-Syslog
SUBDIR += p5-Perl-MinimumVersion
SUBDIR += p5-PerlPoint-Converters
diff --git a/textproc/p5-Parse-FixedLength/Makefile b/textproc/p5-Parse-FixedLength/Makefile
new file mode 100644
index 000000000000..68adb5e3a915
--- /dev/null
+++ b/textproc/p5-Parse-FixedLength/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: textproc/p5-Parse-FixedLength
+# Date created: 27 October 2005
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Parse-FixedLength
+PORTVERSION= 5.35
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Parse
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= Parse a string containing fixed length fields into component parts
+
+PERL_CONFIGURE= yes
+
+MAN3= Parse::FixedLength.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Parse-FixedLength/distinfo b/textproc/p5-Parse-FixedLength/distinfo
new file mode 100644
index 000000000000..e2b5522259f0
--- /dev/null
+++ b/textproc/p5-Parse-FixedLength/distinfo
@@ -0,0 +1,2 @@
+MD5 (Parse-FixedLength-5.35.tar.gz) = 03da7708740842a7afd17103d44238f6
+SIZE (Parse-FixedLength-5.35.tar.gz) = 15526
diff --git a/textproc/p5-Parse-FixedLength/pkg-descr b/textproc/p5-Parse-FixedLength/pkg-descr
new file mode 100644
index 000000000000..88c8196214db
--- /dev/null
+++ b/textproc/p5-Parse-FixedLength/pkg-descr
@@ -0,0 +1,8 @@
+The Parse::FixedLength module facilitates the process of breaking a
+string into its fixed-length components. Sure, it's a glorified (and in
+some ways more limited) substitute for the perl functions pack and
+unpack, but it's the author's belief that this module helps in the
+maintainability of working with fixed length formats as the number of
+fields in a format grows.
+
+WWW: http://search.cpan.org/dist/Parse-FixedLength/
diff --git a/textproc/p5-Parse-FixedLength/pkg-plist b/textproc/p5-Parse-FixedLength/pkg-plist
new file mode 100644
index 000000000000..4ba2d4e7e054
--- /dev/null
+++ b/textproc/p5-Parse-FixedLength/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Parse/FixedLength.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Parse/FixedLength/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Parse/FixedLength 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Parse 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Parse 2>/dev/null || true