aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Text-RecordParser
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2006-01-15 13:27:09 +0000
committerLars Thegler <lth@FreeBSD.org>2006-01-15 13:27:09 +0000
commit906d31ca722f400e2cc83a15d8130dcf52851992 (patch)
treeae5db840ad79b89b959a6b688b860d7eb696ffc2 /textproc/p5-Text-RecordParser
parent082e35599c229e86688274abb530ffee0973e12a (diff)
downloadports-906d31ca722f400e2cc83a15d8130dcf52851992.tar.gz
ports-906d31ca722f400e2cc83a15d8130dcf52851992.zip
Notes
Diffstat (limited to 'textproc/p5-Text-RecordParser')
-rw-r--r--textproc/p5-Text-RecordParser/Makefile10
-rw-r--r--textproc/p5-Text-RecordParser/files/patch-Build.PL19
-rw-r--r--textproc/p5-Text-RecordParser/pkg-plist5
3 files changed, 27 insertions, 7 deletions
diff --git a/textproc/p5-Text-RecordParser/Makefile b/textproc/p5-Text-RecordParser/Makefile
index 9ce5c01bfb3c..cf2bce276beb 100644
--- a/textproc/p5-Text-RecordParser/Makefile
+++ b/textproc/p5-Text-RecordParser/Makefile
@@ -6,7 +6,7 @@
PORTNAME= Text-RecordParser
PORTVERSION= 1.0.0
-DISTVERSION= v${PORTVERSION}
+DISTVERSIONPREFIX= v
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Text
@@ -17,18 +17,20 @@ COMMENT= Read record-oriented files
BUILD_DEPENDS= ${SITE_PERL}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy \
${SITE_PERL}/Text/TabularDisplay.pm:${PORTSDIR}/textproc/p5-Text-TabularDisplay \
- p5-Readonly>=0:${PORTSDIR}/devel/p5-Readonly
+ p5-Readonly>=0:${PORTSDIR}/devel/p5-Readonly \
+ p5-version>=0:${PORTSDIR}/devel/p5-version
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_MODBUILD= yes
MAN1= tablify.1 tabmerge.1
-MAN3= Text::RecordParser.3
+MAN3= Text::RecordParser.3 \
+ Text::RecordParser::Tab.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
-IGNORE= requires Perl 5.8 or newer. Install lang/perl5.8 and try again.
+IGNORE= requires Perl 5.8 or newer. Install lang/perl5.8 and try again
.endif
.include <bsd.port.post.mk>
diff --git a/textproc/p5-Text-RecordParser/files/patch-Build.PL b/textproc/p5-Text-RecordParser/files/patch-Build.PL
new file mode 100644
index 000000000000..c3bc3c49858c
--- /dev/null
+++ b/textproc/p5-Text-RecordParser/files/patch-Build.PL
@@ -0,0 +1,19 @@
+--- ./Build.PL.orig Sat Dec 10 03:09:32 2005
++++ ./Build.PL Sun Jan 15 14:21:58 2006
+@@ -6,6 +6,7 @@
+ module_name => 'Text::RecordParser',
+ dist_author => 'Ken Youens-Clark <kclark@cpan.org>',
+ dist_version_from => 'lib/Text/RecordParser.pm',
++ script_files => [ 'bin/tablify', 'bin/tabmerge' ],
+ add_to_cleanup => [ '$(DISTNAME)-$(VERSION).tar.gz' ],
+ create_makefile_pl => 'passthrough',
+ create_readme => 1,
+@@ -17,8 +18,6 @@
+ 'version' => 0,
+ },
+ build_requires => {
+- 'Test::More' => 0,
+- 'Test::Exception' => 0,
+ },
+ recommends => {
+ 'Readonly::XS' => 0,
diff --git a/textproc/p5-Text-RecordParser/pkg-plist b/textproc/p5-Text-RecordParser/pkg-plist
index 3743cb267631..f503a91b53fb 100644
--- a/textproc/p5-Text-RecordParser/pkg-plist
+++ b/textproc/p5-Text-RecordParser/pkg-plist
@@ -1,7 +1,6 @@
bin/tablify
bin/tabmerge
%%SITE_PERL%%/Text/RecordParser.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/RecordParser/.packlist
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/RecordParser
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
+%%SITE_PERL%%/Text/RecordParser/Tab.pm
+@dirrm %%SITE_PERL%%/Text/RecordParser
@unexec rmdir %D/%%SITE_PERL%%/Text 2>/dev/null || true