aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/tex2im/Makefile
blob: f1b941d5a2976a12c3463b2a47f3c1b12201359a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# ex:ts=8
# New ports collection makefile for:    tex2im
# Date created:         Nov 28, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   tex2im
PORTVERSION=    1.8
PORTREVISION=   4
CATEGORIES= textproc
MASTER_SITES=   http://www.nought.de/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Converts LaTeX formulas into high resolution pixmap graphics

RUN_DEPENDS=    convert:${PORTSDIR}/graphics/ImageMagick \
        latex:${PORTSDIR}/print/teTeX \
        bash:${PORTSDIR}/shells/bash

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>