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

(-)/home/staff/gslin/work/svmlight/Makefile (-3 / +5 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	svmlight
8
PORTNAME=	svmlight
9
PORTVERSION=	6.01
9
PORTVERSION=	6.01
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	science
11
CATEGORIES=	science
12
MASTER_SITES=	http://kodiak.cs.cornell.edu/svm_light/current/
12
MASTER_SITES=	http://kodiak.cs.cornell.edu/svm_light/current/
13
DISTNAME=	svm_light
13
DISTNAME=	svm_light
Lines 22-32 Link Here
22
22
23
INSTALLS_SHLIB=	yes
23
INSTALLS_SHLIB=	yes
24
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LFLAGS="${CFLAGS}"
24
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LFLAGS="${CFLAGS}"
25
NO_WRKSUBDIR=	yes
25
USE_GMAKE=	yes
26
USE_GMAKE=	yes
26
WRKSRC=		${WRKDIR}
27
27
28
post-build:
28
post-build:
29
	${CC} ${CFLAGS} -shared -o ${WRKSRC}/libsvmlight.so.1 ${WRKSRC}/libsvmlight.a
29
	${CC} ${CFLAGS} -shared -o ${WRKSRC}/libsvmlight.so.1 \
30
		${WRKSRC}/svm_common.o ${WRKSRC}/svm_hideo.o \
31
		${WRKSRC}/svm_learn.o
30
32
31
do-install:
33
do-install:
32
	${MKDIR} ${PREFIX}/include/svmlight
34
	${MKDIR} ${PREFIX}/include/svmlight

Return to bug 101302