aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBIx-Class-QueryProfiler/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-06-14 19:27:39 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-06-14 19:27:39 +0000
commitda2705c91e5afa5f952957dc1f7f1bc8c4502bac (patch)
tree79ed120e5ce61e593411bd76d046f322622d0970 /databases/p5-DBIx-Class-QueryProfiler/Makefile
parentb6e488b7a8d7a7e4a05bf444ce9ec9c49cfd1e48 (diff)
Notes
Diffstat (limited to 'databases/p5-DBIx-Class-QueryProfiler/Makefile')
-rw-r--r--databases/p5-DBIx-Class-QueryProfiler/Makefile21
1 files changed, 15 insertions, 6 deletions
diff --git a/databases/p5-DBIx-Class-QueryProfiler/Makefile b/databases/p5-DBIx-Class-QueryProfiler/Makefile
index 35dd55f36b59..e6a31994f8cc 100644
--- a/databases/p5-DBIx-Class-QueryProfiler/Makefile
+++ b/databases/p5-DBIx-Class-QueryProfiler/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= DBIx-Class-QueryProfiler
-PORTVERSION= 0.03
+PORTVERSION= 0.04
CATEGORIES= databases perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -13,11 +13,20 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= DBIx::Class profiler
-BUILD_DEPENDS= p5-DBIx-Class>=0:${PORTSDIR}/databases/p5-DBIx-Class \
- p5-parent>=0:${PORTSDIR}/devel/p5-parent
-RUN_DEPENDS= ${BUILD_DEPENDS}
+BUILD_DEPENDS= p5-Module-Install>=0:${PORTSDIR}/devel/p5-Module-Install
+RUN_DEPENDS= p5-DBIx-Class>=0:${PORTSDIR}/databases/p5-DBIx-Class
+TEST_DEPENDS= p5-Test-Perl-Critic>=0:${PORTSDIR}/devel/p5-Test-Perl-Critic
PERL_CONFIGURE= 5.8.9+
-MAN3= DBIx::Class::QueryProfiler.3
-.include <bsd.port.mk>
+MAN3= DBIx::Class::QueryProfiler.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+
+BUILD_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
+RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
+.endif
+
+.include <bsd.port.post.mk>