From b95995dc2643d35b18f6b298855c4d8c945e769f Mon Sep 17 00:00:00 2001 From: stephen Date: Sun, 26 Jan 2014 23:00:43 +0000 Subject: - Implement staging. --- math/naturalmath/Makefile | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'math') diff --git a/math/naturalmath/Makefile b/math/naturalmath/Makefile index 1a26e3cbaec1..13f79e7947e7 100644 --- a/math/naturalmath/Makefile +++ b/math/naturalmath/Makefile @@ -14,22 +14,21 @@ USE_TEX= latex:build dvipsk:build USES= shebangfix perl5 SHEBANG_FILES= naturalmath -NO_STAGE= yes do-build: (cd ${WRKSRC}; ./naturalmath tutor.nat; \ ${LOCALBASE}/bin/latex tutor; ${LOCALBASE}/bin/latex tutor; \ ${LOCALBASE}/bin/dvips tutor -o tutor.ps) do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/naturalmath ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/naturalmath ${STAGEDIR}${PREFIX}/bin .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/install.html ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/tutor.nat ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/tutor.tex ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/tutor.dvi ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/tutor.ps ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/naturalmath.cgi ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/install.html ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/tutor.nat ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/tutor.tex ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/tutor.dvi ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/tutor.ps ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/naturalmath.cgi ${STAGEDIR}${DOCSDIR} .endif .include -- cgit