diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2004-05-18 15:17:58 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2004-05-18 15:17:58 +0000 |
commit | 1fc206b6bae62e13d37f971360ab475f05bc738e (patch) | |
tree | 2dd3f9242b3f68351dd175eba7723b4e11482327 /devel/p5-Algorithm-NaiveBayes/Makefile | |
parent | 2a40961e204196fdbb7d09d26b50df305b77e9f2 (diff) | |
download | ports-1fc206b6bae62e13d37f971360ab475f05bc738e.tar.gz ports-1fc206b6bae62e13d37f971360ab475f05bc738e.zip |
Notes
Diffstat (limited to 'devel/p5-Algorithm-NaiveBayes/Makefile')
-rw-r--r-- | devel/p5-Algorithm-NaiveBayes/Makefile | 13 |
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> |