aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorstephen <stephen@FreeBSD.org>2014-01-27 07:00:43 +0800
committerstephen <stephen@FreeBSD.org>2014-01-27 07:00:43 +0800
commitb95995dc2643d35b18f6b298855c4d8c945e769f (patch)
treef69b5744988a1ab8cdb7c4c7030ab08f2d36fbd0 /math
parent06c670eeda3e104bc2a0420b926982bbd925d668 (diff)
downloadfreebsd-ports-gnome-b95995dc2643d35b18f6b298855c4d8c945e769f.tar.gz
freebsd-ports-gnome-b95995dc2643d35b18f6b298855c4d8c945e769f.tar.zst
freebsd-ports-gnome-b95995dc2643d35b18f6b298855c4d8c945e769f.zip
- Implement staging.
Diffstat (limited to 'math')
-rw-r--r--math/naturalmath/Makefile17
1 files changed, 8 insertions, 9 deletions
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 <bsd.port.mk>