aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Text-FixedLength-Extra
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2001-05-11 16:11:51 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2001-05-11 16:11:51 +0000
commit1dbeb6248ddec23ecd850437a425a99a66a3de78 (patch)
treedcfb36d59187a82808b13c17b48c22976e861a88 /textproc/p5-Text-FixedLength-Extra
parent959f7cff9ab29bbe3e3798a4753180f22bf6519c (diff)
downloadports-1dbeb6248ddec23ecd850437a425a99a66a3de78.tar.gz
ports-1dbeb6248ddec23ecd850437a425a99a66a3de78.zip
Various niceties for p5-Text-FixedLength lovers
PR: ports/23961 Submitted by: Anton Berezin <tobez@tobez.org>
Notes
Notes: svn path=/head/; revision=42524
Diffstat (limited to 'textproc/p5-Text-FixedLength-Extra')
-rw-r--r--textproc/p5-Text-FixedLength-Extra/Makefile32
-rw-r--r--textproc/p5-Text-FixedLength-Extra/distinfo1
-rw-r--r--textproc/p5-Text-FixedLength-Extra/files/patch-Extra.pm12
-rw-r--r--textproc/p5-Text-FixedLength-Extra/pkg-comment1
-rw-r--r--textproc/p5-Text-FixedLength-Extra/pkg-descr5
-rw-r--r--textproc/p5-Text-FixedLength-Extra/pkg-plist4
6 files changed, 55 insertions, 0 deletions
diff --git a/textproc/p5-Text-FixedLength-Extra/Makefile b/textproc/p5-Text-FixedLength-Extra/Makefile
new file mode 100644
index 000000000000..ba0112938ce3
--- /dev/null
+++ b/textproc/p5-Text-FixedLength-Extra/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: textproc/p5-Text-FixedLength-Extra
+# Date created: 30 December 2000
+# Whom: Anton Berezin <tobez@tobez.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Text-FixedLength-Extra
+PORTVERSION= 1.0
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Text
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@tobez.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Text/FixedLength.pm:${PORTSDIR}/textproc/p5-Text-FixedLength
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500007
+BROKEN="Requires perl that has 'our' keyword"
+.endif
+
+USE_PERL5= yes
+PERL_CONFIGURE= yes
+
+MAN3= Text::FixedLength::Extra.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Text-FixedLength-Extra/distinfo b/textproc/p5-Text-FixedLength-Extra/distinfo
new file mode 100644
index 000000000000..5b864fbea8e7
--- /dev/null
+++ b/textproc/p5-Text-FixedLength-Extra/distinfo
@@ -0,0 +1 @@
+MD5 (Text-FixedLength-Extra-1.0.tar.gz) = 0c78e050db6196bbefffbd09f71ecfac
diff --git a/textproc/p5-Text-FixedLength-Extra/files/patch-Extra.pm b/textproc/p5-Text-FixedLength-Extra/files/patch-Extra.pm
new file mode 100644
index 000000000000..c78ba1783883
--- /dev/null
+++ b/textproc/p5-Text-FixedLength-Extra/files/patch-Extra.pm
@@ -0,0 +1,12 @@
+--- Extra.pm.orig Sat Dec 30 18:10:06 2000
++++ Extra.pm Sat Dec 30 18:26:45 2000
+@@ -31,6 +31,9 @@
+
+ our $debug = 1;
+
++# kill the previous Text::FixedLength::getFixed to avoid
++# the warning of redefinition
++BEGIN { delete $Text::FixedLength::{getFixed}; }
+
+ # Preloaded methods go here.
+ # ----------------------------------------------------------------------------
diff --git a/textproc/p5-Text-FixedLength-Extra/pkg-comment b/textproc/p5-Text-FixedLength-Extra/pkg-comment
new file mode 100644
index 000000000000..770d5787ba97
--- /dev/null
+++ b/textproc/p5-Text-FixedLength-Extra/pkg-comment
@@ -0,0 +1 @@
+Various niceties for p5-Text-FixedLength lovers
diff --git a/textproc/p5-Text-FixedLength-Extra/pkg-descr b/textproc/p5-Text-FixedLength-Extra/pkg-descr
new file mode 100644
index 000000000000..c51ad4dbfd7d
--- /dev/null
+++ b/textproc/p5-Text-FixedLength-Extra/pkg-descr
@@ -0,0 +1,5 @@
+Right now, Text::FixedLength::Extra does two things for those who like
+using Text::FixedLength - simpler API and extended number processing.
+
+-Anton
+<tobez@tobez.org>
diff --git a/textproc/p5-Text-FixedLength-Extra/pkg-plist b/textproc/p5-Text-FixedLength-Extra/pkg-plist
new file mode 100644
index 000000000000..0b9386335efa
--- /dev/null
+++ b/textproc/p5-Text-FixedLength-Extra/pkg-plist
@@ -0,0 +1,4 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/FixedLength/Extra/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Text/FixedLength/Extra.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/FixedLength/Extra
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Text/FixedLength 2>/dev/null || true