View | Details | Raw Unified | Return to bug 133601
Collapse All | Expand All

(-)Makefile (-16 / +5 lines)
Lines 6-19 Link Here
6
#
6
#
7
7
8
PORTNAME=	svmlight
8
PORTNAME=	svmlight
9
PORTVERSION=	6.01
9
PORTVERSION=	6.02
10
PORTREVISION=	3
11
CATEGORIES=	science
10
CATEGORIES=	science
12
MASTER_SITES=	http://kodiak.cs.cornell.edu/svm_light/current/
11
MASTER_SITES=	http://kodiak.cs.cornell.edu/svm_light/v${PORTVERSION}/
13
DISTNAME=	svm_light
12
DISTNAME=	svm_light
14
13
15
PATCH_SITES=	http://search.cpan.org/src/KWILLIAMS/Algorithm-SVMLight-0.08/
14
PATCH_SITES=	http://cpansearch.perl.org/src/KWILLIAMS/Algorithm-SVMLight-0.09/
16
PATCHFILES=	SVMLight.patch
15
PATCHFILES=	SVMLight.patch
16
PATCH_DIST_STRIP=-p1
17
17
18
MAINTAINER=	gslin@gslin.org
18
MAINTAINER=	gslin@gslin.org
19
COMMENT=	An implementation of Support Vector Machines (SVMs) in C
19
COMMENT=	An implementation of Support Vector Machines (SVMs) in C
Lines 26-43 Link Here
26
USE_GMAKE=	yes
26
USE_GMAKE=	yes
27
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
28
28
29
pre-patch:
30
	${CP} ${DISTDIR}/${PATCHFILES} ${WRKDIR}
31
	${REINPLACE_CMD} -e 's|svm_light/||g' ${WRKDIR}/${PATCHFILES}
32
33
do-patch:
34
	cd ${WRKDIR} && ${PATCH} < ${PATCHFILES}
35
36
post-build:
37
	${CC} ${CFLAGS} -shared -o ${WRKSRC}/libsvmlight.so.1 \
38
		${WRKSRC}/svm_common.o ${WRKSRC}/svm_hideo.o \
39
		${WRKSRC}/svm_learn.o
40
41
do-install:
29
do-install:
42
	${MKDIR} ${PREFIX}/include/svmlight
30
	${MKDIR} ${PREFIX}/include/svmlight
43
	${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/svmlight
31
	${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/svmlight
Lines 45-50 Link Here
45
	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
33
	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
46
.endfor
34
.endfor
47
	${INSTALL_DATA} ${WRKSRC}/libsvmlight.* ${PREFIX}/lib
35
	${INSTALL_DATA} ${WRKSRC}/libsvmlight.* ${PREFIX}/lib
36
	${MV} ${PREFIX}/lib/libsvmlight.so ${PREFIX}/lib/libsvmlight.so.1
48
	${LN} -s ${PREFIX}/lib/libsvmlight.so.1 ${PREFIX}/lib/libsvmlight.so
37
	${LN} -s ${PREFIX}/lib/libsvmlight.so.1 ${PREFIX}/lib/libsvmlight.so
49
# It's license request, do not remove
38
# It's license request, do not remove
50
	${MKDIR} ${DOCSDIR}
39
	${MKDIR} ${DOCSDIR}
(-)distinfo (-6 / +6 lines)
Lines 1-6 Link Here
1
MD5 (svm_light.tar.gz) = 22dab64a89dbb01141f87641141e75cc
1
MD5 (svm_light.tar.gz) = 59768adde96737b1ecef123bc3a612ce
2
SHA256 (svm_light.tar.gz) = 213177ac93b60055439f0b6742d4b4e728e4401f017b8facbe2e808d4143fb11
2
SHA256 (svm_light.tar.gz) = aa48985a4c77eecd84d293de40d4731da767e49a1d2323c6198180652aa8724e
3
SIZE (svm_light.tar.gz) = 50121
3
SIZE (svm_light.tar.gz) = 51026
4
MD5 (SVMLight.patch) = d9bf38d3009813f84073c25d8b814d33
4
MD5 (SVMLight.patch) = 63349e43bceab5d8f60595716154de11
5
SHA256 (SVMLight.patch) = 61a23e038206f75279abdcd170e3a36c4d58a74e45b8b429f4c68f3320858fe6
5
SHA256 (SVMLight.patch) = 0fc08fc2321970eb95e465c06deb7f99207ef90d7b492e3e6ff9883082a99962
6
SIZE (SVMLight.patch) = 14699
6
SIZE (SVMLight.patch) = 19490

Return to bug 133601