diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2010-11-10 14:06:44 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2010-11-10 14:06:44 +0000 |
commit | 4b199c9718e3ed6ec9d7283bd3614e21e93cb17d (patch) | |
tree | 4c345b895391b5e9bcd55d9e69c71b5811355ca2 /science/libsvm/Makefile | |
parent | 350309b348c831faa5f3c15044d08c62524bd1ff (diff) |
- 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@
Notes
Notes:
svn path=/head/; revision=264356
Diffstat (limited to 'science/libsvm/Makefile')
-rw-r--r-- | science/libsvm/Makefile | 5 |
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}; \ |