Skip to content

Commit bd7b5f8

Browse files
committed
textproc/hs-pandoc32: New port: Conversion between markup formats (for textproc/quarto)
1 parent 88eaf4b commit bd7b5f8

File tree

5 files changed

+911
-0
lines changed

5 files changed

+911
-0
lines changed

‎textproc/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@
284284
SUBDIR += hs-lhs2tex
285285
SUBDIR += hs-pandoc
286286
SUBDIR += hs-pandoc-crossref
287+
SUBDIR += hs-pandoc32
287288
SUBDIR += hs-yaml
288289
SUBDIR += hsb-aspell
289290
SUBDIR += htdig

‎textproc/hs-pandoc32/Makefile‎

Lines changed: 230 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,230 @@
1+
PORTNAME= pandoc
2+
DISTVERSION= 3.2
3+
CATEGORIES= textproc haskell
4+
PKGNAMESUFFIX= 32
5+
6+
MAINTAINER= yuri@FreeBSD.org
7+
COMMENT= Conversion between markup formats
8+
WWW= https://pandoc.org/
9+
10+
LICENSE= GPLv2+
11+
LICENSE_FILE= ${WRKSRC}/COPYING.md
12+
13+
USES= cabal
14+
15+
USE_CABAL= Glob-0.10.2_3 \
16+
JuicyPixels-3.3.8_2 \
17+
OneTuple-0.4.2 \
18+
Only-0.1_2 \
19+
QuickCheck-2.15 \
20+
SHA-1.6.4.4 \
21+
StateVar-1.2.2 \
22+
aeson-2.2.2.0_1 \
23+
aeson-pretty-0.8.10 \
24+
alex-3.5.1.0 \
25+
ansi-terminal-1.1.1 \
26+
ansi-terminal-types-1.1 \
27+
appar-0.1.8 \
28+
asn1-encoding-0.9.6_2 \
29+
asn1-parse-0.9.5 \
30+
asn1-types-0.3.4 \
31+
assoc-1.1.1 \
32+
async-2.2.5_1 \
33+
attoparsec-0.14.4_5 \
34+
attoparsec-aeson-2.2.2.0 \
35+
base-compat-0.14.0 \
36+
base-orphans-0.9.2 \
37+
base16-bytestring-1.0.2.0_1 \
38+
base64-bytestring-1.2.1.0_1 \
39+
basement-0.0.16 \
40+
bifunctors-5.6.2 \
41+
bitvec-1.1.5.0_1 \
42+
blaze-builder-0.4.2.3 \
43+
blaze-html-0.9.2.0 \
44+
blaze-markup-0.8.3.0_1 \
45+
byteorder-1.0.4 \
46+
cabal-doctest-1.0.9_3 \
47+
case-insensitive-1.2.1.0 \
48+
cassava-0.5.3.1 \
49+
cborg-0.2.10.0 \
50+
cereal-0.5.8.3 \
51+
character-ps-0.1 \
52+
citeproc-0.8.1 \
53+
cmdargs-0.10.22 \
54+
colour-2.3.6 \
55+
commonmark-0.2.6 \
56+
commonmark-extensions-0.2.5.4 \
57+
commonmark-pandoc-0.2.2.1 \
58+
comonad-5.0.8_2 \
59+
conduit-1.3.5 \
60+
conduit-extra-1.3.6 \
61+
contravariant-1.5.5 \
62+
cookie-0.5.0 \
63+
crypton-1.0.0 \
64+
crypton-connection-0.3.2 \
65+
crypton-x509-1.7.6_2 \
66+
crypton-x509-store-1.6.9 \
67+
crypton-x509-system-1.6.7 \
68+
crypton-x509-validation-1.6.12 \
69+
data-default-0.7.1.1 \
70+
data-default-class-0.1.2.0 \
71+
data-default-instances-containers-0.0.1 \
72+
data-default-instances-dlist-0.0.1 \
73+
data-default-instances-old-locale-0.0.1 \
74+
data-fix-0.3.3 \
75+
digest-0.0.2.1 \
76+
distributive-0.6.2.1_1 \
77+
djot-0.1.2 \
78+
dlist-1.0_1 \
79+
doclayout-0.4.0.1 \
80+
doctemplates-0.11 \
81+
emojis-0.1.3 \
82+
file-embed-0.0.16.0 \
83+
generically-0.1.1_3 \
84+
gridtables-0.1.0.0_1 \
85+
haddock-library-1.11.0_3 \
86+
half-0.3.1_2 \
87+
happy-1.20.1.1 \
88+
hashable-1.4.4.0_1 \
89+
haskell-lexer-1.1.1 \
90+
hourglass-0.2.12 \
91+
hsc2hs-0.68.10_2 \
92+
hslua-2.3.1 \
93+
hslua-aeson-2.3.1 \
94+
hslua-classes-2.3.1 \
95+
hslua-cli-1.4.2 \
96+
hslua-core-2.3.2 \
97+
hslua-list-1.1.1 \
98+
hslua-marshalling-2.3.1 \
99+
hslua-module-doclayout-1.1.1 \
100+
hslua-module-path-1.1.1 \
101+
hslua-module-system-1.1.1 \
102+
hslua-module-text-1.1.1 \
103+
hslua-module-version-1.1.1 \
104+
hslua-module-zip-1.1.3 \
105+
hslua-objectorientation-2.3.1 \
106+
hslua-packaging-2.3.1 \
107+
hslua-repl-0.1.2 \
108+
hslua-typing-0.1.1 \
109+
http-client-0.7.17 \
110+
http-client-tls-0.3.6.3 \
111+
http-types-0.12.4 \
112+
indexed-traversable-0.1.4 \
113+
indexed-traversable-instances-0.1.2 \
114+
integer-conversion-0.1.1 \
115+
integer-logarithms-1.0.3.1_6 \
116+
iproute-1.7.12 \
117+
ipynb-0.2_1 \
118+
isocline-1.0.9 \
119+
jira-wiki-markup-1.5.1_1 \
120+
libyaml-0.1.4 \
121+
libyaml-clib-0.2.5 \
122+
lpeg-1.1.0 \
123+
lua-2.3.2 \
124+
memory-0.18.0 \
125+
mime-types-0.1.2.0 \
126+
mono-traversable-1.0.17.0 \
127+
network-3.2.0.0 \
128+
network-uri-2.6.4.2_1 \
129+
old-locale-1.0.0.7_2 \
130+
old-time-1.1.0.4 \
131+
ordered-containers-0.2.4 \
132+
os-string-2.0.2.2 \
133+
pandoc-3.2 \
134+
pandoc-lua-engine-0.2.1.5_1 \
135+
pandoc-lua-marshal-0.2.7 \
136+
pandoc-types-1.23.1_2 \
137+
pem-0.2.4 \
138+
pretty-show-1.10 \
139+
prettyprinter-1.7.1 \
140+
primitive-0.9.0.0_1 \
141+
random-1.2.1.2 \
142+
regex-base-0.94.0.2_4 \
143+
regex-tdfa-1.3.2.2_3 \
144+
resourcet-1.3.0 \
145+
safe-0.3.21_1 \
146+
scientific-0.3.8.0 \
147+
semialign-1.3.1 \
148+
semigroupoids-6.0.1 \
149+
serialise-0.2.6.1_2 \
150+
skylighting-0.14.1.2 \
151+
skylighting-core-0.14.1.2 \
152+
skylighting-format-ansi-0.1 \
153+
skylighting-format-blaze-html-0.1.1.2 \
154+
skylighting-format-context-0.1.0.2 \
155+
skylighting-format-latex-0.1 \
156+
socks-0.6.1 \
157+
split-0.2.5 \
158+
splitmix-0.1.0.5_1 \
159+
streaming-commons-0.2.2.6_1 \
160+
strict-0.5_1 \
161+
syb-0.7.2.4 \
162+
tagged-0.8.8_1 \
163+
tagsoup-0.14.8 \
164+
temporary-1.3 \
165+
texmath-0.12.8.9 \
166+
text-conversions-0.3.1.1 \
167+
text-iso8601-0.1.1 \
168+
text-short-0.1.6_1 \
169+
th-abstraction-0.7.0.0 \
170+
th-compat-0.1.5_2 \
171+
th-lift-0.8.4_2 \
172+
th-lift-instances-0.1.20 \
173+
these-1.2.1 \
174+
time-compat-1.9.7 \
175+
tls-2.0.6 \
176+
toml-parser-2.0.0.0_2 \
177+
transformers-compat-0.7.2 \
178+
typed-process-0.2.11.1 \
179+
typst-0.5.0.3 \
180+
typst-symbols-0.1.6 \
181+
unicode-collation-0.1.3.6 \
182+
unicode-data-0.4.0.1_2 \
183+
unicode-transforms-0.4.0.1_4 \
184+
uniplate-1.6.13_1 \
185+
unix-time-0.4.12 \
186+
unliftio-core-0.2.1.0_3 \
187+
unordered-containers-0.2.20_2 \
188+
utf8-string-1.0.2 \
189+
uuid-types-1.0.6 \
190+
vector-0.13.1.0_1 \
191+
vector-algorithms-0.9.0.2 \
192+
vector-stream-0.1.0.1_1 \
193+
witherable-0.5 \
194+
xml-1.3.14_2 \
195+
xml-conduit-1.9.1.3 \
196+
xml-types-0.3.8 \
197+
yaml-0.11.11.2_2 \
198+
zip-archive-0.4.3.2_1 \
199+
zlib-0.7.1.0
200+
201+
CABAL_FLAGS= lua
202+
CABAL_REVISION= 1
203+
CABAL_WRAPPER_SCRIPTS= ${CABAL_EXECUTABLES}
204+
205+
OPTIONS_DEFINE= EMBED_DATA
206+
OPTIONS_SUB= yes
207+
208+
EMBED_DATA_DESC= Embed data files in binary for relocatable executable
209+
EMBED_DATA_CABAL_FLAGS= embed_data_files
210+
211+
HACKAGE_DISTNAME= pandoc-cli-${PORTVERSION}
212+
213+
.include <bsd.port.options.mk>
214+
215+
.if ${PORT_OPTIONS:MEMBED_DATA}
216+
# No need to use wrapper scripts when all data is compiled into an executable
217+
.undef CABAL_WRAPPER_SCRIPTS
218+
.endif
219+
220+
.include <bsd.port.pre.mk>
221+
222+
.if ${ARCH} == i386
223+
# compiler goes out of memory
224+
BUILD_ARGS+= --disable-optimization
225+
.endif
226+
227+
post-install-EMBED_DATA-off:
228+
cd ${CABAL_DEPSDIR}/${PORTNAME}-${PORTVERSION} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}
229+
230+
.include <bsd.port.post.mk>

0 commit comments

Comments
 (0)