svn commit: r472432 - head/math/libocas
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Jun 15 08:34:39 UTC 2018
Author: amdmi3
Date: Fri Jun 15 08:34:38 2018
New Revision: 472432
URL: https://svnweb.freebsd.org/changeset/ports/472432
Log:
- Add LICENSE_FILE
- Unsilence installation commands
- Switch to new test framework
Approved by: portmgr blanket
Modified:
head/math/libocas/Makefile
Modified: head/math/libocas/Makefile
==============================================================================
--- head/math/libocas/Makefile Fri Jun 15 07:56:41 2018 (r472431)
+++ head/math/libocas/Makefile Fri Jun 15 08:34:38 2018 (r472432)
@@ -11,6 +11,7 @@ MAINTAINER= ports at FreeBSD.org
COMMENT= Efficient training of SVM classifiers
LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake zip
USE_LDCONFIG= yes
@@ -41,12 +42,12 @@ post-patch:
do-install:
.for p in linclassif msvmocas svmocas
- @${INSTALL_PROGRAM} ${WRKSRC}/${p} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${p} ${STAGEDIR}${PREFIX}/bin
.endfor
- @${INSTALL_LIB} ${WRKSRC}/libocas.so.1 ${STAGEDIR}${PREFIX}/lib
+ ${INSTALL_LIB} ${WRKSRC}/libocas.so.1 ${STAGEDIR}${PREFIX}/lib
@${LN} -sf libocas.so.1 ${STAGEDIR}${PREFIX}/lib/libocas.so
-check regression-test test: build
+do-test:
${WRKSRC}/msvmocas -c 10 -v 1 ${WRKSRC}/data/example4_train.light \
${WRKSRC}/data/msvmocas.model
${WRKSRC}/linclassif -e -v 1 -o ${WRKSRC}/data/example4_test.pred \
More information about the svn-ports-all
mailing list