freebsd-ports/www/twiki-MathModePlugin/Makefile
Hiroki Sato 7dadfc8a88 Remove *_DEPENDS from ports which depend on teTeX and add USE_TEX=tetex
instead to make migration to TeXLive easier.
2013-05-06 02:00:40 +00:00

20 lines
528 B
Makefile

# 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= convert:${PORTSDIR}/graphics/ImageMagick
USE_TEX= tetex
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>