From owner-svn-ports-head@freebsd.org Wed May 31 09:01:13 2017 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 F347FAFAE2F; Wed, 31 May 2017 09:01:13 +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 C3A466FAE4; Wed, 31 May 2017 09:01:13 +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 v4V91DMu029354; Wed, 31 May 2017 09:01:13 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4V91Dnw029353; Wed, 31 May 2017 09:01:13 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201705310901.v4V91Dnw029353@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 31 May 2017 09:01:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442143 - head/textproc/xml_ez_out 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.23 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: Wed, 31 May 2017 09:01:14 -0000 Author: amdmi3 Date: Wed May 31 09:01:12 2017 New Revision: 442143 URL: https://svnweb.freebsd.org/changeset/ports/442143 Log: - Switch to options helpers - Silence post-extract Modified: head/textproc/xml_ez_out/Makefile Modified: head/textproc/xml_ez_out/Makefile ============================================================================== --- head/textproc/xml_ez_out/Makefile Wed May 31 09:00:30 2017 (r442142) +++ head/textproc/xml_ez_out/Makefile Wed May 31 09:01:12 2017 (r442143) @@ -22,18 +22,16 @@ PORTEXAMPLES= example.gpr tmeztf.adb runme.sh OPTIONS_DEFINE= DOCS EXAMPLES -.include - post-extract: - ${CP} ${FILESDIR}/xezo_bld.gpr ${WRKSRC} - ${SED} -e "s,@PREFIX@,${LOCALBASE},g" ${FILESDIR}/runme.sh.in \ + @${CP} ${FILESDIR}/xezo_bld.gpr ${WRKSRC} + @${SED} -e "s,@PREFIX@,${LOCALBASE},g" ${FILESDIR}/runme.sh.in \ > ${WRKSRC}/runme.sh do-build: (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gnatmake -p -Pxezo_bld) do-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \ + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \ ${STAGEDIR}${PREFIX}/lib/xml_ez_out \ ${STAGEDIR}${PREFIX}/include/xml_ez_out ${INSTALL_DATA} ${FILESDIR}/xml_ez_out.gpr \ @@ -42,15 +40,15 @@ do-install: ${STAGEDIR}${PREFIX}/include/xml_ez_out ${INSTALL_DATA} ${WRKSRC}/lib/* \ ${STAGEDIR}${PREFIX}/lib/xml_ez_out -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${STAGEDIR}${DOCSDIR} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${BUILD_WRKSRC}/README ${STAGEDIR}${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + +do-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/runme.sh ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${BUILD_WRKSRC}/tmeztf.adb \ ${FILESDIR}/example.gpr ${STAGEDIR}${EXAMPLESDIR} -.endif .include