aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2004-05-18 23:17:58 +0800
committermat <mat@FreeBSD.org>2004-05-18 23:17:58 +0800
commit27073b818be1aa2c20eec39b475ed62f2d2ed809 (patch)
tree4d790d37ba3b560e0e215ff727eb7fe5bd2e9789 /devel
parent87f61ae3cf3f783ef1ed6826a862457f7effa273 (diff)
downloadfreebsd-ports-graphics-27073b818be1aa2c20eec39b475ed62f2d2ed809.tar.gz
freebsd-ports-graphics-27073b818be1aa2c20eec39b475ed62f2d2ed809.tar.zst
freebsd-ports-graphics-27073b818be1aa2c20eec39b475ed62f2d2ed809.zip
Update to 0.03
Diffstat (limited to 'devel')
-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 787ad57747e..0e4f16c386d 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 52efb4df78c..487167f0b3c 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 51df9bb6afe..5612bd3b181 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