aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2001-05-12 00:11:51 +0800
committervanilla <vanilla@FreeBSD.org>2001-05-12 00:11:51 +0800
commitb644cb5449e76d2b6f58886baf6170ed2ffe76e9 (patch)
tree7b0565c18b762f7657dd7ab392c1be16903c3c55 /textproc
parent2d1dcf1d7ed6e93a70446d1fa356210705275b82 (diff)
downloadfreebsd-ports-gnome-b644cb5449e76d2b6f58886baf6170ed2ffe76e9.tar.gz
freebsd-ports-gnome-b644cb5449e76d2b6f58886baf6170ed2ffe76e9.tar.zst
freebsd-ports-gnome-b644cb5449e76d2b6f58886baf6170ed2ffe76e9.zip
Various niceties for p5-Text-FixedLength lovers
PR: ports/23961 Submitted by: Anton Berezin <tobez@tobez.org>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-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
7 files changed, 56 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 2b1cb7e74ad4..ac4324935b5a 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -100,6 +100,7 @@
SUBDIR += p5-Text-Filter
SUBDIR += p5-Text-Filter-Chain
SUBDIR += p5-Text-FixedLength
+ SUBDIR += p5-Text-FixedLength-Extra
SUBDIR += p5-Text-Flowchart
SUBDIR += p5-Text-Format
SUBDIR += p5-Text-Graphics
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