Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2018 08:34:32 +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: r472369 - head/math/tetgen
Message-ID:  <201806140834.w5E8YWFi025851@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806140834.w5E8YWFi025851>