freebsd-ports/devel/p5-Test-DBIx-Class/Makefile
Adam Weinberger 09d0f3ca97 Update to 0.47.
Move p5-Test-mysqld to TEST_DEPENDS. It can be used but isn't required. Add
p5-Test-postgresql to TEST_DEPENDS as well. They could probably be reasonably
added as OPTIONs. Also add a note that to run all the tests you need to add
USE_MYSQL=server.
2016-02-25 17:23:44 +00:00

45 lines
1.8 KiB
Makefile

# Created by: Steve Wills <swills@FreeBSD.org>
# $FreeBSD$
PORTNAME= Test-DBIx-Class
PORTVERSION= 0.47
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Easier test cases for your DBIx::Class applications
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Config-Any>=0.19:${PORTSDIR}/devel/p5-Config-Any \
p5-DBIx-Class>=0.08123:${PORTSDIR}/databases/p5-DBIx-Class \
p5-DBIx-Class-Schema-PopulateMore>=0.16:${PORTSDIR}/databases/p5-DBIx-Class-Schema-PopulateMore \
p5-DBIx-Class-TimeStamp>=0.13:${PORTSDIR}/databases/p5-DBIx-Class-TimeStamp \
p5-DBIx-Class-UUIDColumns>=0.02005:${PORTSDIR}/databases/p5-DBIx-Class-UUIDColumns \
p5-Data-UUID>=1.215:${PORTSDIR}/devel/p5-Data-UUID \
p5-Data-Visitor>=0.27:${PORTSDIR}/devel/p5-Data-Visitor \
p5-Hash-Merge>=0.11:${PORTSDIR}/textproc/p5-Hash-Merge \
p5-List-MoreUtils>=0.22:${PORTSDIR}/lang/p5-List-MoreUtils \
p5-Module-Runtime>=0.013:${PORTSDIR}/devel/p5-Module-Runtime \
p5-Moose>=1.10:${PORTSDIR}/devel/p5-Moose \
p5-MooseX-Attribute-ENV>=0.01:${PORTSDIR}/devel/p5-MooseX-Attribute-ENV \
p5-MooseX-Types>=0.23:${PORTSDIR}/devel/p5-MooseX-Types \
p5-Path-Class>=0.21:${PORTSDIR}/devel/p5-Path-Class \
p5-SQL-Translator>=0.11006:${PORTSDIR}/databases/p5-SQL-Translator \
p5-Sub-Exporter>=0.982:${PORTSDIR}/devel/p5-Sub-Exporter \
p5-Test-Deep>=0.106:${PORTSDIR}/devel/p5-Test-Deep
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-MooseX-Types-LoadableClass>=0:${PORTSDIR}/devel/p5-MooseX-Types-LoadableClass \
p5-Test-Differences>=0:${PORTSDIR}/devel/p5-Test-Differences \
p5-Test-mysqld>=0:${PORTSDIR}/databases/p5-Test-mysqld \
p5-Test-postgresql>=0:${PORTSDIR}/databases/p5-Test-postgresql
# Also for test:
#USE_MYSQL+= server
NO_ARCH= yes
USES= perl5
USE_PERL5= configure
.include <bsd.port.mk>