Date: Fri, 10 Nov 2017 09:04:40 +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: r453890 - head/textproc/slides Message-ID: <201711100904.vAA94e0v091690@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri Nov 10 09:04:40 2017 New Revision: 453890 URL: https://svnweb.freebsd.org/changeset/ports/453890 Log: - Simplify installation - Switch to options helpers Modified: head/textproc/slides/Makefile Modified: head/textproc/slides/Makefile ============================================================================== --- head/textproc/slides/Makefile Fri Nov 10 09:04:36 2017 (r453889) +++ head/textproc/slides/Makefile Fri Nov 10 09:04:40 2017 (r453890) @@ -23,21 +23,16 @@ NO_BUILD= yes USES= tar:bzip2 +INSTDIR= ${PREFIX}/share/xsl/${PORTNAME} + OPTIONS_DEFINE= DOCS -INSTDIR= share/xsl/${PORTNAME} -PINSTDIR= ${PREFIX}/${INSTDIR} -COPYDIRS= browser graphics schema xsl - - do-install: - @${MKDIR} ${STAGEDIR}${PINSTDIR} -.for i in VERSION catalog - (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${PINSTDIR}) -.endfor -.for i in ${COPYDIRS} - @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${PINSTDIR}) -.endfor + @${MKDIR} ${STAGEDIR}${INSTDIR} + ${INSTALL_DATA} ${WRKSRC}/VERSION ${WRKSRC}/catalog ${STAGEDIR}${INSTDIR} + @(cd ${WRKSRC} && ${COPYTREE_SHARE} "browser graphics schema xsl" ${STAGEDIR}${INSTDIR}) + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711100904.vAA94e0v091690>