diff options
author | sno <sno@pkgsrc.org> | 2009-10-18 11:10:24 +0000 |
---|---|---|
committer | sno <sno@pkgsrc.org> | 2009-10-18 11:10:24 +0000 |
commit | 84695b1432279484e9bc359ac93cb45cd77849e5 (patch) | |
tree | 8313f885e13fc641dbddf3a48c74f94e07354ac9 | |
parent | 815a8925157ba295f35d4d8d59cdf35ed170ce4c (diff) | |
download | pkgsrc-84695b1432279484e9bc359ac93cb45cd77849e5.tar.gz |
Importing devel/p5-Perl-MinimumVersion version 1.20
Perl::MinimumVersion takes Perl source code and calculates the minimum
version of perl required to be able to run it. Because it is based on
PPI, it can do this without having to actually load the code.
Currently it tests both the syntax of your code, and the use of explicit
version dependencies such as require 5.005.
-rw-r--r-- | devel/p5-Perl-MinimumVersion/DESCR | 6 | ||||
-rw-r--r-- | devel/p5-Perl-MinimumVersion/Makefile | 30 | ||||
-rw-r--r-- | devel/p5-Perl-MinimumVersion/distinfo | 5 |
3 files changed, 41 insertions, 0 deletions
diff --git a/devel/p5-Perl-MinimumVersion/DESCR b/devel/p5-Perl-MinimumVersion/DESCR new file mode 100644 index 00000000000..806514582c2 --- /dev/null +++ b/devel/p5-Perl-MinimumVersion/DESCR @@ -0,0 +1,6 @@ +Perl::MinimumVersion takes Perl source code and calculates the minimum +version of perl required to be able to run it. Because it is based on +PPI, it can do this without having to actually load the code. + +Currently it tests both the syntax of your code, and the use of explicit +version dependencies such as require 5.005. diff --git a/devel/p5-Perl-MinimumVersion/Makefile b/devel/p5-Perl-MinimumVersion/Makefile new file mode 100644 index 00000000000..67c3cc12c68 --- /dev/null +++ b/devel/p5-Perl-MinimumVersion/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/10/18 11:10:24 sno Exp $ +# + +DISTNAME= Perl-MinimumVersion-1.20 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Perl/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Perl-MinimumVersion/ +COMMENT= Find a minimum required version of perl for Perl code +LICENSE= ${PERL5_LICENSE} + +PKG_DESTDIR_SUPPORT= user-destdir + +DEPENDS+= p5-File-Find-Rule>=0.30:../../devel/p5-File-Find-Rule +DEPENDS+= p5-File-Find-Rule-Perl>=1.04:../../devel/p5-File-Find-Rule-Perl +DEPENDS+= {perl>=5.10.0,p5-Scalar-List-Utils>=1.18}:../../devel/p5-Scalar-List-Utils +DEPENDS+= p5-PPI>=1.201:../../devel/p5-PPI +DEPENDS+= p5-Params-Util>=0.25:../../devel/p5-Params-Util +DEPENDS+= {perl>=5.10.1,p5-version>=0.76}:../../devel/p5-version + +BUILD_DEPENDS+= p5-Test-Script>=1.03:../../devel/p5-Test-Script + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/Perl/MinimumVersion/.packlist +PERL5_MODULE_TYPE= Module::Install + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Perl-MinimumVersion/distinfo b/devel/p5-Perl-MinimumVersion/distinfo new file mode 100644 index 00000000000..145c50e1fe0 --- /dev/null +++ b/devel/p5-Perl-MinimumVersion/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/10/18 11:10:24 sno Exp $ + +SHA1 (Perl-MinimumVersion-1.20.tar.gz) = e8671b1aa4b5e9fcedd2899dd7b48b1b20c5bbcc +RMD160 (Perl-MinimumVersion-1.20.tar.gz) = 9038dd757c2f7307ca9db80167a1e577313c6fdc +Size (Perl-MinimumVersion-1.20.tar.gz) = 33138 bytes |