aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-AI-Categorizer
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2008-04-30 13:21:40 +0000
committerMathieu Arnold <mat@FreeBSD.org>2008-04-30 13:21:40 +0000
commit7377d2d0d41104a26f660e85eac5fab18d154926 (patch)
tree321741056c33514ff770fb205161e9248ff5b56c /textproc/p5-AI-Categorizer
parentfd0ecc33a66b1cc198751ea8cf6a32addcbec535 (diff)
downloadports-7377d2d0d41104a26f660e85eac5fab18d154926.tar.gz
ports-7377d2d0d41104a26f660e85eac5fab18d154926.zip
Notes
Diffstat (limited to 'textproc/p5-AI-Categorizer')
-rw-r--r--textproc/p5-AI-Categorizer/Makefile4
-rw-r--r--textproc/p5-AI-Categorizer/distinfo6
-rw-r--r--textproc/p5-AI-Categorizer/files/patch-Build.PL28
-rw-r--r--textproc/p5-AI-Categorizer/pkg-plist3
4 files changed, 15 insertions, 26 deletions
diff --git a/textproc/p5-AI-Categorizer/Makefile b/textproc/p5-AI-Categorizer/Makefile
index 3f1ebdae4790..ab9313e1ded4 100644
--- a/textproc/p5-AI-Categorizer/Makefile
+++ b/textproc/p5-AI-Categorizer/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= AI-Categorizer
-PORTVERSION= 0.07
+PORTVERSION= 0.09
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -33,6 +33,8 @@ MAN3= AI::Categorizer.3 \
AI::Categorizer::Document.3 \
AI::Categorizer::Experiment.3 \
AI::Categorizer::FeatureSelector.3 \
+ AI::Categorizer::FeatureSelector::CategorySelector.3 \
+ AI::Categorizer::FeatureSelector::ChiSquare.3 \
AI::Categorizer::FeatureSelector::DocFrequency.3 \
AI::Categorizer::FeatureVector.3 \
AI::Categorizer::Hypothesis.3 \
diff --git a/textproc/p5-AI-Categorizer/distinfo b/textproc/p5-AI-Categorizer/distinfo
index b8509a7bf0b4..c8cbf9f373cf 100644
--- a/textproc/p5-AI-Categorizer/distinfo
+++ b/textproc/p5-AI-Categorizer/distinfo
@@ -1,3 +1,3 @@
-MD5 (AI-Categorizer-0.07.tar.gz) = ae1c1320c802337c7b1c2500476ffa9f
-SHA256 (AI-Categorizer-0.07.tar.gz) = 27547f91b018c398df2f721dc50435b94a819c50a2589aa99cae1c9bb40ff047
-SIZE (AI-Categorizer-0.07.tar.gz) = 255814
+MD5 (AI-Categorizer-0.09.tar.gz) = a35d5af19ae0d9ddd0a800b7172a0750
+SHA256 (AI-Categorizer-0.09.tar.gz) = 24d8adec512e7be76e99c224b60205a164a14d8889557b6876c9b6e8ef8f8590
+SIZE (AI-Categorizer-0.09.tar.gz) = 257449
diff --git a/textproc/p5-AI-Categorizer/files/patch-Build.PL b/textproc/p5-AI-Categorizer/files/patch-Build.PL
index ebf9509a93ad..0c66b6323181 100644
--- a/textproc/p5-AI-Categorizer/files/patch-Build.PL
+++ b/textproc/p5-AI-Categorizer/files/patch-Build.PL
@@ -1,15 +1,9 @@
---- Build.PL Mon Feb 20 10:02:49 2006
-+++ Build.PL Mon Feb 20 10:03:57 2006
-@@ -27,28 +27,4 @@
- },
- );
+--- Build.PL.orig 2007-03-24 03:31:23.000000000 +0100
++++ Build.PL 2008-04-30 14:57:51.000000000 +0200
+@@ -36,12 +36,3 @@
+
+ $build->create_build_script;
--my $categorizer = File::Spec->catfile('eg', 'categorizer');
--if ($build->y_n("Do you want to install the $categorizer script to $Config{installscript}?", 'n')) {
-- $build->scripts($categorizer);
--}
--
--
-{
- my $path = $build->prompt
- (
@@ -17,15 +11,5 @@
- "to the 'weka.jar' file, or '-' to search CLASSPATH, or '!' to skip:",
- '!'
- );
--
-- if ($path eq '!') {
-- unlink "classpath" if -e "classpath";
-- } else {
-- local *FH;
-- open FH, "> classpath" or die "Can't create classpath: $!";
-- print FH $path;
-- close FH;
-- }
+- $build->notes(classpath => $path eq '!' ? undef : $path);
-}
--
- $build->create_build_script;
diff --git a/textproc/p5-AI-Categorizer/pkg-plist b/textproc/p5-AI-Categorizer/pkg-plist
index 9253549fce03..b4be0bcaccb9 100644
--- a/textproc/p5-AI-Categorizer/pkg-plist
+++ b/textproc/p5-AI-Categorizer/pkg-plist
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
%%SITE_PERL%%/AI/Categorizer.pm
%%SITE_PERL%%/AI/Categorizer/Category.pm
%%SITE_PERL%%/AI/Categorizer/Collection.pm
@@ -11,6 +12,8 @@
%%SITE_PERL%%/AI/Categorizer/Document/XML.pm
%%SITE_PERL%%/AI/Categorizer/Experiment.pm
%%SITE_PERL%%/AI/Categorizer/FeatureSelector.pm
+%%SITE_PERL%%/AI/Categorizer/FeatureSelector/CategorySelector.pm
+%%SITE_PERL%%/AI/Categorizer/FeatureSelector/ChiSquare.pm
%%SITE_PERL%%/AI/Categorizer/FeatureSelector/DocFrequency.pm
%%SITE_PERL%%/AI/Categorizer/FeatureVector.pm
%%SITE_PERL%%/AI/Categorizer/Hypothesis.pm