aboutsummaryrefslogtreecommitdiffstats
path: root/www/twiki-MathModePlugin/Makefile
blob: 515d56d3568ebf7150cac39ff7b214e06e4ac1f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$

PORTNAME=   MathModePlugin
SVNREV=     15934
MASTER_SITES=   http://protey.ru/freebsd/distfiles/ \
        ${MASTER_SITE_LOCAL:S!$!skv/!}

COMMENT=    Include LaTeX formatted math in your TWiki pages

RUN_DEPENDS=    dvipng:${PORTSDIR}/print/teTeX-base \
        latex:${PORTSDIR}/print/teTeX-base \
        convert:${PORTSDIR}/graphics/ImageMagick

post-patch:
    ${REINPLACE_CMD} -i '' -e 's!=/usr/bin!=${LOCALBASE}/bin!g; s!=/bin!=/usr/bin!g;' \
        ${WRKSRC}/pub/TWiki/MathModePlugin/latex2img

.include "${.CURDIR}/../twiki/bsd.twiki.mk"
.include <bsd.port.mk>