aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/tk86
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-01 08:34:21 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-01 08:34:21 +0000
commit00f85d05e64c37fb3cf9493aa211ca26f8511221 (patch)
tree273bdcb9420fefd3958aac04dd91dbd3c685f7cc /x11-toolkits/tk86
parent506b58623020969d6631fa91ea3bb8025682d1d5 (diff)
downloadports-00f85d05e64c37fb3cf9493aa211ca26f8511221.tar.gz
ports-00f85d05e64c37fb3cf9493aa211ca26f8511221.zip
- Switch to new test framework
Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=471251
Diffstat (limited to 'x11-toolkits/tk86')
-rw-r--r--x11-toolkits/tk86/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-toolkits/tk86/Makefile b/x11-toolkits/tk86/Makefile
index d9f1136b36da..2a04621e7ed7 100644
--- a/x11-toolkits/tk86/Makefile
+++ b/x11-toolkits/tk86/Makefile
@@ -31,6 +31,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix
ALL_TARGET= all
INSTALL_TARGET= install-strip
+TEST_TARGET= test
USES+= tcl:${SHORT_TK_VER},tea
USE_LDCONFIG= yes
@@ -68,8 +69,7 @@ post-patch:
${REINPLACE_CMD} -e '/^Requires/s|tcl|tcl${SHORT_TK_VER}|' \
${WRKSRC}/tk.pc.in
-regression-test: build
- cd ${WRKSRC}; ${MAKE} test
+post-test:
${ECHO_CMD} "package require Tk" | tclsh${TK_VER}
${ECHO_CMD} "load libtk${SHORT_TK_VER}.so" | tclsh${TK_VER}