From owner-svn-ports-head@freebsd.org Fri Dec 25 15:00:22 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38D7DA51C09; Fri, 25 Dec 2015 15:00:22 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 068591F35; Fri, 25 Dec 2015 15:00:21 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBPF0LJ5021926; Fri, 25 Dec 2015 15:00:21 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBPF0LCP021925; Fri, 25 Dec 2015 15:00:21 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201512251500.tBPF0LCP021925@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 25 Dec 2015 15:00:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404429 - head/cad/sceptre X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2015 15:00:22 -0000 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