diff options
author | lth <lth@FreeBSD.org> | 2006-01-15 21:27:09 +0800 |
---|---|---|
committer | lth <lth@FreeBSD.org> | 2006-01-15 21:27:09 +0800 |
commit | 0c72f4c53e499cf35af18f821513b8c2488ea8da (patch) | |
tree | 41397d74b3bf9f5bb43c299bc7cffee4e52ef5c4 | |
parent | a49eae5bb201e28509435c84998687034098770f (diff) | |
download | freebsd-ports-gnome-0c72f4c53e499cf35af18f821513b8c2488ea8da.tar.gz freebsd-ports-gnome-0c72f4c53e499cf35af18f821513b8c2488ea8da.tar.zst freebsd-ports-gnome-0c72f4c53e499cf35af18f821513b8c2488ea8da.zip |
- Added missing installed module
- Added additional dependency
- Make Build.PL install bin scripts (reported upstream)
- Removed test-only dependencies from Build.PL
- Make portlint happy
Reported by: pointyhat
Pointy hat to: lth
-rw-r--r-- | textproc/p5-Text-RecordParser/Makefile | 10 | ||||
-rw-r--r-- | textproc/p5-Text-RecordParser/files/patch-Build.PL | 19 | ||||
-rw-r--r-- | textproc/p5-Text-RecordParser/pkg-plist | 5 |
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 |