2013-07-26 09:33:41 +02:00
|
|
|
# Created by: Stephen Montgomery-Smith
|
2001-12-03 07:20:00 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= naturalmath
|
|
|
|
PORTVERSION= 0.5
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 6
|
2001-12-03 07:20:00 +01:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= http://www.math.missouri.edu/~stephen/naturalmath/
|
|
|
|
|
2011-06-14 09:38:51 +02:00
|
|
|
MAINTAINER= stephen@FreeBSD.org
|
2003-02-21 13:51:06 +01:00
|
|
|
COMMENT= Script to turn intuitively written math into latex
|
2001-12-03 07:20:00 +01:00
|
|
|
|
2013-06-06 17:59:14 +02:00
|
|
|
USE_TEX= latex:build dvipsk:build
|
2013-09-12 19:07:08 +02:00
|
|
|
USES= shebangfix perl5
|
2013-07-26 09:33:41 +02:00
|
|
|
SHEBANG_FILES= naturalmath
|
2001-12-03 07:20:00 +01:00
|
|
|
|
2014-07-04 02:52:39 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2001-12-03 07:20:00 +01:00
|
|
|
do-build:
|
|
|
|
(cd ${WRKSRC}; ./naturalmath tutor.nat; \
|
|
|
|
${LOCALBASE}/bin/latex tutor; ${LOCALBASE}/bin/latex tutor; \
|
|
|
|
${LOCALBASE}/bin/dvips tutor -o tutor.ps)
|
|
|
|
|
|
|
|
do-install:
|
2014-01-27 00:00:43 +01:00
|
|
|
${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}
|
2001-12-03 07:20:00 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|