1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Various niceties for p5-Text-FixedLength lovers

PR:		ports/23961
Submitted by:	Anton Berezin <tobez@tobez.org>
This commit is contained in:
Vanilla I. Shu 2001-05-11 16:11:51 +00:00
parent 959f7cff9a
commit 1dbeb6248d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42524
7 changed files with 56 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (Text-FixedLength-Extra-1.0.tar.gz) = 0c78e050db6196bbefffbd09f71ecfac

View File

@ -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.
# ----------------------------------------------------------------------------

View File

@ -0,0 +1 @@
Various niceties for p5-Text-FixedLength lovers

View File

@ -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>

View File

@ -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