summaryrefslogtreecommitdiff
path: root/textproc/p5-AI-Categorizer/files/patch-Build.PL
diff options
context:
space:
mode:
authorAaron Dalton <aaron@FreeBSD.org>2006-02-20 17:47:38 +0000
committerAaron Dalton <aaron@FreeBSD.org>2006-02-20 17:47:38 +0000
commit4733ac6446d46b4ef43935a3565cbc7d45241fef (patch)
tree28b0cc2d03220a3b7f6e2a7cccbd7f3da62a5d2b /textproc/p5-AI-Categorizer/files/patch-Build.PL
parentUpdate to DAT 4701 (diff)
Adding port textproc/p5-AI-Categorizer, a tool to aid in the automatic categorization of text documents.
Approved by: tobez (implicit)
Notes
Notes: svn path=/head/; revision=156513
Diffstat (limited to 'textproc/p5-AI-Categorizer/files/patch-Build.PL')
-rw-r--r--textproc/p5-AI-Categorizer/files/patch-Build.PL31
1 files changed, 31 insertions, 0 deletions
diff --git a/textproc/p5-AI-Categorizer/files/patch-Build.PL b/textproc/p5-AI-Categorizer/files/patch-Build.PL
new file mode 100644
index 000000000000..ebf9509a93ad
--- /dev/null
+++ b/textproc/p5-AI-Categorizer/files/patch-Build.PL
@@ -0,0 +1,31 @@
+--- Build.PL Mon Feb 20 10:02:49 2006
++++ Build.PL Mon Feb 20 10:03:57 2006
+@@ -27,28 +27,4 @@
+ },
+ );
+
+-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
+- (
+- "\nIf you have the Weka system installed, please specify the path\n".
+- "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->create_build_script;