diff options
Diffstat (limited to 'math/naturalmath')
-rw-r--r-- | math/naturalmath/Makefile | 17 |
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> |