diff options
author | pgj <pgj@FreeBSD.org> | 2016-02-20 04:44:46 +0800 |
---|---|---|
committer | pgj <pgj@FreeBSD.org> | 2016-02-20 04:44:46 +0800 |
commit | e0ef72cd6798b2f50ec2183c6d921fadf0ad88d7 (patch) | |
tree | e59c2877242fb9082c329e414d134f8d2f73a387 /textproc/hs-pandoc | |
parent | f762e3a5124dc7387d46d36c5802c06e04457915 (diff) | |
download | freebsd-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/Makefile | 10 |
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 |