aboutsummaryrefslogtreecommitdiff
path: root/textproc/hs-pandoc-citeproc/Makefile
blob: d12cd53b67457a95c8bf4523640839118e165b75 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
# $FreeBSD$

PORTNAME=	pandoc-citeproc
PORTVERSION=	0.17
CATEGORIES=	textproc haskell

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

LICENSE=	BSD3CLAUSE

USES=		cabal

OPTIONS_DEFINE=		BIBUTILS EMBED_DATA UNICODE_COLLATION
OPTIONS_DEFAULT=	BIBUTILS

BIBUTILS_DESC=		Use Chris Putnam's Bibutils
BIBUTILS_CABAL_FLAGS=	bibutils
BIBUTILS_USE_CABAL=	hs-bibutils-6.8.0.0

EMBED_DATA_DESC=	Embed locale files into the library
EMBED_DATA_CABAL_FLAGS=	embed_data_files
EMBED_DATA_USE_CABAL=	file-embed-0.0.11.1

UNICODE_COLLATION_DESC=		Use bindings to the Internationl Components for Unicode libraries
UNICODE_COLLATION_CABAL_FLAGS=	unicode_collation
UNICODE_COLLATION_USE_CABAL=	text-icu-0.7.0.1
UNICODE_COLLATION_LIB_DEPENDS=	libicui18n.so:devel/icu

USE_CABAL=	Glob-0.10.0_1 \
		HTTP-4000.3.14 \
		HsYAML-0.2.1.0 \
		HsYAML-aeson-0.2.0.0 \
		JuicyPixels-3.3.4 \
		QuickCheck-2.13.2 \
		SHA-1.6.4.4 \
		aeson-1.4.6.0 \
		aeson-pretty-0.8.8 \
		ansi-terminal-0.10.3 \
		asn1-encoding-0.9.6_1 \
		asn1-parse-0.9.5 \
		asn1-types-0.3.3 \
		async-2.2.2 \
		attoparsec-0.13.2.3_1 \
		base-compat-0.11.1 \
		base-orphans-0.8.2 \
		base16-bytestring-0.1.1.6 \
		base64-bytestring-1.0.0.3 \
		basement-0.0.11_2 \
		bitarray-0.0.1.1_1 \
		blaze-builder-0.4.1.0 \
		blaze-html-0.9.1.2 \
		blaze-markup-0.8.2.3 \
		case-insensitive-1.2.1.0 \
		cereal-0.5.8.1 \
		cmark-gfm-0.2.1 \
		colour-2.3.5 \
		conduit-1.3.1.2 \
		conduit-extra-1.3.4 \
		connection-0.3.1_1 \
		cookie-0.4.5 \
		cryptonite-0.26 \
		data-default-0.7.1.1 \
		data-default-class-0.1.2.0 \
		data-default-instances-containers-0.0.1 \
		data-default-instances-dlist-0.0.1 \
		data-default-instances-old-locale-0.0.1 \
		digest-0.0.1.2 \
		dlist-0.8.0.7 \
		doclayout-0.3 \
		doctemplates-0.8.1 \
		emojis-0.1 \
		errors-2.3.0 \
		exceptions-0.10.4 \
		fail-4.9.0.0 \
		haddock-library-1.8.0_1 \
		hashable-1.3.0.0 \
		hourglass-0.2.12 \
		hs-bibutils-6.8.0.0 \
		hsc2hs-0.68.6 \
		hslua-1.0.3.2 \
		hslua-module-system-0.2.1 \
		hslua-module-text-0.2.1 \
		http-client-0.6.4 \
		http-client-tls-0.3.5.3_1 \
		http-types-0.12.3 \
		hxt-9.3.1.18 \
		hxt-charproperties-9.4.0.0 \
		hxt-regex-xmlschema-9.2.0.3_1 \
		hxt-unicode-9.0.2.4 \
		integer-logarithms-1.0.3_2 \
		ipynb-0.1 \
		jira-wiki-markup-1.0.0 \
		libyaml-0.1.2 \
		memory-0.15.0_1 \
		mime-types-0.1.0.9 \
		mono-traversable-1.0.15.1 \
		network-3.1.1.1 \
		network-uri-2.6.3.0 \
		old-locale-1.0.0.7_2 \
		pandoc-2.9.2 \
		pandoc-types-1.20 \
		pem-0.2.4 \
		primitive-0.7.0.0_1 \
		random-1.1_1 \
		regex-base-0.94.0.0 \
		regex-pcre-builtin-0.95.1.1.8.43 \
		resourcet-1.2.2 \
		rfc5051-0.1.0.4 \
		safe-0.3.18_1 \
		scientific-0.3.6.2 \
		setenv-0.1.1.3_1 \
		skylighting-0.8.3.2 \
		skylighting-core-0.8.3.2 \
		socks-0.6.1 \
		split-0.2.3.3_2 \
		splitmix-0.0.3_1 \
		streaming-commons-0.2.1.2 \
		syb-0.7.1 \
		tagged-0.8.6_2 \
		tagsoup-0.14.8 \
		temporary-1.3 \
		texmath-0.12.0.1 \
		text-conversions-0.3.0 \
		th-abstraction-0.3.2.0 \
		time-compat-1.9.2.2_2 \
		tls-1.5.4 \
		transformers-compat-0.6.5 \
		typed-process-0.2.6.0 \
		unicode-transforms-0.3.6 \
		unliftio-core-0.1.2.0_2 \
		unordered-containers-0.2.10.0_1 \
		utf8-string-1.0.1.1_3 \
		uuid-types-1.0.3_2 \
		vector-0.12.1.2 \
		vector-algorithms-0.8.0.3 \
		x509-1.7.5_1 \
		x509-store-1.6.7_1 \
		x509-system-1.6.6 \
		x509-validation-1.6.11 \
		xml-1.3.14_1 \
		xml-conduit-1.8.0.1 \
		xml-types-0.3.6 \
		yaml-0.11.2.0 \
		zip-archive-0.4.1_1 \
		zlib-0.6.2.1

CABAL_FLAGS=	-test_citeproc -debug

post-install:
	${INSTALL_MAN} ${WRKSRC}/man/man1/pandoc-citeproc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
	cd ${WRKSRC} && ${COPYTREE_SHARE} locales ${STAGEDIR}${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/chicago-author-date.csl ${STAGEDIR}${DATADIR}

.include <bsd.port.mk>