aboutsummaryrefslogtreecommitdiff
path: root/science/libsvm
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2010-11-10 14:06:44 +0000
committerRong-En Fan <rafan@FreeBSD.org>2010-11-10 14:06:44 +0000
commit4b199c9718e3ed6ec9d7283bd3614e21e93cb17d (patch)
tree4c345b895391b5e9bcd55d9e69c71b5811355ca2 /science/libsvm
parent350309b348c831faa5f3c15044d08c62524bd1ff (diff)
downloadports-4b199c9718e3ed6ec9d7283bd3614e21e93cb17d.tar.gz
ports-4b199c9718e3ed6ec9d7283bd3614e21e93cb17d.zip
Notes
Diffstat (limited to 'science/libsvm')
-rw-r--r--science/libsvm/Makefile5
-rw-r--r--science/libsvm/pkg-plist2
2 files changed, 6 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}; \
diff --git a/science/libsvm/pkg-plist b/science/libsvm/pkg-plist
index b5fb85ea60b9..0986413d588f 100644
--- a/science/libsvm/pkg-plist
+++ b/science/libsvm/pkg-plist
@@ -1,6 +1,8 @@
bin/svm-predict
bin/svm-scale
bin/svm-train
+include/svm.h
+lib/libsvm.so
lib/libsvm.so.2
%%DATADIR%%/checkdata.py
%%DATADIR%%/easy.py