summaryrefslogtreecommitdiff
path: root/databases/p5-SQL-Translator/Makefile
blob: 7eb9a91e3ceeefa4430862a4fec12fab86fe66bb (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
# $NetBSD: Makefile,v 1.23 2014/05/29 23:35:31 wiz Exp $

DISTNAME=	SQL-Translator-0.11016
PKGNAME=	p5-${DISTNAME}
PKGREVISION=	2
CATEGORIES=	databases perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=SQL/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://search.cpan.org/dist/SQL-Translator/
COMMENT=	Manipulate structured data definitions (SQL and more)
LICENSE=	gnu-gpl-v2

DEPENDS+=	p5-Carp-Clan-[0-9]*:../../devel/p5-Carp-Clan
#DEPENDS+=	p5-Class-Accessor-[0-9]*:../../devel/p5-Class-Accessor
DEPENDS+=	p5-Class-Base-[0-9]*:../../devel/p5-Class-Base
DEPENDS+=	p5-Class-Data-Inheritable>=0.02:../../devel/p5-Class-Data-Inheritable
#DEPENDS+=	p5-Class-MakeMethods-[0-9]*:../../devel/p5-Class-MakeMethods
#DEPENDS+=	p5-Digest-SHA1>=2.0:../../security/p5-Digest-SHA1
# Digest::SHA is required, not Digest::SHA1
DEPENDS+=	p5-File-ShareDir>=1.0:../../devel/p5-File-ShareDir
DEPENDS+=	p5-IO-stringy>=2.110:../../devel/p5-IO-stringy
DEPENDS+=	p5-List-MoreUtils>=0.09:../../devel/p5-List-MoreUtils
DEPENDS+=	p5-Moo>=1.000003:../../devel/p5-Moo
DEPENDS+=	p5-Package-Variant>=1.001001:../../devel/p5-Package-Variant
DEPENDS+=	p5-Parse-RecDescent>=1.967.9:../../devel/p5-Parse-RecDescent
DEPENDS+=	p5-XML-Writer>=0.500:../../textproc/p5-XML-Writer

# Recommended
DEPENDS+=	p5-GD-[0-9]*:../../graphics/p5-GD
DEPENDS+=	p5-Graph-[0-9]*:../../devel/p5-Graph
DEPENDS+=	p5-GraphViz-[0-9]*:../../graphics/p5-GraphViz
DEPENDS+=	p5-Spreadsheet-ParseExcel>=0.41:../../math/p5-Spreadsheet-ParseExcel
DEPENDS+=	p5-Template-Toolkit>=2.20:../../www/p5-Template-Toolkit
DEPENDS+=	p5-Text-RecordParser>=0.02:../../textproc/p5-Text-RecordParser
DEPENDS+=	p5-XML-LibXML>=1.69:../../textproc/p5-XML-LibXML
DEPENDS+=	p5-YAML>=0.66:../../textproc/p5-YAML

BUILD_DEPENDS+=	{perl>=5.10,p5-PathTools-[0-9]*}:../../devel/p5-PathTools
BUILD_DEPENDS+=	p5-Test-Differences-[0-9]*:../../devel/p5-Test-Differences
BUILD_DEPENDS+=	p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
BUILD_DEPENDS+=	p5-XML-Writer>=0.500:../../textproc/p5-XML-Writer

USE_LANGUAGES=	# empty
PERL5_MODULE_TYPE= Module::Install::Bundled
PERL5_PACKLIST=	auto/SQL/Translator/.packlist

REPLACE_PERL+=	script/*

.include "../../databases/p5-DBI/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"