aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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