From 09667e28795907c3c1460f3816e48263922c646c Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Sun, 26 Jan 2014 12:14:29 +0000 Subject: [PATCH] Convert to staging. Sponsored by: Absolight --- textproc/db2latex/Makefile | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/textproc/db2latex/Makefile b/textproc/db2latex/Makefile index c371b4e01aec..2ecefe0fa94d 100644 --- a/textproc/db2latex/Makefile +++ b/textproc/db2latex/Makefile @@ -17,21 +17,16 @@ RUN_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt \ NO_BUILD= yes -.if !defined(NOPORTDOCS) PORTDOCS= * -.endif -NO_STAGE= yes do-install: - @${MKDIR} ${DATADIR} - ${CP} -R ${WRKSRC}/xsl ${DATADIR} - @${FIND} ${DATADIR} ! -type d | \ - ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${DATADIR} -type d | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DATADIR} + ${CP} -R ${WRKSRC}/xsl ${STAGEDIR}${DATADIR} + @${FIND} ${STAGEDIR}${DATADIR} ! -type d | \ + ${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} + @${FIND} ${STAGEDIR}${DATADIR} -type d | ${SORT} -r | \ + ${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${CP} -R ${WRKSRC}/doc/ ${STAGEDIR}${DOCSDIR} .include