From 1dbeb6248ddec23ecd850437a425a99a66a3de78 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Fri, 11 May 2001 16:11:51 +0000 Subject: Various niceties for p5-Text-FixedLength lovers PR: ports/23961 Submitted by: Anton Berezin --- textproc/Makefile | 1 + textproc/p5-Text-FixedLength-Extra/Makefile | 32 ++++++++++++++++++++++ textproc/p5-Text-FixedLength-Extra/distinfo | 1 + .../p5-Text-FixedLength-Extra/files/patch-Extra.pm | 12 ++++++++ textproc/p5-Text-FixedLength-Extra/pkg-comment | 1 + textproc/p5-Text-FixedLength-Extra/pkg-descr | 5 ++++ textproc/p5-Text-FixedLength-Extra/pkg-plist | 4 +++ 7 files changed, 56 insertions(+) create mode 100644 textproc/p5-Text-FixedLength-Extra/Makefile create mode 100644 textproc/p5-Text-FixedLength-Extra/distinfo create mode 100644 textproc/p5-Text-FixedLength-Extra/files/patch-Extra.pm create mode 100644 textproc/p5-Text-FixedLength-Extra/pkg-comment create mode 100644 textproc/p5-Text-FixedLength-Extra/pkg-descr create mode 100644 textproc/p5-Text-FixedLength-Extra/pkg-plist 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 +# +# $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 + +.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 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 + 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 -- cgit v1.2.3