diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2018-06-13 16:34:32 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2018-06-13 16:34:32 +0800 |
commit | c80a761be1fdf8eba3af110d9545fe72ff69bfa6 (patch) | |
tree | 0f5b6f8f2274f3de9da64c62ff9ee942eb7b491a | |
parent | 60be5f5e65f9b7707279cb8ef5e9d6fe79d3654b (diff) | |
download | freebsd-ports-gnome-c80a761be1fdf8eba3af110d9545fe72ff69bfa6.tar.gz freebsd-ports-gnome-c80a761be1fdf8eba3af110d9545fe72ff69bfa6.tar.zst freebsd-ports-gnome-c80a761be1fdf8eba3af110d9545fe72ff69bfa6.zip |
- Switch to new test framework
- Switch to options helpers
Approved by: portmgr blanket
-rw-r--r-- | graphics/libimg/Makefile | 12 |
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> |