From owner-svn-ports-all@freebsd.org Thu Jun 14 08:34:33 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 102DB1010C57; Thu, 14 Jun 2018 08:34:33 +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 B1CFF7D780; Thu, 14 Jun 2018 08:34:32 +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 912372607D; Thu, 14 Jun 2018 08:34:32 +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 w5E8YWDb025852; Thu, 14 Jun 2018 08:34:32 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5E8YWFi025851; Thu, 14 Jun 2018 08:34:32 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201806140834.w5E8YWFi025851@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 14 Jun 2018 08:34:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r472369 - head/math/tetgen X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/math/tetgen X-SVN-Commit-Revision: 472369 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: Thu, 14 Jun 2018 08:34:33 -0000 Author: amdmi3 Date: Thu Jun 14 08:34:32 2018 New Revision: 472369 URL: https://svnweb.freebsd.org/changeset/ports/472369 Log: - Switch to options helpers - Switch to new test framework Modified: head/math/tetgen/Makefile Modified: head/math/tetgen/Makefile ============================================================================== --- head/math/tetgen/Makefile Thu Jun 14 08:21:12 2018 (r472368) +++ head/math/tetgen/Makefile Thu Jun 14 08:34:32 2018 (r472369) @@ -14,22 +14,24 @@ COMMENT= Quality Tetrahedral Mesh Generator and Delaun LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -OPTIONS_DEFINE= EXAMPLES - MAKEFILE= makefile ALL_TARGET= tetgen tetlib PORTEXAMPLES= example.poly PLIST_FILES= bin/tetgen include/tetgen.h lib/libtet.a +OPTIONS_DEFINE= EXAMPLES + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tetgen ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/tetgen.h ${STAGEDIR}${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/libtet.a ${STAGEDIR}${PREFIX}/lib + +do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/example.poly ${STAGEDIR}${EXAMPLESDIR} -regression-test: +do-test: (cd ${INSTALL_WRKSRC} && ./tetgen -p example.poly ) .include