ports/133601: [PATCH] science/svmlight: update to 6.02
Yen-Ming Lee
leeym at FreeBSD.org
Sat Apr 11 13:30:11 UTC 2009
>Number: 133601
>Category: ports
>Synopsis: [PATCH] science/svmlight: update to 6.02
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 11 13:30:10 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD cn1.leeym.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
>Description:
- Update to 6.02
Port maintainer (gslin at gslin.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- svmlight-6.02.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/science/svmlight/Makefile,v
retrieving revision 1.5
diff -u -d -b -w -u -r1.5 Makefile
--- Makefile 11 Sep 2008 13:43:56 -0000 1.5
+++ Makefile 11 Apr 2009 13:24:47 -0000
@@ -6,14 +6,14 @@
#
PORTNAME= svmlight
-PORTVERSION= 6.01
-PORTREVISION= 3
+PORTVERSION= 6.02
CATEGORIES= science
-MASTER_SITES= http://kodiak.cs.cornell.edu/svm_light/current/
+MASTER_SITES= http://kodiak.cs.cornell.edu/svm_light/v${PORTVERSION}/
DISTNAME= svm_light
-PATCH_SITES= http://search.cpan.org/src/KWILLIAMS/Algorithm-SVMLight-0.08/
+PATCH_SITES= http://cpansearch.perl.org/src/KWILLIAMS/Algorithm-SVMLight-0.09/
PATCHFILES= SVMLight.patch
+PATCH_DIST_STRIP=-p1
MAINTAINER= gslin at gslin.org
COMMENT= An implementation of Support Vector Machines (SVMs) in C
@@ -26,18 +26,6 @@
USE_GMAKE= yes
USE_LDCONFIG= yes
-pre-patch:
- ${CP} ${DISTDIR}/${PATCHFILES} ${WRKDIR}
- ${REINPLACE_CMD} -e 's|svm_light/||g' ${WRKDIR}/${PATCHFILES}
-
-do-patch:
- cd ${WRKDIR} && ${PATCH} < ${PATCHFILES}
-
-post-build:
- ${CC} ${CFLAGS} -shared -o ${WRKSRC}/libsvmlight.so.1 \
- ${WRKSRC}/svm_common.o ${WRKSRC}/svm_hideo.o \
- ${WRKSRC}/svm_learn.o
-
do-install:
${MKDIR} ${PREFIX}/include/svmlight
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/svmlight
@@ -45,6 +33,7 @@
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
.endfor
${INSTALL_DATA} ${WRKSRC}/libsvmlight.* ${PREFIX}/lib
+ ${MV} ${PREFIX}/lib/libsvmlight.so ${PREFIX}/lib/libsvmlight.so.1
${LN} -s ${PREFIX}/lib/libsvmlight.so.1 ${PREFIX}/lib/libsvmlight.so
# It's license request, do not remove
${MKDIR} ${DOCSDIR}
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/science/svmlight/distinfo,v
retrieving revision 1.2
diff -u -d -b -w -u -r1.2 distinfo
--- distinfo 11 Sep 2008 13:43:56 -0000 1.2
+++ distinfo 11 Apr 2009 13:24:47 -0000
@@ -1,6 +1,6 @@
-MD5 (svm_light.tar.gz) = 22dab64a89dbb01141f87641141e75cc
-SHA256 (svm_light.tar.gz) = 213177ac93b60055439f0b6742d4b4e728e4401f017b8facbe2e808d4143fb11
-SIZE (svm_light.tar.gz) = 50121
-MD5 (SVMLight.patch) = d9bf38d3009813f84073c25d8b814d33
-SHA256 (SVMLight.patch) = 61a23e038206f75279abdcd170e3a36c4d58a74e45b8b429f4c68f3320858fe6
-SIZE (SVMLight.patch) = 14699
+MD5 (svm_light.tar.gz) = 59768adde96737b1ecef123bc3a612ce
+SHA256 (svm_light.tar.gz) = aa48985a4c77eecd84d293de40d4731da767e49a1d2323c6198180652aa8724e
+SIZE (svm_light.tar.gz) = 51026
+MD5 (SVMLight.patch) = 63349e43bceab5d8f60595716154de11
+SHA256 (SVMLight.patch) = 0fc08fc2321970eb95e465c06deb7f99207ef90d7b492e3e6ff9883082a99962
+SIZE (SVMLight.patch) = 19490
--- svmlight-6.02.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list