From b8fac967f0189b8c956549d20c9b2eb395c438ef Mon Sep 17 00:00:00 2001 From: rafan Date: Wed, 10 Nov 2010 14:06:44 +0000 Subject: - 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@ --- science/libsvm/Makefile | 5 ++++- science/libsvm/pkg-plist | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'science') 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 -- cgit