mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Update to 3.18
- Support staging
This commit is contained in:
parent
8caa4c3a39
commit
9a028b0117
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355837
@ -9,5 +9,4 @@ MASTERDIR= ${.CURDIR}/../../science/libsvm
|
||||
|
||||
PLIST= ${.CURDIR}/pkg-plist
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${MASTERDIR}/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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user