freebsd-ports/databases/p5-DBICx-TestDatabase/Makefile
Adam Weinberger bd48f30188 Convert all p5-Test-use-ok dependencies to p5-Test-Simple, but only on
perl < 5.22. For www/p5-Catalyst-Controller-BindLex, change it from a
BUILD/RUN depend to TEST, as it is only used for the test target, and bump
PORTREVISION on that port.
2015-06-24 16:29:25 +00:00

34 lines
950 B
Makefile

# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$
PORTNAME= DBICx-TestDatabase
PORTVERSION= 0.05
PORTREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:JROCKWAY
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Module to create temporary database from a DBIx::Class::Schema
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-DBIx-Class>=0.07005:${PORTSDIR}/databases/p5-DBIx-Class \
p5-DBD-SQLite>=1.12:${PORTSDIR}/databases/p5-DBD-SQLite \
p5-SQL-Translator>=0:${PORTSDIR}/databases/p5-SQL-Translator
RUN_DEPENDS= p5-DBD-SQLite>=1.12:${PORTSDIR}/databases/p5-DBD-SQLite \
p5-SQL-Translator>=0:${PORTSDIR}/databases/p5-SQL-Translator \
p5-File-Temp>0:${PORTSDIR}/devel/p5-File-Temp
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502200
TEST_DEPENDS+= p5-Test-Simple>=1.001.014:${PORTSDIR}/devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>