summaryrefslogtreecommitdiff
path: root/databases/p5-DBIx-Class-Schema-Loader/Makefile
blob: 6d20c18b66e9d5de373bf734ff5f4b3b230190b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# $NetBSD: Makefile,v 1.25 2015/06/12 10:48:40 wiz Exp $

DISTNAME=	DBIx-Class-Schema-Loader-0.07042
PKGNAME=	p5-${DISTNAME}
PKGREVISION=	1
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+=	{perl>=5.18.0,p5-Pod-Simple>=3.22}:../../textproc/p5-Pod-Simple
BUILD_DEPENDS+=	p5-Test-Exception>=0.31:../../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.10008:../../devel/p5-Class-Accessor-Grouped
DEPENDS+=	p5-Class-C3-Componentised>=1.0008:../../devel/p5-Class-C3-Componentised
DEPENDS+=	p5-Class-Inspector>=1.27:../../devel/p5-Class-Inspector
DEPENDS+=	p5-Class-Unload>=0.07:../../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.12:../../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.15:../../textproc/p5-Lingua-EN-Inflect-Phrase
DEPENDS+=	p5-Lingua-EN-Tagger>=0.23:../../textproc/p5-Lingua-EN-Tagger
DEPENDS+=	p5-List-MoreUtils>=0.32:../../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.20:../../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.23:../../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"