aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2005-10-27 22:21:15 +0800
committertobez <tobez@FreeBSD.org>2005-10-27 22:21:15 +0800
commitb7b40bd4455c2254e7245d8ae98951d6b6f70825 (patch)
tree5ab3268e90c2b0820553705c3699cda982e6958c /textproc
parente36bebdc73fceb21106992e284947ee4a078625b (diff)
downloadfreebsd-ports-gnome-b7b40bd4455c2254e7245d8ae98951d6b6f70825.tar.gz
freebsd-ports-gnome-b7b40bd4455c2254e7245d8ae98951d6b6f70825.tar.zst
freebsd-ports-gnome-b7b40bd4455c2254e7245d8ae98951d6b6f70825.zip
Add textproc/p5-Parse-FixedLength 5.35, a Perl module to parse a string
containing fixed length fields into component parts.
Diffstat (limited to 'textproc')
-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