aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-03-22 16:33:19 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-03-22 16:33:19 +0800
commit115075a6a441be642040882bba2d7014867a90e6 (patch)
tree070c622c961e5ac94a059078da82d6dc8cc62de2 /science
parent2813140a3eef388bfc540f0143e0f78771e73915 (diff)
downloadfreebsd-ports-gnome-115075a6a441be642040882bba2d7014867a90e6.tar.gz
freebsd-ports-gnome-115075a6a441be642040882bba2d7014867a90e6.tar.zst
freebsd-ports-gnome-115075a6a441be642040882bba2d7014867a90e6.zip
- Add missing depend on libX11
- Switch to new test framework Approved by: portmgr blanket
Diffstat (limited to 'science')
-rw-r--r--science/cgnslib/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/science/cgnslib/Makefile b/science/cgnslib/Makefile
index d4a79cc9e6c7..2214f573c7a3 100644
--- a/science/cgnslib/Makefile
+++ b/science/cgnslib/Makefile
@@ -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}