Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jul 2006 22:30:06 +0800
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   Re: ports/100944: [NEW PORT] science/svmlight: An implementation of Support Vector Machines (SVMs) in C
Message-ID:  <20060731143006.GA28021@gslin.org>
In-Reply-To: <200607272310.k6RNAG2s089124@freefall.freebsd.org>
References:  <20060727230648.DAE7E1CE@netnews.NCTU.edu.tw> <200607272310.k6RNAG2s089124@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 27, 2006 at 11:10:16PM +0000, FreeBSD-gnats-submit@FreeBSD.org wrote:
> Thank you very much for your problem report.
> It has the internal identification `ports/100944'.
> 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=100944
> 
> >Category:       ports
> >Responsible:    freebsd-ports-bugs
> >Synopsis:       [NEW PORT] science/svmlight: An implementation of Support Vector Machines (SVMs) in C
> >Arrival-Date:   Thu Jul 27 23:10:16 GMT 2006

We got author's license agreement to build package and patch to library.

# 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:
#
#	svmlight/
#	svmlight/pkg-descr
#	svmlight/Makefile
#	svmlight/distinfo
#	svmlight/pkg-plist
#
echo c - svmlight/
mkdir -p svmlight/ > /dev/null 2>&1
echo x - svmlight/pkg-descr
sed 's/^X//' >svmlight/pkg-descr << 'END-of-svmlight/pkg-descr'
XSVMlight is an implementation of Vapnik's Support Vector Machine
X[Vapnik, 1995] for the problem of pattern recognition, for the problem
Xof regression, and for the problem of learning a ranking function. The
Xoptimization algorithms used in SVMlight are described in [Joachims,
X2002a ]. [Joachims, 1999a]. The algorithm has scalable memory
Xrequirements and can handle problems with many thousands of support
Xvectors efficiently.
X
XThe software also provides methods for assessing the generalization
Xperformance efficiently. It includes two efficient estimation methods
Xfor both error rate and precision/recall. XiAlpha-estimates [Joachims,
X2002a, Joachims, 2000b] can be computed at essentially no
Xcomputational expense, but they are conservatively biased. Almost
Xunbiased estimates provides leave-one-out testing. SVMlight exploits
Xthat the results of most leave-one-outs (often more than 99%) are
Xpredetermined and need not be computed [Joachims, 2002a].
X
XWWW:	http://svmlight.joachims.org/
END-of-svmlight/pkg-descr
echo x - svmlight/Makefile
sed 's/^X//' >svmlight/Makefile << 'END-of-svmlight/Makefile'
X# New ports collection makefile for:	svmlight
X# Date created:		2006-07-18
X# Whom:			Gea-Suan Lin <gslin@gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	svmlight
XPORTVERSION=	6.01
XCATEGORIES=	science
XMASTER_SITES=	http://kodiak.cs.cornell.edu/svm_light/current/
XDISTNAME=	svm_light
X
XPATCH_SITES=	http://search.cpan.org/src/KWILLIAMS/Algorithm-SVMLight-0.05/
XPATCHFILES=	SVMLight.patch
X
XMAINTAINER=	gslin@gslin.org
XCOMMENT=	An implementation of Support Vector Machines (SVMs) in C
X
XRESTRICTED=	only for education and research
X
XINSTALLS_SHLIB=	yes
XMAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LFLAGS="${CFLAGS}"
XUSE_GMAKE=	yes
XWRKSRC=		${WRKDIR}
X
Xpost-build:
X	${CC} ${CFLAGS} -shared -o ${WRKSRC}/libsvmlight.so.1 ${WRKSRC}/libsvmlight.a
X
Xdo-install:
X.for file in svm_classify svm_learn
X	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
X.endfor
X	${INSTALL_DATA} ${WRKSRC}/libsvmlight.* ${PREFIX}/lib
X	${LN} -s ${PREFIX}/lib/libsvmlight.so.1 ${PREFIX}/lib/libsvmlight.so
X# It's license request, do not remove
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${DOCSDIR}
X
Xpost-install:
X	@${CAT} ${WRKSRC}/LICENSE.txt
X
X.include <bsd.port.mk>
END-of-svmlight/Makefile
echo x - svmlight/distinfo
sed 's/^X//' >svmlight/distinfo << 'END-of-svmlight/distinfo'
XMD5 (svm_light.tar.gz) = 22dab64a89dbb01141f87641141e75cc
XSHA256 (svm_light.tar.gz) = 213177ac93b60055439f0b6742d4b4e728e4401f017b8facbe2e808d4143fb11
XSIZE (svm_light.tar.gz) = 50121
XMD5 (SVMLight.patch) = 53426a955bfbdaa0c0a03390df6e2f35
XSHA256 (SVMLight.patch) = 926f6043d43ec174c419fe58ecf291711949daa3d4da89783a8f8cf572e09357
XSIZE (SVMLight.patch) = 10557
END-of-svmlight/distinfo
echo x - svmlight/pkg-plist
sed 's/^X//' >svmlight/pkg-plist << 'END-of-svmlight/pkg-plist'
X@comment $FreeBSD$
Xbin/svm_classify
Xbin/svm_learn
Xlib/libsvmlight.a
Xlib/libsvmlight.so
Xlib/libsvmlight.so.1
X%%DOCSDIR%%/LICENSE.txt
X@dirrm %%DOCSDIR%%
END-of-svmlight/pkg-plist
exit

-- 
* Gea-Suan Lin  (public key: Using https://keyserver.pgp.com/ to search)
* If you cannot convince them, confuse them.           -- Harry S Truman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060731143006.GA28021>