aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Algorithm-NaiveBayes
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-05-18 15:17:58 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-05-18 15:17:58 +0000
commit1fc206b6bae62e13d37f971360ab475f05bc738e (patch)
tree2dd3f9242b3f68351dd175eba7723b4e11482327 /devel/p5-Algorithm-NaiveBayes
parent2a40961e204196fdbb7d09d26b50df305b77e9f2 (diff)
downloadports-1fc206b6bae62e13d37f971360ab475f05bc738e.tar.gz
ports-1fc206b6bae62e13d37f971360ab475f05bc738e.zip
Update to 0.03
Notes
Notes: svn path=/head/; revision=109453
Diffstat (limited to 'devel/p5-Algorithm-NaiveBayes')
-rw-r--r--devel/p5-Algorithm-NaiveBayes/Makefile13
-rw-r--r--devel/p5-Algorithm-NaiveBayes/distinfo4
-rw-r--r--devel/p5-Algorithm-NaiveBayes/pkg-plist10
3 files changed, 18 insertions, 9 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>
diff --git a/devel/p5-Algorithm-NaiveBayes/distinfo b/devel/p5-Algorithm-NaiveBayes/distinfo
index 52efb4df78cb..487167f0b3cc 100644
--- a/devel/p5-Algorithm-NaiveBayes/distinfo
+++ b/devel/p5-Algorithm-NaiveBayes/distinfo
@@ -1,2 +1,2 @@
-MD5 (Algorithm-NaiveBayes-0.02.tar.gz) = 3477830a254449a26c5eb3e4c85b0054
-SIZE (Algorithm-NaiveBayes-0.02.tar.gz) = 6603
+MD5 (Algorithm-NaiveBayes-0.03.tar.gz) = 7a6507570d490ba6c1c5b8910d624f5c
+SIZE (Algorithm-NaiveBayes-0.03.tar.gz) = 7385
diff --git a/devel/p5-Algorithm-NaiveBayes/pkg-plist b/devel/p5-Algorithm-NaiveBayes/pkg-plist
index 51df9bb6afe8..5612bd3b181b 100644
--- a/devel/p5-Algorithm-NaiveBayes/pkg-plist
+++ b/devel/p5-Algorithm-NaiveBayes/pkg-plist
@@ -1,6 +1,8 @@
%%SITE_PERL%%/Algorithm/NaiveBayes.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/NaiveBayes/.packlist
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/NaiveBayes
-@dirrm %%SITE_PERL%%/Algorithm
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm 2>/dev/null || true
+%%SITE_PERL%%/Algorithm/NaiveBayes/Model/Discrete.pm
+%%SITE_PERL%%/Algorithm/NaiveBayes/Model/Frequency.pm
+%%SITE_PERL%%/Algorithm/NaiveBayes/Model/Gaussian.pm
+%%SITE_PERL%%/Algorithm/NaiveBayes/Util.pm
+@dirrm %%SITE_PERL%%/Algorithm/NaiveBayes/Model
+@dirrm %%SITE_PERL%%/Algorithm/NaiveBayes
@unexec rmdir %D/%%SITE_PERL%%/Algorithm 2>/dev/null || true