freebsd-ports/textproc/tex2im/Makefile
Koop Mast 289883b11b Update ImageMagick to 6.9.10.14 [1]
* Add PKGNAMESUFFIX and rename the directory. This was done to show
  that IM6 is not the "main" version. But still fully supported by upstream.
* Convert a number of options to optionhelpers.
* Add option for ISO/IEC 23008-12:2017 HEIF suport
* Add comment to pkg-descr explaining IM6's "legacy" tag.
* Add comment to the patch-config_policy.xml file why it still needed.

Please note that IM7 is not a drop in replacement due to library API and
command arguments changes. And as a result ports need to decide for themself
which version to use.

Chase these changes in all the ports that using IM6.

PR:		225102 (based on, only the version update) [1]
Submitted by:	Pascal Christen <pascal.christen@hostpoint.ch>
2018-11-10 19:57:07 +00:00

34 lines
849 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= tex2im
PORTVERSION= 1.8
PORTREVISION= 10
CATEGORIES= textproc
MASTER_SITES= http://www.nought.de/
MAINTAINER= TsurutaniNaoki@gmail.com
COMMENT= Converts LaTeX formulas into high resolution pixmap graphics
RUN_DEPENDS= convert:graphics/ImageMagick6 \
bash:shells/bash
USE_TEX= latex
NO_BUILD= yes
PLIST_FILES= bin/tex2im
PORTEXAMPLES= example1.png example1.tex example2.png example2.tex \
example3.png example3.tex example4.png example4.tex \
fig_1.eps
OPTIONS_DEFINE= EXAMPLES
post-patch:
@${REINPLACE_CMD} -e "s,^#!/bin/bash,#!${LOCALBASE}/bin/bash,g" ${WRKSRC}/tex2im
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tex2im ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} \
${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>