aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/hs-pandoc-citeproc/Makefile
blob: a3044a0441ed0c9fe2b11a62526a6f00d99581f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $FreeBSD$

PORTNAME=   pandoc-citeproc
PORTVERSION=    0.15.0.1
PORTREVISION=   1
CATEGORIES= textproc haskell

MAINTAINER= haskell@FreeBSD.org
COMMENT=    Supports using pandoc with citeproc

LICENSE=    BSD3CLAUSE

BROKEN=     Fails to build after r490955; fix coming with Haskell ports overhaul

USE_CABAL=  aeson>=0.7 aeson-pretty attoparsec data-default \
        mtl pandoc>=1.13 pandoc-types>=1.12.3 rfc5051 \
        setenv>=0.1 split syb tagsoup vector xml-conduit>=1.2 \
        yaml>=0.8.8.7
EXECUTABLE= pandoc-citeproc

FLAGS_DEFINE=   BIBUTILS EMBED_DATA UNICODE_COLLATION
FLAGS_DEFAULT=  BIBUTILS

BIBUTILS_DESC=      Use Chris Putnam's Bibutils #'
BIBUTILS_FLAG_ENABLE=   bibutils
BIBUTILS_FLAG_CABAL=    hs-bibutils>=0.3

EMBED_DATA_DESC=    Embed locale files into the library
EMBED_DATA_FLAG_ENABLE= embed_data_files

UNICODE_COLLATION_DESC=     Use bindings to the Internationl Components for Unicode libraries
UNICODE_COLLATION_FLAG_ENABLE=  unicode_collation
UNICODE_COLLATION_FLAG_CABAL=   text-icu

FLAGS_DISABLE=  test_citeproc debug

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>