aboutsummaryrefslogtreecommitdiffstats
path: root/science/libsvm/Makefile
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2014-05-30 21:47:15 +0800
committerrafan <rafan@FreeBSD.org>2014-05-30 21:47:15 +0800
commit65c7524405968ca9634a1e7a46bdc1296ab1a109 (patch)
treeb381c01b7210c78cf089c02a99630d2bb30acb56 /science/libsvm/Makefile
parent0ccc5a3a32b54a9b140167273d3d4bf185be0bf5 (diff)
downloadfreebsd-ports-gnome-65c7524405968ca9634a1e7a46bdc1296ab1a109.tar.gz
freebsd-ports-gnome-65c7524405968ca9634a1e7a46bdc1296ab1a109.tar.zst
freebsd-ports-gnome-65c7524405968ca9634a1e7a46bdc1296ab1a109.zip
- Update to 3.18
- Support staging
Diffstat (limited to 'science/libsvm/Makefile')
-rw-r--r--science/libsvm/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/science/libsvm/Makefile b/science/libsvm/Makefile
index 5f65e61e0398..fe2d9ce50790 100644
--- a/science/libsvm/Makefile
+++ b/science/libsvm/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= libsvm
-PORTVERSION= 3.10
-PORTEPOCH= 1
+PORTVERSION= 3.18
CATEGORIES= science math
MASTER_SITES= http://www.csie.ntu.edu.tw/~cjlin/libsvm/ \
http://www.csie.ntu.edu.tw/~cjlin/libsvm/oldfiles/
@@ -44,7 +43,6 @@ SUB_LIST= DATADIR=${DATADIR}
.endif
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MDOCS}
@@ -70,15 +68,15 @@ do-install:
.else
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/svm-train ${PREFIX}/bin/
- ${INSTALL_PROGRAM} ${WRKSRC}/svm-predict ${PREFIX}/bin/
- ${INSTALL_PROGRAM} ${WRKSRC}/svm-scale ${PREFIX}/bin/
- ${INSTALL_DATA} ${WRKSRC}/svm.h ${PREFIX}/include/
- ${INSTALL_LIB} ${WRKSRC}/libsvm.so.2 ${PREFIX}/lib/
- ${LN} -sf libsvm.so.2 ${PREFIX}/lib/libsvm.so
+ ${INSTALL_PROGRAM} ${WRKSRC}/svm-train ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/svm-predict ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/svm-scale ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_DATA} ${WRKSRC}/svm.h ${STAGEDIR}${PREFIX}/include/
+ ${INSTALL_LIB} ${WRKSRC}/libsvm.so.2 ${STAGEDIR}${PREFIX}/lib/
+ ${LN} -sf libsvm.so.2 ${STAGEDIR}${PREFIX}/lib/libsvm.so
${MKDIR} ${DATADIR}
for f in ${TOOLS}; do \
- ${INSTALL_DATA} ${WRKSRC}/$$f ${DATADIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/$$f ${STAGEDIR}${DATADIR}; \
done
.endif
@@ -87,7 +85,7 @@ post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
for f in ${TXT_DOCS}; do \
- ${INSTALL_DATA} ${WRKSRC}/$$f ${DOCSDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/$$f ${STAGEDIR}${DOCSDIR}; \
done
.endif
.if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX} != "-python"