aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMichael Landin <mich@FreeBSD.org>2003-06-04 11:52:30 +0000
committerMichael Landin <mich@FreeBSD.org>2003-06-04 11:52:30 +0000
commit9bfc6a9da34cdc8488bb095d7c5d3656d4166aac (patch)
tree41d6d207a416b459cc4a43114f675ce244eaf98c /textproc
parent44d66a77875bfeb35ef9846f6a9ac589e17479f3 (diff)
downloadports-9bfc6a9da34cdc8488bb095d7c5d3656d4166aac.tar.gz
ports-9bfc6a9da34cdc8488bb095d7c5d3656d4166aac.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-Text-Reform/Makefile6
-rw-r--r--textproc/p5-Text-Reform/distinfo2
-rw-r--r--textproc/p5-Text-Reform/files/patch-lib::Text::Reform.pm21
-rw-r--r--textproc/p5-Text-Reform/pkg-descr2
-rw-r--r--textproc/p5-Text-Reform/pkg-plist18
5 files changed, 37 insertions, 12 deletions
diff --git a/textproc/p5-Text-Reform/Makefile b/textproc/p5-Text-Reform/Makefile
index c501baa2bca2..ab1619cbf16f 100644
--- a/textproc/p5-Text-Reform/Makefile
+++ b/textproc/p5-Text-Reform/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Text-Reform
-PORTVERSION= 1.10
+PORTVERSION= 1.11
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Text
@@ -18,6 +18,8 @@ COMMENT= Manual text wrapping and reformatting
PERL_CONFIGURE= yes
MAN3= Text::Reform.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+pre-configure:
+ @${FIND} ${WRKSRC} -name \*.orig -delete
.include <bsd.port.mk>
diff --git a/textproc/p5-Text-Reform/distinfo b/textproc/p5-Text-Reform/distinfo
index 2a7ff5d5e08b..e8cecc88a3c7 100644
--- a/textproc/p5-Text-Reform/distinfo
+++ b/textproc/p5-Text-Reform/distinfo
@@ -1 +1 @@
-MD5 (Text-Reform-1.10.tar.gz) = 07608172aed9c4a5158a8184b8107029
+MD5 (Text-Reform-1.11.tar.gz) = 18646b9fee3d2ddecdacde1d9210d83d
diff --git a/textproc/p5-Text-Reform/files/patch-lib::Text::Reform.pm b/textproc/p5-Text-Reform/files/patch-lib::Text::Reform.pm
new file mode 100644
index 000000000000..ba5330970420
--- /dev/null
+++ b/textproc/p5-Text-Reform/files/patch-lib::Text::Reform.pm
@@ -0,0 +1,21 @@
+--- lib/Text/Reform.pm.orig Wed Apr 9 10:49:02 2003
++++ lib/Text/Reform.pm Fri May 2 14:47:28 2003
+@@ -44,7 +43,7 @@
+ }
+
+ sub carpfirst {
+- our %carped;
++ my %carped;
+ my ($msg) = @_;
+ return if $carped{$msg}++;
+ carp $msg;
+@@ -342,8 +341,7 @@
+
+ sub form
+ {
+- our %carped;
+- local %carped;
++ my %carped;
+ my $config = {%std_config};
+ my $startidx = 0;
+ if (@_ && ref($_[0]) eq 'HASH') # RESETTING CONFIG
diff --git a/textproc/p5-Text-Reform/pkg-descr b/textproc/p5-Text-Reform/pkg-descr
index c53925779554..a5a823485bcf 100644
--- a/textproc/p5-Text-Reform/pkg-descr
+++ b/textproc/p5-Text-Reform/pkg-descr
@@ -1,3 +1,3 @@
Manual text wrapping and reformatting
-WWW: http://search.cpan.org/author/DCONWAY/Text-Reform/
+WWW: http://search.cpan.org/dist/Text-Reform/
diff --git a/textproc/p5-Text-Reform/pkg-plist b/textproc/p5-Text-Reform/pkg-plist
index c4c6d7faf856..a8c92a807d59 100644
--- a/textproc/p5-Text-Reform/pkg-plist
+++ b/textproc/p5-Text-Reform/pkg-plist
@@ -1,8 +1,10 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Reform/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Text/demo_ws.pl
-lib/perl5/site_perl/%%PERL_VER%%/Text/demo_table.pl
-lib/perl5/site_perl/%%PERL_VER%%/Text/demo_filler.pl
-lib/perl5/site_perl/%%PERL_VER%%/Text/demo_columns.pl
-lib/perl5/site_perl/%%PERL_VER%%/Text/demo.pl
-lib/perl5/site_perl/%%PERL_VER%%/Text/Reform.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Reform
+%%SITE_PERL%%/Text/Reform.pm
+%%SITE_PERL%%/Text/demo.pl
+%%SITE_PERL%%/Text/demo_columns.pl
+%%SITE_PERL%%/Text/demo_filler.pl
+%%SITE_PERL%%/Text/demo_table.pl
+%%SITE_PERL%%/Text/demo_ws.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Reform/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Reform
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Text 2>/dev/null || true