Bug 101297 - [NEW PORT] science/p5-Algorithm-SVMLight: Perl interface to SVMLight Machine-Learning Package
Summary: [NEW PORT] science/p5-Algorithm-SVMLight: Perl interface to SVMLight Machine-...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Cheng-Lung Sung
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-03 06:00 UTC by gslin
Modified: 2006-08-03 08:29 UTC (History)
1 user (show)

See Also:


Attachments
p5-Algorithm-SVMLight-0.05.shar (3.80 KB, text/plain)
2006-08-03 06:00 UTC, gslin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description gslin 2006-08-03 06:00:29 UTC
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/

Generated with FreeBSD Port Tools 0.77
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-08-03 06:00:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->clsung

clsung@ wants his PRs
Comment 2 gslin 2006-08-03 08:00:25 UTC
On Thu, Aug 03, 2006 at 05:00:29AM +0000, FreeBSD-gnats-submit@FreeBSD.org wrote:
> Thank you very much for your problem report.
> It has the internal identification `ports/101297'.
> The individual assigned to look at your
> report is: freebsd-ports-bugs. 
> 
> You can access the state of your problem report at any time
> via this link:
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=101297
> 
> >Category:       ports
> >Responsible:    freebsd-ports-bugs
> >Synopsis:       [NEW PORT] science/p5-Algorithm-SVMLight: Perl interface to SVMLight Machine-Learning Package
> >Arrival-Date:   Thu Aug 03 05:00:29 GMT 2006

Respect ${LOCALBASE}.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Algorithm-SVMLight/
#	p5-Algorithm-SVMLight/pkg-descr
#	p5-Algorithm-SVMLight/Makefile
#	p5-Algorithm-SVMLight/pkg-plist
#	p5-Algorithm-SVMLight/distinfo
#	p5-Algorithm-SVMLight/files
#	p5-Algorithm-SVMLight/files/patch-Build.PL
#
echo c - p5-Algorithm-SVMLight/
mkdir -p p5-Algorithm-SVMLight/ > /dev/null 2>&1
echo x - p5-Algorithm-SVMLight/pkg-descr
sed 's/^X//' >p5-Algorithm-SVMLight/pkg-descr << 'END-of-p5-Algorithm-SVMLight/pkg-descr'
XThis module implements a perl interface to Thorsten Joachims' SVMLight
Xpackage:
X
X    SVMLight is an implementation of Vapnik's Support Vector Machine
X    [Vapnik, 1995] for the problem of pattern recognition, for the
X    problem of regression, and for the problem of learning a ranking
X    function. The optimization algorithms used in SVMlight are
X    described in [Joachims, 2002a ]. [Joachims, 1999a]. The algorithm
X    has scalable memory requirements and can handle problems with many
X    thousands of support vectors efficiently.
X
X     -- http://svmlight.joachims.org/
X
XWWW:	http://search.cpan.org/dist/Algorithm-SVMLight/
END-of-p5-Algorithm-SVMLight/pkg-descr
echo x - p5-Algorithm-SVMLight/Makefile
sed 's/^X//' >p5-Algorithm-SVMLight/Makefile << 'END-of-p5-Algorithm-SVMLight/Makefile'
X# New ports collection makefile for:	p5-Algorithm-SVMLight
X# Date created:		2006-07-18
X# Whom:			Gea-Suan Lin <gslin@gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Algorithm-SVMLight
XPORTVERSION=	0.05
XCATEGORIES=	science perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Algorithm
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	gslin@gslin.org
XCOMMENT=	Perl interface to SVMLight Machine-Learning Package
X
XRUN_DEPENDS=	svmlight>=6.01_2:${PORTSDIR}/science/svmlight
XBUILD_DEPENDS=	${RUN_DEPENDS}
X
XPERL_MODBUILD=	yes
X
XMAN3=		Algorithm::SVMLight.3
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" \
X		${WRKSRC}/Build.PL
X
X.include <bsd.port.mk>
END-of-p5-Algorithm-SVMLight/Makefile
echo x - p5-Algorithm-SVMLight/pkg-plist
sed 's/^X//' >p5-Algorithm-SVMLight/pkg-plist << 'END-of-p5-Algorithm-SVMLight/pkg-plist'
X@comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/Algorithm/SVMLight.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/SVMLight/SVMLight.bs
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/SVMLight/SVMLight.so
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Algorithm
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/SVMLight
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm
END-of-p5-Algorithm-SVMLight/pkg-plist
echo x - p5-Algorithm-SVMLight/distinfo
sed 's/^X//' >p5-Algorithm-SVMLight/distinfo << 'END-of-p5-Algorithm-SVMLight/distinfo'
XMD5 (Algorithm-SVMLight-0.05.tar.gz) = 0b8b20f4724cd9619691894b2e695f66
XSHA256 (Algorithm-SVMLight-0.05.tar.gz) = fa7aaa65dbccfd4d2dea60a620485255139a80f023781cd9919d0e3fb51a86d0
XSIZE (Algorithm-SVMLight-0.05.tar.gz) = 13587
END-of-p5-Algorithm-SVMLight/distinfo
echo c - p5-Algorithm-SVMLight/files
mkdir -p p5-Algorithm-SVMLight/files > /dev/null 2>&1
echo x - p5-Algorithm-SVMLight/files/patch-Build.PL
sed 's/^X//' >p5-Algorithm-SVMLight/files/patch-Build.PL << 'END-of-p5-Algorithm-SVMLight/files/patch-Build.PL'
X--- Build.PL.orig	Thu Aug  3 12:51:01 2006
X+++ Build.PL	Thu Aug  3 12:51:20 2006
X@@ -5,8 +5,8 @@
X   (
X    module_name => 'Algorithm::SVMLight',
X    license => 'perl',
X-   extra_linker_flags => '-lsvmlight',
X-   extra_compiler_flags => '-Wall',
X+   extra_linker_flags => '-L%%LOCALBASE%%/lib -lsvmlight',
X+   extra_compiler_flags => '-I%%LOCALBASE%%/include/svmlight -Wall',
X    create_makefile_pl => 'passthrough',
X    build_requires => {
X 		      'Module::Build' => '0.21',
END-of-p5-Algorithm-SVMLight/files/patch-Build.PL
exit

-- 
* Gea-Suan Lin  (public key: Using https://keyserver.pgp.com/ to search)
* If you cannot convince them, confuse them.           -- Harry S Truman
Comment 3 Cheng-Lung Sung freebsd_committer freebsd_triage 2006-08-03 08:29:42 UTC
State Changed
From-To: open->closed

New port added. Thank You.