From 981fc1140db6daf115f3fb78ef58d132e97345ad Mon Sep 17 00:00:00 2001 From: Gabor Pali Date: Fri, 19 Feb 2016 20:44:46 +0000 Subject: - Make dependency on TeX optional PR: 207230 Submitted by: janm@transactionware.com Obtained from: FreeBSD Haskell --- textproc/hs-pandoc/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'textproc') diff --git a/textproc/hs-pandoc/Makefile b/textproc/hs-pandoc/Makefile index 2f8d347bd1b9..b9ba79d552d2 100644 --- a/textproc/hs-pandoc/Makefile +++ b/textproc/hs-pandoc/Makefile @@ -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 -- cgit v1.2.3