aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-12-28 08:08:32 +0800
committerkrion <krion@FreeBSD.org>2003-12-28 08:08:32 +0800
commit8ae39d632b21a08e4b11dfcd1422faded2d2950e (patch)
tree9aa82adceb2efb6015f6661c1d8ad383fa3f294d
parent16c7ced1c0657fbeed0b85d811394dd53777dbb6 (diff)
downloadfreebsd-ports-gnome-8ae39d632b21a08e4b11dfcd1422faded2d2950e.tar.gz
freebsd-ports-gnome-8ae39d632b21a08e4b11dfcd1422faded2d2950e.tar.zst
freebsd-ports-gnome-8ae39d632b21a08e4b11dfcd1422faded2d2950e.zip
Add p5-Algorithm-SVM 0.06, perl bindings for the libsvm Support
Vector Machine library. PR: 60614 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Algorithm-SVM/Makefile25
-rw-r--r--devel/p5-Algorithm-SVM/distinfo1
-rw-r--r--devel/p5-Algorithm-SVM/pkg-descr8
-rw-r--r--devel/p5-Algorithm-SVM/pkg-plist11
5 files changed, 46 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index d6b35a9e8993..e655c99d1b04 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -516,6 +516,7 @@
SUBDIR += p5-Algorithm-Networksort
SUBDIR += p5-Algorithm-Numerical-Shuffle
SUBDIR += p5-Algorithm-Permute
+ SUBDIR += p5-Algorithm-SVM
SUBDIR += p5-Alias
SUBDIR += p5-App-Info
SUBDIR += p5-AppConfig
diff --git a/devel/p5-Algorithm-SVM/Makefile b/devel/p5-Algorithm-SVM/Makefile
new file mode 100644
index 000000000000..cae818147f18
--- /dev/null
+++ b/devel/p5-Algorithm-SVM/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: Algorithm::SVM
+# Date created: Dec 27 2003
+# Whom: Cheng-Lung Sung <clsung@dragon2.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Algorithm-SVM
+PORTVERSION= 0.06
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Algorithm
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= clsung@dragon2.net
+COMMENT= Perl bindings for the libsvm Support Vector Machine library
+
+PERL_CONFIGURE= yes
+
+MAN3= Algorithm::SVM.3 \
+ Algorithm::SVM::DataSet.3
+
+CC= c++
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Algorithm-SVM/distinfo b/devel/p5-Algorithm-SVM/distinfo
new file mode 100644
index 000000000000..3d365bb5e614
--- /dev/null
+++ b/devel/p5-Algorithm-SVM/distinfo
@@ -0,0 +1 @@
+MD5 (Algorithm-SVM-0.06.tar.gz) = a9f0f648ea626c7912682cf3bd8d6411
diff --git a/devel/p5-Algorithm-SVM/pkg-descr b/devel/p5-Algorithm-SVM/pkg-descr
new file mode 100644
index 000000000000..8b081f72c65f
--- /dev/null
+++ b/devel/p5-Algorithm-SVM/pkg-descr
@@ -0,0 +1,8 @@
+Algorithm::SVM implements a Support Vector Machine for Perl.
+Support Vector Machines provide a method for creating classifcation
+functions from a set of labeled training data, from which predictions
+can be made for subsequent data sets.
+
+WWW: http://search.cpan.org/dist/Algorithm-SVM/
+
+Author: Cory Spencer <cspencer@sfu.ca>
diff --git a/devel/p5-Algorithm-SVM/pkg-plist b/devel/p5-Algorithm-SVM/pkg-plist
new file mode 100644
index 000000000000..8a144e6ff073
--- /dev/null
+++ b/devel/p5-Algorithm-SVM/pkg-plist
@@ -0,0 +1,11 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Algorithm/SVM.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Algorithm/SVM/DataSet.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/SVM/SVM.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/SVM/SVM.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/SVM/autosplit.ix
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/SVM/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/SVM
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Algorithm/SVM
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Algorithm/SVM 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Algorithm 2>/dev/null || true