svn commit: r472295 - head/graphics/libimg

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Jun 13 08:34:33 UTC 2018


Author: amdmi3
Date: Wed Jun 13 08:34:32 2018
New Revision: 472295
URL: https://svnweb.freebsd.org/changeset/ports/472295

Log:
  - Switch to new test framework
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/graphics/libimg/Makefile

Modified: head/graphics/libimg/Makefile
==============================================================================
--- head/graphics/libimg/Makefile	Wed Jun 13 08:28:07 2018	(r472294)
+++ head/graphics/libimg/Makefile	Wed Jun 13 08:34:32 2018	(r472295)
@@ -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>


More information about the svn-ports-all mailing list