pkgsrc/databases/p5-DBIx-Class-Schema-Loader/Makefile
wiz 98c3768c3a Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:35 +00:00

70 lines
3.4 KiB
Makefile

# $NetBSD: Makefile,v 1.20 2013/05/31 12:39:51 wiz Exp $
DISTNAME= DBIx-Class-Schema-Loader-0.07033
PKGNAME= p5-${DISTNAME}
PKGREVISION= 2
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBIx/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/DBIx-Class-Schema-Loader/
COMMENT= Dynamic definition of a DBIx::Class::Schema
LICENSE= ${PERL5_LICENSE}
.include "options.mk"
BUILD_DEPENDS+= p5-Config-Any-[0-9]*:../../devel/p5-Config-Any
BUILD_DEPENDS+= p5-Config-General-[0-9]*:../../devel/p5-Config-General
BUILD_DEPENDS+= p5-DBD-SQLite>=1.29:../../databases/p5-DBD-SQLite
BUILD_DEPENDS+= p5-DBIx-Class-IntrospectableM2M-[0-9]*:../../databases/p5-DBIx-Class-IntrospectableM2M
BUILD_DEPENDS+= {perl>=5.10.1,p5-File-Path>=2.07}:../../devel/p5-File-Path
BUILD_DEPENDS+= p5-Moose>=1.1200:../../devel/p5-Moose
BUILD_DEPENDS+= p5-MooseX-MarkAsMethods>=0.13:../../devel/p5-MooseX-MarkAsMethods
BUILD_DEPENDS+= p5-MooseX-NonMoose>=0.16:../../devel/p5-MooseX-NonMoose
BUILD_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
# BUILD_DEPENDS+= p5-Test-Kwalitee-[0-9]*:../../devel/p5-Test-Kwalitee
BUILD_DEPENDS+= {perl>=5.12.0,p5-Test-Simple>=0.94}:../../devel/p5-Test-Simple
BUILD_DEPENDS+= p5-Test-Warn>=0.21:../../devel/p5-Test-Warn
BUILD_DEPENDS+= p5-namespace-autoclean>=0.09:../../devel/p5-namespace-autoclean
DEPENDS+= p5-Carp-Clan-[0-9]*:../../devel/p5-Carp-Clan
DEPENDS+= p5-Class-Accessor-Grouped>=0.10002:../../devel/p5-Class-Accessor-Grouped
DEPENDS+= p5-Class-C3-Componentised>=1.0005:../../devel/p5-Class-C3-Componentised
DEPENDS+= p5-Class-Inspector>=1.27:../../devel/p5-Class-Inspector
DEPENDS+= p5-Class-Unload-[0-9]*:../../devel/p5-Class-Unload
DEPENDS+= p5-DBIx-Class>=0.08127:../../databases/p5-DBIx-Class
DEPENDS+= p5-Data-Dump>=1.06:../../devel/p5-Data-Dump
DEPENDS+= {perl>=5.8.8,p5-Digest-MD5>=2.36}:../../security/p5-Digest-MD5
DEPENDS+= p5-File-Slurp>=9999.13:../../devel/p5-File-Slurp
DEPENDS+= p5-Hash-Merge-[0-9]*:../../devel/p5-Hash-Merge
DEPENDS+= p5-Lingua-EN-Inflect-Number>=1.1:../../textproc/p5-Lingua-EN-Inflect-Number
DEPENDS+= p5-Lingua-EN-Inflect-Phrase>=0.02:../../textproc/p5-Lingua-EN-Inflect-Phrase
DEPENDS+= p5-Lingua-EN-Tagger>=0.20:../../textproc/p5-Lingua-EN-Tagger
DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils
DEPENDS+= p5-MRO-Compat>=0.09:../../devel/p5-MRO-Compat
DEPENDS+= {perl>=5.10,p5-PathTools-[0-9]*}:../../devel/p5-PathTools
DEPENDS+= {perl>=5.10,p5-Scalar-List-Utils>=0}:../../devel/p5-Scalar-List-Utils
DEPENDS+= p5-Scope-Guard-[0-9]*:../../devel/p5-Scope-Guard
DEPENDS+= p5-String-CamelCase>=0.02:../../textproc/p5-String-CamelCase
DEPENDS+= p5-String-ToIdentifier-EN>=0.05:../../textproc/p5-String-ToIdentifier-EN
DEPENDS+= p5-Sub-Name-[0-9]*:../../devel/p5-Sub-Name
DEPENDS+= p5-Task-Weaken-[0-9]*:../../devel/p5-Task-Weaken
DEPENDS+= p5-Try-Tiny-[0-9]*:../../devel/p5-Try-Tiny
DEPENDS+= p5-namespace-clean-[0-9]*:../../devel/p5-namespace-clean
# Avoid complaints if we do not have DB2, Oracle, Pg and mysql
MAKE_ENV+= DBIC_FEATURE_NOQUESTIONS=1
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/DBIx/Class/Schema/Loader/.packlist
PERL5_MODULE_TYPE= Module::Install::Bundled
pre-configure:
${FIND} ${WRKSRC} -name "*.orig" -type f | ${XARGS} ${RM} -f
BUILDLINK_API_DEPENDS.p5-DBI+= p5-DBI>=1.560
BUILDLINK_DEPMETHOD.p5-DBI?= build
.include "../../databases/p5-DBI/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"