1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/textproc/hs-pandoc/Makefile
Gabor Pali 981fc1140d - Make dependency on TeX optional
PR:		207230
Submitted by:	janm@transactionware.com
Obtained from:	FreeBSD Haskell
2016-02-19 20:44:46 +00:00

61 lines
1.7 KiB
Makefile

# Created by: John MacFarlane <jgm@berkeley.edu>
# $FreeBSD$
PORTNAME= pandoc
PORTVERSION= 1.15.0.6
PORTREVISION= 1
CATEGORIES= textproc haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Conversion between markup formats
LICENSE= GPLv2
USE_CABAL= aeson>=0.7.0.5 base64-bytestring>=0.1 blaze-html>=0.5 \
blaze-markup>=0.5.1 cmark>=0.4.0.1 data-default>=0.4 \
deepseq-generics>=0.1 extensible-exceptions>=0.1 \
filemanip>=0.3 haddock-library>=1.1 highlighting-kate>=0.6 \
hslua>=0.3 HTTP>=4000.0.5 JuicyPixels>=3.1.6.1 mtl>=1.1 \
network>=2.6 network-uri>=2.6 pandoc-types>=1.12.4 parsec>=3.1 \
random>=1 scientific>=0.2 SHA>=1.6 syb>=0.1 tagsoup>=0.13.1 \
temporary>=1.1 texmath>=0.8.1 text>=0.11 \
unordered-containers>=0.2 vector>=0.10 xml>=1.3.12 \
yaml>=0.8.8.2 zip-archive>=0.2.3.4 zlib>=0.5
USE_ALEX= yes
USE_HAPPY= yes
EXECUTABLE= pandoc
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
EMBED_DATA_DESC= Embed data files in binary for relocatable executable
EMBED_DATA_FLAG_ENABLE= embed_data_files
EMBED_DATA_FLAG_CABAL= hsb2hs>=0.3.1
HTTPS_DESC= Enable downloading of resources over HTTPS
HTTPS_FLAG_ENABLE= https
HTTPS_FLAG_CABAL= http-client>=0.3.2 http-client-tls>=0.2 http-types>=0.8
TRYPANDOC_DESC= Build trypandoc cgi executable
TRYPANDOC_FLAG_ENABLE= trypandoc
TRYPANDOC_FLAG_CABAL= aeson highlighting-kate text wai-extra wai>=0.3 \
http-types
TRYPANDOC_FLAG_EXECUTABLE= trypandoc
FLAGS_ENABLE= network-uri
FLAGS_DISABLE= make-pandoc-man-pages
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>