Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2018 08:34:32 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472295 - head/graphics/libimg
Message-ID:  <201806130834.w5D8YWhs083806@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806130834.w5D8YWhs083806>