aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Algorithm-NaiveBayes/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Algorithm-NaiveBayes/Makefile')
-rw-r--r--devel/p5-Algorithm-NaiveBayes/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/devel/p5-Algorithm-NaiveBayes/Makefile b/devel/p5-Algorithm-NaiveBayes/Makefile
index 787ad57747e7..0e4f16c386d8 100644
--- a/devel/p5-Algorithm-NaiveBayes/Makefile
+++ b/devel/p5-Algorithm-NaiveBayes/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Algorithm-NaiveBayes
-PORTVERSION= 0.02
+PORTVERSION= 0.03
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Algorithm
@@ -15,8 +15,15 @@ PKGNAMEPREFIX= p5-
MAINTAINER= clsung@dragon2.net
COMMENT= Perl class performing Bayesian prediction of categories
-PERL_CONFIGURE= yes
+PERL_MODBUILD= yes
MAN3= Algorithm::NaiveBayes.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/List/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/List/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>