aboutsummaryrefslogtreecommitdiff
path: root/graphics/libimg
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-13 08:34:32 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-13 08:34:32 +0000
commitdceb5b36a26a02f6abe870cf8d6771736de24add (patch)
tree0f5b6f8f2274f3de9da64c62ff9ee942eb7b491a /graphics/libimg
parent9d58897a8b30061e36035a80cae3e0288e7cbb8e (diff)
downloadports-dceb5b36a26a02f6abe870cf8d6771736de24add.tar.gz
ports-dceb5b36a26a02f6abe870cf8d6771736de24add.zip
- Switch to new test framework
- Switch to options helpers Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=472295
Diffstat (limited to 'graphics/libimg')
-rw-r--r--graphics/libimg/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/graphics/libimg/Makefile b/graphics/libimg/Makefile
index c34301a86951..70d2f84421ae 100644
--- a/graphics/libimg/Makefile
+++ b/graphics/libimg/Makefile
@@ -54,17 +54,13 @@ post-configure:
${WRKSRC}/$l/Makefile
.endfor
-test check regression-test: build
+do-test:
cd ${WRKSRC}/tests && \
- ${SETENV} TCLLIBPATH=${WRKSRC:Q} ${WISH} ${WRKSRC}/tests/all
+ ${SETENV} TCLLIBPATH=${WRKSRC:Q} ${WISH} ${WRKSRC}/tests/all
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MEXAMPLES}
-post-install:
- ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/msgs/
+post-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/msgs/
${INSTALL_DATA} ${WRKSRC}/msgs/*.msg ${STAGEDIR}${EXAMPLESDIR}/msgs/
${INSTALL_SCRIPT} ${WRKSRC}/demo.tcl ${WRKSRC}/tkv.tcl ${STAGEDIR}${EXAMPLESDIR}/
-.endif
.include <bsd.port.mk>