Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2020 06:38:34 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r524634 - head/print/latex2rtf
Message-ID:  <202001300638.00U6cYhE027182@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001300638.00U6cYhE027182>