Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2015 15:00:21 +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: r404429 - head/cad/sceptre
Message-ID:  <201512251500.tBPF0LCP021925@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Dec 25 15:00:20 2015
New Revision: 404429
URL: https://svnweb.freebsd.org/changeset/ports/404429

Log:
  - Switch to options helpers
  - Switch to new test framework

Modified:
  head/cad/sceptre/Makefile

Modified: head/cad/sceptre/Makefile
==============================================================================
--- head/cad/sceptre/Makefile	Fri Dec 25 14:43:57 2015	(r404428)
+++ head/cad/sceptre/Makefile	Fri Dec 25 15:00:20 2015	(r404429)
@@ -19,6 +19,7 @@ NO_WRKSUBDIR=		yes
 
 FFLAGS+=	-fno-automatic
 PORTDOCS=	doc_en.pdf doc_ger.pdf install.pdf
+
 OPTIONS_DEFINE=	DOCS
 
 post-patch:
@@ -44,15 +45,14 @@ post-patch:
 		-e "s!^(FC=')(.*)(')!\1${FC} ${FFLAGS}\3!" \
 				${WRKSRC}/bin/sceptre
 
-post-install:
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/install.pdf ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC}/doc ; ${INSTALL_DATA} ${PORTDOCS:Mdoc_*} ${STAGEDIR}${DOCSDIR}
 
-.if !defined(BATCH)
-check test: install
-	cd ${WRKSRC}/samples; for s in ${WRKSRC}/samples/*.d ; \
-	do ${WRKSRC}/bin/sceptre $${s%.d} ; done
-.endif
+do-test:
+	cd ${WRKSRC}/samples; for s in ${WRKSRC}/samples/*.d; do \
+		${WRKSRC}/bin/sceptre $${s%.d}; \
+	done
 
 .include <bsd.port.mk>



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