From owner-svn-ports-all@freebsd.org Fri Jun 15 08:34:39 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 563F810099B8; Fri, 15 Jun 2018 08:34:39 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 08EF580722; Fri, 15 Jun 2018 08:34:39 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DE33015090; Fri, 15 Jun 2018 08:34:38 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5F8YcAP067026; Fri, 15 Jun 2018 08:34:38 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5F8YcDl067025; Fri, 15 Jun 2018 08:34:38 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201806150834.w5F8YcDl067025@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 15 Jun 2018 08:34:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r472432 - head/math/libocas X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/math/libocas X-SVN-Commit-Revision: 472432 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 08:34:39 -0000 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 \