aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-12-18 19:22:25 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-12-18 19:22:25 +0000
commite4fd6df643dfd1b60615a5db67aa4006746ddc52 (patch)
tree1fc07e3a170b26bc1fc39f2345571d86464ef560
parent07dadfce0a96038de6663d2ddf0db6d74f44d043 (diff)
downloadports-e4fd6df643dfd1b60615a5db67aa4006746ddc52.tar.gz
ports-e4fd6df643dfd1b60615a5db67aa4006746ddc52.zip
Notes
-rw-r--r--databases/p5-Prophet/Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/databases/p5-Prophet/Makefile b/databases/p5-Prophet/Makefile
index 57105294addb..6c04b8d79715 100644
--- a/databases/p5-Prophet/Makefile
+++ b/databases/p5-Prophet/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Prophet
PORTVERSION= 0.750
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:SPANG
@@ -22,7 +22,6 @@ BUILD_DEPENDS= p5-Any-Moose>=0.04:${PORTSDIR}/devel/p5-Any-Moose \
p5-Config-GitLike>=1.02:${PORTSDIR}/devel/p5-Config-GitLike \
p5-DBD-SQLite>=1:${PORTSDIR}/databases/p5-DBD-SQLite \
p5-DBI>=1:${PORTSDIR}/databases/p5-DBI \
- p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA \
p5-Exporter-Lite>=0:${PORTSDIR}/devel/p5-Exporter-Lite \
p5-File-ShareDir>=1.00:${PORTSDIR}/devel/p5-File-ShareDir \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
@@ -31,7 +30,6 @@ BUILD_DEPENDS= p5-Any-Moose>=0.04:${PORTSDIR}/devel/p5-Any-Moose \
p5-JSON>=2.00:${PORTSDIR}/converters/p5-JSON \
p5-JSON-XS>=2.22:${PORTSDIR}/converters/p5-JSON-XS \
p5-MIME-Base64-URLSafe>=0:${PORTSDIR}/converters/p5-MIME-Base64-URLSafe \
- p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable \
p5-Module-Refresh>=0:${PORTSDIR}/devel/p5-Module-Refresh \
p5-Mouse>=0.21:${PORTSDIR}/devel/p5-Mouse \
p5-Net-Bonjour>=0:${PORTSDIR}/dns/p5-Net-Bonjour \
@@ -46,11 +44,11 @@ BUILD_DEPENDS= p5-Any-Moose>=0.04:${PORTSDIR}/devel/p5-Any-Moose \
p5-URI>=0:${PORTSDIR}/net/p5-URI \
p5-UUID-Tiny>=1.02:${PORTSDIR}/devel/p5-UUID-Tiny \
p5-XML-Atom-SimpleFeed>=0:${PORTSDIR}/textproc/p5-XML-Atom-SimpleFeed \
- p5-YAML-Syck>=0:${PORTSDIR}/textproc/p5-YAML-Syck \
- p5-Test-Exception>=0.26:${PORTSDIR}/devel/p5-Test-Exception
-
+ p5-YAML-Syck>=0:${PORTSDIR}/textproc/p5-YAML-Syck
RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-Test-Exception>=0.26:${PORTSDIR}/devel/p5-Test-Exception
+
PERL_CONFIGURE= yes
MAN3= Prophet::Web::Result.3 \
@@ -97,4 +95,11 @@ MAN3= Prophet::Web::Result.3 \
Prophet::Replica::sqlite.3 \
Prophet::Meta::Types.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+BUILD_DEPENDS+= p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA
+RUN_DEPENDS+= p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA
+.endif
+
+.include <bsd.port.post.mk>