- Use INSTALL_LIB when installing shared lib and create symlink so configure
script can find it - Install header file for svm library so others can use - Bump PORTREVISION Submitted by: jsa@
This commit is contained in:
parent
350309b348
commit
4b199c9718
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264356
2 changed files with 6 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= libsvm
|
PORTNAME= libsvm
|
||||||
PORTVERSION= 3.00
|
PORTVERSION= 3.00
|
||||||
|
PORTREVISION= 1
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= science math
|
CATEGORIES= science math
|
||||||
MASTER_SITES= http://www.csie.ntu.edu.tw/~cjlin/libsvm/ \
|
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-train ${PREFIX}/bin/
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/svm-predict ${PREFIX}/bin/
|
${INSTALL_PROGRAM} ${WRKSRC}/svm-predict ${PREFIX}/bin/
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/svm-scale ${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}
|
${MKDIR} ${DATADIR}
|
||||||
for f in ${TOOLS}; do \
|
for f in ${TOOLS}; do \
|
||||||
${INSTALL_DATA} ${WRKSRC}/$$f ${DATADIR}; \
|
${INSTALL_DATA} ${WRKSRC}/$$f ${DATADIR}; \
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
bin/svm-predict
|
bin/svm-predict
|
||||||
bin/svm-scale
|
bin/svm-scale
|
||||||
bin/svm-train
|
bin/svm-train
|
||||||
|
include/svm.h
|
||||||
|
lib/libsvm.so
|
||||||
lib/libsvm.so.2
|
lib/libsvm.so.2
|
||||||
%%DATADIR%%/checkdata.py
|
%%DATADIR%%/checkdata.py
|
||||||
%%DATADIR%%/easy.py
|
%%DATADIR%%/easy.py
|
||||||
|
|
Loading…
Reference in a new issue