On 2021/03/14 22:11, Greg Steuck wrote:
> I personally don't have much use for pandoc. If people want to see it in
> 6.9, please test and report back soon. I'd also want somebody's OK.

Definitely good to have this. I've attached a new tar and commented inline
on what I've changed. (tars are much easier to handle than patches for new
ports).

> +# Even with the highest memory limit pandoc fails to compile.
> +BROKEN-i386= ghc: out of memory (requested 2097152 bytes)
> +
> +COMMENT =    Conversion between markup formats

lowercase start of comment

> +
> +CATEGORIES = textproc

added converters (maybe that should be the primary category?)

> +HOMEPAGE =   https://pandoc.org
> +
> +# GPL2
> +PERMIT_PACKAGE =             Yes
> +
> +WANTLIB =            c ffi gmp iconv m pthread util z
> +
> +MODULES =            devel/cabal
> +MODCABAL_FLAGS =     embed_data_files
> +MODCABAL_STEM                = pandoc
> +MODCABAL_VERSION     = 2.12
> +MODCABAL_MANIFEST    = \

mixture of =, (space)= and (tab)=

> +     Glob    0.10.1  0       \
..
> +SIZE (hackage/zlib-0.6.2.3.tar.gz) = 149186
> diff --git a/textproc/pandoc/pkg/DESCR b/textproc/pandoc/pkg/DESCR
> new file mode 100644
> index 00000000000..bef1b24a9b1
> --- /dev/null
> +++ b/textproc/pandoc/pkg/DESCR
> @@ -0,0 +1,19 @@
> +Pandoc is a command-line tool for converting from one markup format to
> +another.
> +
> +It can read several dialects of Markdown and
> +(subsets of) HTML, reStructuredText, LaTeX, DocBook, JATS,
> +MediaWiki markup, DokuWiki markup, TWiki markup,
> +TikiWiki markup, Jira markup, Creole 1.0, Haddock markup,

This list of formats is really hard to read and likely to go out of date
easily, I've changed to more of a description of the software and what
it's good for, diverting to the upstream website for the actual formats.

> --- /dev/null
> +++ b/textproc/pandoc/pkg/PLIST
> @@ -0,0 +1,2 @@
> +@comment $OpenBSD: PLIST,v$
> +@bin bin/${MODCABAL_STEM}
> -- 

Oh the irony, no docs! I tried building to see if I could add something but
ran into this main problem, that I haven't fixed:

===>  Extracting for pandoc-2.12
make: don't know how to make do-extract
Stop in .

Do you have something uncommitted in the cabal module?

Attachment: pandoc.tgz
Description: application/tar-gz

Reply via email to