svn commit: r524634 - head/print/latex2rtf
Yuri Victorovich
yuri at FreeBSD.org
Thu Jan 30 06:38:34 UTC 2020
Author: yuri
Date: Thu Jan 30 06:38:33 2020
New Revision: 524634
URL: https://svnweb.freebsd.org/changeset/ports/524634
Log:
print/latex2rtf: Unbreak the option LATEX2PNG
It was broken in the run-time:
/usr/local/bin/latex2png: line 140: latex: command not found
/usr/local/bin/latex2png: line 151: xelatex: command not found
and latex2png also says in its text that it requires dvipsk.
Approved by: portmgr (unbreak)
Modified:
head/print/latex2rtf/Makefile
Modified: head/print/latex2rtf/Makefile
==============================================================================
--- head/print/latex2rtf/Makefile Thu Jan 30 06:25:48 2020 (r524633)
+++ head/print/latex2rtf/Makefile Thu Jan 30 06:38:33 2020 (r524634)
@@ -3,6 +3,7 @@
PORTNAME= latex2rtf
PORTVERSION= 2.3.8
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-unix/${PORTVERSION} \
TEX_CTAN
@@ -13,11 +14,12 @@ COMMENT= Translator from LaTeX to RTF
USES= shebangfix makeinfo
SHEBANG_FILES= ${WRKSRC}/scripts/latex2png
-OPTIONS_DEFINE= LATEX2PNG
-LATEX2PNG_DESC= Install latex2png utility
-OPTIONS_SUB= yes
+OPTIONS_DEFINE= LATEX2PNG
+LATEX2PNG_DESC= Install latex2png utility
+OPTIONS_SUB= yes
-LATEX2PNG_RUN_DEPENDS= convert:graphics/ImageMagick6
+LATEX2PNG_USE= TEX=dvipsk,latex,xetex
+LATEX2PNG_RUN_DEPENDS= convert:graphics/ImageMagick6
MAKE_ARGS+= MANDIR=${PREFIX}/man/man1 CFGDIR=${DATADIR}/cfg \
BINDIR=${PREFIX}/bin
More information about the svn-ports-all
mailing list