diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2018-06-15 16:34:38 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2018-06-15 16:34:38 +0800 |
commit | 7ba1dcb18e92dba830cb490bffafedf4b23d71d8 (patch) | |
tree | ce8ac8ef9f2c572e8a31e6c4a0e8983d63d3cbf1 /math | |
parent | b5d68500e4f63c627de4c7cbd0e7bfaf32967fd0 (diff) | |
download | freebsd-ports-gnome-7ba1dcb18e92dba830cb490bffafedf4b23d71d8.tar.gz freebsd-ports-gnome-7ba1dcb18e92dba830cb490bffafedf4b23d71d8.tar.zst freebsd-ports-gnome-7ba1dcb18e92dba830cb490bffafedf4b23d71d8.zip |
- Add LICENSE_FILE
- Unsilence installation commands
- Switch to new test framework
Approved by: portmgr blanket
Diffstat (limited to 'math')
-rw-r--r-- | math/libocas/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/math/libocas/Makefile b/math/libocas/Makefile index b9defb478079..8004cb179775 100644 --- a/math/libocas/Makefile +++ b/math/libocas/Makefile @@ -11,6 +11,7 @@ MAINTAINER= ports@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 \ |