aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/hs-pandoc
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2016-02-20 04:44:46 +0800
committerpgj <pgj@FreeBSD.org>2016-02-20 04:44:46 +0800
commite0ef72cd6798b2f50ec2183c6d921fadf0ad88d7 (patch)
treee59c2877242fb9082c329e414d134f8d2f73a387 /textproc/hs-pandoc
parentf762e3a5124dc7387d46d36c5802c06e04457915 (diff)
downloadfreebsd-ports-gnome-e0ef72cd6798b2f50ec2183c6d921fadf0ad88d7.tar.gz
freebsd-ports-gnome-e0ef72cd6798b2f50ec2183c6d921fadf0ad88d7.tar.zst
freebsd-ports-gnome-e0ef72cd6798b2f50ec2183c6d921fadf0ad88d7.zip
- Make dependency on TeX optional
PR: 207230 Submitted by: janm@transactionware.com Obtained from: FreeBSD Haskell
Diffstat (limited to 'textproc/hs-pandoc')
-rw-r--r--textproc/hs-pandoc/Makefile10
1 files changed, 7 insertions, 3 deletions
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