ports/101297: [NEW PORT] science/p5-Algorithm-SVMLight: Perl interface to SVMLight Machine-Learning Package
Gea-Suan Lin
gslin at gslin.org
Thu Aug 3 07:00:35 UTC 2006
On Thu, Aug 03, 2006 at 05:00:29AM +0000, FreeBSD-gnats-submit at 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 at 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 at 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 at 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 at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Algorithm
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/SVMLight
X at 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
More information about the freebsd-ports-bugs
mailing list