aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBIx-Class-Schema-PopulateMore
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-01-24 09:56:25 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-01-24 09:56:25 +0000
commit032e5085721099c5cd19b0648a7d4b6f91815420 (patch)
tree4feb09c05048e14d98c9b656505cc3efe05271e3 /databases/p5-DBIx-Class-Schema-PopulateMore
parent2f1f5733668bf1222efed6db21b73d2032391544 (diff)
downloadports-032e5085721099c5cd19b0648a7d4b6f91815420.tar.gz
ports-032e5085721099c5cd19b0648a7d4b6f91815420.zip
Notes
Diffstat (limited to 'databases/p5-DBIx-Class-Schema-PopulateMore')
-rw-r--r--databases/p5-DBIx-Class-Schema-PopulateMore/Makefile29
1 files changed, 20 insertions, 9 deletions
diff --git a/databases/p5-DBIx-Class-Schema-PopulateMore/Makefile b/databases/p5-DBIx-Class-Schema-PopulateMore/Makefile
index b5ca94be815b..9b2581d47d26 100644
--- a/databases/p5-DBIx-Class-Schema-PopulateMore/Makefile
+++ b/databases/p5-DBIx-Class-Schema-PopulateMore/Makefile
@@ -7,6 +7,7 @@
PORTNAME= DBIx-Class-Schema-PopulateMore
PORTVERSION= 0.17
+PORTREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -17,22 +18,19 @@ COMMENT= An enhanced populate method
BUILD_DEPENDS= p5-Data-Visitor>=0.27:${PORTSDIR}/devel/p5-Data-Visitor \
p5-DateTimeX-Easy>=0.089:${PORTSDIR}/devel/p5-DateTimeX-Easy \
p5-List-MoreUtils>=0.30:${PORTSDIR}/lang/p5-List-MoreUtils \
- p5-Module-Pluggable>=3.9:${PORTSDIR}/devel/p5-Module-Pluggable \
- p5-Moose>=1.24:${PORTSDIR}/devel/p5-Moose \
- p5-parent>=0:${PORTSDIR}/devel/p5-parent
+ p5-Moose>=1.24:${PORTSDIR}/devel/p5-Moose
RUN_DEPENDS= p5-Data-Visitor>=0.27:${PORTSDIR}/devel/p5-Data-Visitor \
p5-DateTimeX-Easy>=0.089:${PORTSDIR}/devel/p5-DateTimeX-Easy \
p5-List-MoreUtils>=0.30:${PORTSDIR}/lang/p5-List-MoreUtils \
p5-Module-Pluggable>=3.9:${PORTSDIR}/devel/p5-Module-Pluggable \
- p5-Moose>=1.24:${PORTSDIR}/devel/p5-Moose \
- p5-parent>=0:${PORTSDIR}/devel/p5-parent
-TEST_DEPENDS= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple \
+ p5-Moose>=1.24:${PORTSDIR}/devel/p5-Moose
+
+TEST_DEPENDS= p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite \
p5-DBIx-Class>=0.08127:${PORTSDIR}/databases/p5-DBIx-Class \
p5-DateTime-Format-SQLite>=0.11:${PORTSDIR}/devel/p5-DateTime-Format-SQLite \
p5-Path-Class>=0.23:${PORTSDIR}/devel/p5-Path-Class \
p5-SQL-Translator>0.11007:${PORTSDIR}/databases/p5-SQL-Translator \
- p5-YAML-Tiny>=1.38:${PORTSDIR}/textproc/p5-YAML-Tiny \
- p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite
+ p5-YAML-Tiny>=1.38:${PORTSDIR}/textproc/p5-YAML-Tiny
PERL_CONFIGURE= yes
@@ -55,4 +53,17 @@ MAN3= DBIx::Class::Schema::PopulateMore.3 \
DBIx::Class::Schema::PopulateMore::Test::Schema::ResultSet::Person.3 \
DBIx::Class::Schema::PopulateMore::Visitor.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+BUILD_DEPENDS+= p5-Module-Pluggable>=3.9:${PORTSDIR}/devel/p5-Module-Pluggable \
+ p5-parent>=0:${PORTSDIR}/devel/p5-parent
+RUN_DEPENDS+= p5-Module-Pluggable>=3.9:${PORTSDIR}/devel/p5-Module-Pluggable \
+ p5-parent>=0:${PORTSDIR}/devel/p5-parent
+.endif
+
+.if ${PERL_LEVEL} < 501400
+TEST_DEPENDS+= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>