aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2009-04-11 20:37:01 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2009-04-11 20:37:01 +0000
commit08f9e8f9c42e72db2e30697a47e5df35de27e365 (patch)
tree7f2586218bdafe6b94a00c4b80849a55b7e727d1 /science
parentd6360dd9cdf9de4b8f507f15950682059da4ef68 (diff)
downloadports-08f9e8f9c42e72db2e30697a47e5df35de27e365.tar.gz
ports-08f9e8f9c42e72db2e30697a47e5df35de27e365.zip
- Update to 6.02
PR: 133601 Submitted by: leeym Approved by: maintainer
Notes
Notes: svn path=/head/; revision=232117
Diffstat (limited to 'science')
-rw-r--r--science/svmlight/Makefile21
-rw-r--r--science/svmlight/distinfo12
2 files changed, 11 insertions, 22 deletions
diff --git a/science/svmlight/Makefile b/science/svmlight/Makefile
index 3494bbf9e988..d4d87e9b7138 100644
--- a/science/svmlight/Makefile
+++ b/science/svmlight/Makefile
@@ -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@gslin.org
COMMENT= An implementation of Support Vector Machines (SVMs) in C
@@ -26,18 +26,6 @@ NO_WRKSUBDIR= yes
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 @@ do-install:
${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}
diff --git a/science/svmlight/distinfo b/science/svmlight/distinfo
index 42a7f003ed5a..5a12ac143f25 100644
--- a/science/svmlight/distinfo
+++ b/science/svmlight/distinfo
@@ -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