1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/math/naturalmath/Makefile
Adam Weinberger d9b5127626 Remove NOPORTDOCS and NOPORTEXAMPLES.
Approved by:	portmgr (blanket)
2014-07-04 00:52:39 +00:00

35 lines
1.0 KiB
Makefile

# Created by: Stephen Montgomery-Smith
# $FreeBSD$
PORTNAME= naturalmath
PORTVERSION= 0.5
PORTREVISION= 6
CATEGORIES= math
MASTER_SITES= http://www.math.missouri.edu/~stephen/naturalmath/
MAINTAINER= stephen@FreeBSD.org
COMMENT= Script to turn intuitively written math into latex
USE_TEX= latex:build dvipsk:build
USES= shebangfix perl5
SHEBANG_FILES= naturalmath
OPTIONS_DEFINE= DOCS
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 ${STAGEDIR}${PREFIX}/bin
@${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}
.include <bsd.port.mk>