1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

- Switch to new test framework

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2018-06-01 08:34:21 +00:00
parent 506b586230
commit 00f85d05e6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=471251

View File

@ -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}