diff options
author | rafan <rafan@FreeBSD.org> | 2014-05-30 21:47:15 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2014-05-30 21:47:15 +0800 |
commit | 65c7524405968ca9634a1e7a46bdc1296ab1a109 (patch) | |
tree | b381c01b7210c78cf089c02a99630d2bb30acb56 /science/libsvm | |
parent | 0ccc5a3a32b54a9b140167273d3d4bf185be0bf5 (diff) | |
download | freebsd-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')
-rw-r--r-- | science/libsvm/Makefile | 20 | ||||
-rw-r--r-- | science/libsvm/distinfo | 4 |
2 files changed, 11 insertions, 13 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" diff --git a/science/libsvm/distinfo b/science/libsvm/distinfo index a10002d5bca0..d2bfe46a6856 100644 --- a/science/libsvm/distinfo +++ b/science/libsvm/distinfo @@ -1,2 +1,2 @@ -SHA256 (libsvm-3.1.zip) = b1739bc67c77fb247f29d9007937e0fa1525b01d33b1388132cf1e9c775b3e61 -SIZE (libsvm-3.1.zip) = 638882 +SHA256 (libsvm-3.18.zip) = 06816700cb410eef361272aee7eaeede0ae2451b0b34ddc5e65f4faa8b604b84 +SIZE (libsvm-3.18.zip) = 637551 |