aboutsummaryrefslogtreecommitdiffstats
path: root/science/libsvm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/libsvm/Makefile')
-rw-r--r--science/libsvm/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/science/libsvm/Makefile b/science/libsvm/Makefile
index 3ad5ebb54907..2273fb7ef97c 100644
--- a/science/libsvm/Makefile
+++ b/science/libsvm/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libsvm
PORTVERSION= 3.00
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= science math
MASTER_SITES= http://www.csie.ntu.edu.tw/~cjlin/libsvm/ \
@@ -72,7 +73,9 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/svm-train ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/svm-predict ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/svm-scale ${PREFIX}/bin/
- ${INSTALL_PROGRAM} ${WRKSRC}/libsvm.so.2 ${PREFIX}/lib/
+ ${INSTALL_DATA} ${WRKSRC}/svm.h ${PREFIX}/include/
+ ${INSTALL_LIB} ${WRKSRC}/libsvm.so.2 ${PREFIX}/lib/
+ ${LN} -sf ${PREFIX}/lib/libsvm.so.2 ${PREFIX}/lib/libsvm.so
${MKDIR} ${DATADIR}
for f in ${TOOLS}; do \
${INSTALL_DATA} ${WRKSRC}/$$f ${DATADIR}; \