Date: Fri, 15 Jun 2018 08:34:38 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r472432 - head/math/libocas Message-ID: <201806150834.w5F8YcDl067025@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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 \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806150834.w5F8YcDl067025>