aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Text-Reform
diff options
context:
space:
mode:
authormich <mich@FreeBSD.org>2003-06-04 19:52:30 +0800
committermich <mich@FreeBSD.org>2003-06-04 19:52:30 +0800
commit34b580663d1e19e14f2324706d9392ab7b451494 (patch)
treedf1d692967bb2dade4c9c82acc027c0443443c12 /textproc/p5-Text-Reform
parent69b698480dd62cd5ec37323b291f37924dea403e (diff)
downloadfreebsd-ports-gnome-34b580663d1e19e14f2324706d9392ab7b451494.tar.gz
freebsd-ports-gnome-34b580663d1e19e14f2324706d9392ab7b451494.tar.zst
freebsd-ports-gnome-34b580663d1e19e14f2324706d9392ab7b451494.zip
Update to 1.10->1.11
Cleanup and make work for perl 5.00503 PR: 51688 Submitted by: maintainer Approved by: roberto (mentor)
Diffstat (limited to 'textproc/p5-Text-Reform')
-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