mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-07 02:06:57 +00:00
de78af3ac5
Reviewed by: exp8 run on pointyhat Supported by: miwi
40 lines
900 B
Makefile
40 lines
900 B
Makefile
# New ports collection makefile for: texvc
|
|
# Date created: 2008-06-14
|
|
# Whom: Max Brazhnikov <makc@issp.ac.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= texvc
|
|
PORTVERSION= 20050202
|
|
PORTREVISION= 2
|
|
CATEGORIES= print
|
|
MASTER_SITES= SF/wikipedia/Support%20files/${PORTNAME}%20Linux-x86%20source%20%2B%20binary
|
|
DISTNAME= ${PORTNAME}-linux-x86-${PORTVERSION}
|
|
|
|
MAINTAINER= makc@FreeBSD.org
|
|
COMMENT= Convert latex equations to HTML, MathML, PNG
|
|
|
|
USE_OCAML= yes
|
|
NO_OCAML_RUNDEPENDS= yes
|
|
USE_GMAKE= yes
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
|
|
|
PLIST_FILES= bin/texvc
|
|
|
|
OPTIONS= RASTER "rasterization support" on
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !defined(WITHOUT_RASTER)
|
|
USE_GHOSTSCRIPT_RUN= yes
|
|
RUN_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base \
|
|
dvips:${PORTSDIR}/print/dvipsk-tetex \
|
|
convert:${PORTSDIR}/graphics/ImageMagick
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/texvc ${PREFIX}/bin
|
|
|
|
.include <bsd.port.post.mk>
|