Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2017 09:01:13 +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: r442143 - head/textproc/xml_ez_out
Message-ID:  <201705310901.v4V91Dnw029353@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk>
-
 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 <bsd.port.mk>



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