freebsd-ports/textproc/tex2im/Makefile
Pav Lucistnik e7510297ce - Update to 1.7
PR:		ports/60850
Submitted by:	Vincent Tantardini <vinc@FreeBSD-fr.org>
2004-01-03 12:02:08 +00:00

35 lines
763 B
Makefile

# ex:ts=8
# New ports collection makefile for: tex2im
# Date created: Nov 28, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= tex2im
PORTVERSION= 1.7
CATEGORIES= textproc
MASTER_SITES= http://www.nought.de/
MAINTAINER= ports@FreeBSD.org
COMMENT= Converts LaTeX formulas into high resolution pixmap graphics
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 \
latex:${PORTSDIR}/print/teTeX \
convert:${PORTSDIR}/graphics/ImageMagick
USE_REINPLACE= yes
NO_BUILD= yes
post-patch:
@${REINPLACE_CMD} -e "s,^#!/bin/bash,#!${LOCALBASE}/bin/bash,g" ${WRKSRC}/tex2im
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tex2im ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>