mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# New ports collection makefile for: naturalmath
|
|
# Date created: 1 November 2001
|
|
# Whom: Stephen Montgomery-Smith
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= naturalmath
|
|
PORTVERSION= 0.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://www.math.missouri.edu/~stephen/naturalmath/
|
|
|
|
MAINTAINER= stephen@math.missouri.edu
|
|
COMMENT= Script to turn intuitively written math into latex
|
|
|
|
BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX
|
|
|
|
USE_PERL5= yes
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e 's,^#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/naturalmath
|
|
|
|
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
|
|
.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}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|