svn commit: r465267 - head/science/cgnslib
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Mar 22 08:33:20 UTC 2018
Author: amdmi3
Date: Thu Mar 22 08:33:19 2018
New Revision: 465267
URL: https://svnweb.freebsd.org/changeset/ports/465267
Log:
- Add missing depend on libX11
- Switch to new test framework
Approved by: portmgr blanket
Modified:
head/science/cgnslib/Makefile
Modified: head/science/cgnslib/Makefile
==============================================================================
--- head/science/cgnslib/Makefile Thu Mar 22 08:26:45 2018 (r465266)
+++ head/science/cgnslib/Makefile Thu Mar 22 08:33:19 2018 (r465267)
@@ -52,7 +52,7 @@ TESTSBIN= cgwrite cgread test_partial
.if ${PORT_OPTIONS:MTOOLS}
USES+= tk
USE_GL= gl glu
-USE_XORG= xmu
+USE_XORG= x11 xmu
CMAKE_ARGS+= -DCGNS_BUILD_CGNSTOOLS:BOOL=TRUE \
-DTCL_INCLUDE_PATH:STRING="${TCL_INCLUDEDIR}" \
-DTK_INCLUDE_PATH:STRING="${TK_INCLUDEDIR}"
@@ -63,12 +63,10 @@ PLIST_SUB= TOOLS="@comment "
LIBVER= ${PORTVERSION:R}
-.if ${PORT_OPTIONS:MTESTS}
-regression-test:
-. for pg in ${TESTSBIN}
+do-test-TESTS-on:
+.for pg in ${TESTSBIN}
@(cd ${BUILD_WRKSRC}/src/tests; ./${pg})
-. endfor
-.endif
+.endfor
post-install:
${LN} -sf libcgns.so.${LIBVER} ${STAGEDIR}${PREFIX}/lib/libcgns.so.${LIBVER:R}
More information about the svn-ports-all
mailing list