Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 2016 20:44:46 +0000 (UTC)
From:      Gabor Pali <pgj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409203 - head/textproc/hs-pandoc
Message-ID:  <201602192044.u1JKikNA029585@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pgj
Date: Fri Feb 19 20:44:46 2016
New Revision: 409203
URL: https://svnweb.freebsd.org/changeset/ports/409203

Log:
  - Make dependency on TeX optional
  
  PR:		207230
  Submitted by:	janm@transactionware.com
  Obtained from:	FreeBSD Haskell

Modified:
  head/textproc/hs-pandoc/Makefile

Modified: head/textproc/hs-pandoc/Makefile
==============================================================================
--- head/textproc/hs-pandoc/Makefile	Fri Feb 19 20:43:06 2016	(r409202)
+++ head/textproc/hs-pandoc/Makefile	Fri Feb 19 20:44:46 2016	(r409203)
@@ -3,6 +3,7 @@
 
 PORTNAME=	pandoc
 PORTVERSION=	1.15.0.6
+PORTREVISION=	1
 CATEGORIES=	textproc haskell
 
 MAINTAINER=	haskell@FreeBSD.org
@@ -26,12 +27,15 @@ USE_HAPPY=	yes
 
 EXECUTABLE=	pandoc
 
-# For PDF generation
-USE_TEX=	texmf:run
-
 MAN1SRC=	man
 MAN1PAGES=	pandoc.1
 
+OPTIONS_DEFINE=		PDFGEN
+OPTIONS_DEFAULT=	PDFGEN
+
+PDFGEN_DESC=	Include TeX for PDF generation
+PDFGEN_USE=	TEX=texmf:run
+
 FLAGS_DEFINE=			EMBED_DATA HTTPS TRYPANDOC
 FLAGS_DEFAULT=			HTTPS
 



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