diff options
author | clsung <clsung@FreeBSD.org> | 2006-08-03 15:29:03 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2006-08-03 15:29:03 +0800 |
commit | dcc80b7267082b2afde96786ca27fe600e50264b (patch) | |
tree | 7ba9a387aa44d578602283e8958f792493a4a4d5 /science/p5-Algorithm-SVMLight | |
parent | e3ecea69bdfb86e1a57ae0d31c01d77a5c3c007f (diff) | |
download | freebsd-ports-gnome-dcc80b7267082b2afde96786ca27fe600e50264b.tar.gz freebsd-ports-gnome-dcc80b7267082b2afde96786ca27fe600e50264b.tar.zst freebsd-ports-gnome-dcc80b7267082b2afde96786ca27fe600e50264b.zip |
Add p5-Algorithm-SVMLight 0.05, perl interface to SVMLight
Machine-Learning Package.
PR: ports/101297
Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'science/p5-Algorithm-SVMLight')
-rw-r--r-- | science/p5-Algorithm-SVMLight/Makefile | 29 | ||||
-rw-r--r-- | science/p5-Algorithm-SVMLight/distinfo | 3 | ||||
-rw-r--r-- | science/p5-Algorithm-SVMLight/files/patch-Build.PL | 13 | ||||
-rw-r--r-- | science/p5-Algorithm-SVMLight/pkg-descr | 14 | ||||
-rw-r--r-- | science/p5-Algorithm-SVMLight/pkg-plist | 7 |
5 files changed, 66 insertions, 0 deletions
diff --git a/science/p5-Algorithm-SVMLight/Makefile b/science/p5-Algorithm-SVMLight/Makefile new file mode 100644 index 000000000000..3e1246b0ea71 --- /dev/null +++ b/science/p5-Algorithm-SVMLight/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: p5-Algorithm-SVMLight +# Date created: 2006-07-18 +# Whom: Gea-Suan Lin <gslin@gslin.org> +# +# $FreeBSD$ +# + +PORTNAME= Algorithm-SVMLight +PORTVERSION= 0.05 +CATEGORIES= science perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Algorithm +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= Perl interface to SVMLight Machine-Learning Package + +BUILD_DEPENDS= svmlight>=6.01_2:${PORTSDIR}/science/svmlight +LIB_DEPENDS= svmlight:${PORTSDIR}/science/svmlight + +PERL_MODBUILD= yes + +MAN3= Algorithm::SVMLight.3 + +post-patch: + @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" \ + ${WRKSRC}/Build.PL + +.include <bsd.port.mk> diff --git a/science/p5-Algorithm-SVMLight/distinfo b/science/p5-Algorithm-SVMLight/distinfo new file mode 100644 index 000000000000..53f1fc0c3e0a --- /dev/null +++ b/science/p5-Algorithm-SVMLight/distinfo @@ -0,0 +1,3 @@ +MD5 (Algorithm-SVMLight-0.05.tar.gz) = 0b8b20f4724cd9619691894b2e695f66 +SHA256 (Algorithm-SVMLight-0.05.tar.gz) = fa7aaa65dbccfd4d2dea60a620485255139a80f023781cd9919d0e3fb51a86d0 +SIZE (Algorithm-SVMLight-0.05.tar.gz) = 13587 diff --git a/science/p5-Algorithm-SVMLight/files/patch-Build.PL b/science/p5-Algorithm-SVMLight/files/patch-Build.PL new file mode 100644 index 000000000000..7892fd7e4786 --- /dev/null +++ b/science/p5-Algorithm-SVMLight/files/patch-Build.PL @@ -0,0 +1,13 @@ +--- Build.PL.orig Thu Aug 3 12:51:01 2006 ++++ Build.PL Thu Aug 3 12:51:20 2006 +@@ -5,8 +5,8 @@ + ( + module_name => 'Algorithm::SVMLight', + license => 'perl', +- extra_linker_flags => '-lsvmlight', +- extra_compiler_flags => '-Wall', ++ extra_linker_flags => '-L%%LOCALBASE%%/lib -lsvmlight', ++ extra_compiler_flags => '-I%%LOCALBASE%%/include/svmlight -Wall', + create_makefile_pl => 'passthrough', + build_requires => { + 'Module::Build' => '0.21', diff --git a/science/p5-Algorithm-SVMLight/pkg-descr b/science/p5-Algorithm-SVMLight/pkg-descr new file mode 100644 index 000000000000..ee4f47d72ef3 --- /dev/null +++ b/science/p5-Algorithm-SVMLight/pkg-descr @@ -0,0 +1,14 @@ +This module implements a perl interface to Thorsten Joachims' SVMLight +package: + + SVMLight is an implementation of Vapnik's Support Vector Machine + [Vapnik, 1995] for the problem of pattern recognition, for the + problem of regression, and for the problem of learning a ranking + function. The optimization algorithms used in SVMlight are + described in [Joachims, 2002a ]. [Joachims, 1999a]. The algorithm + has scalable memory requirements and can handle problems with many + thousands of support vectors efficiently. + + -- http://svmlight.joachims.org/ + +WWW: http://search.cpan.org/dist/Algorithm-SVMLight/ diff --git a/science/p5-Algorithm-SVMLight/pkg-plist b/science/p5-Algorithm-SVMLight/pkg-plist new file mode 100644 index 000000000000..d4b8f48997d9 --- /dev/null +++ b/science/p5-Algorithm-SVMLight/pkg-plist @@ -0,0 +1,7 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/Algorithm/SVMLight.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/SVMLight/SVMLight.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/SVMLight/SVMLight.so +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Algorithm +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/SVMLight +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm |