head	1.17;
access;
symbols
	pkgsrc-2026Q1:1.17.0.16
	pkgsrc-2026Q1-base:1.17
	pkgsrc-2025Q4:1.17.0.14
	pkgsrc-2025Q4-base:1.17
	pkgsrc-2025Q3:1.17.0.12
	pkgsrc-2025Q3-base:1.17
	pkgsrc-2025Q2:1.17.0.10
	pkgsrc-2025Q2-base:1.17
	pkgsrc-2025Q1:1.17.0.8
	pkgsrc-2025Q1-base:1.17
	pkgsrc-2024Q4:1.17.0.6
	pkgsrc-2024Q4-base:1.17
	pkgsrc-2024Q3:1.17.0.4
	pkgsrc-2024Q3-base:1.17
	pkgsrc-2024Q2:1.17.0.2
	pkgsrc-2024Q2-base:1.17
	pkgsrc-2024Q1:1.16.0.4
	pkgsrc-2024Q1-base:1.16
	pkgsrc-2023Q4:1.16.0.2
	pkgsrc-2023Q4-base:1.16
	pkgsrc-2023Q3:1.13.0.6
	pkgsrc-2023Q3-base:1.13
	pkgsrc-2023Q2:1.13.0.4
	pkgsrc-2023Q2-base:1.13
	pkgsrc-2023Q1:1.13.0.2
	pkgsrc-2023Q1-base:1.13
	pkgsrc-2022Q4:1.11.0.4
	pkgsrc-2022Q4-base:1.11
	pkgsrc-2022Q3:1.11.0.2
	pkgsrc-2022Q3-base:1.11
	pkgsrc-2022Q2:1.8.0.4
	pkgsrc-2022Q2-base:1.8
	pkgsrc-2022Q1:1.8.0.2
	pkgsrc-2022Q1-base:1.8
	pkgsrc-2021Q4:1.3.0.6
	pkgsrc-2021Q4-base:1.3
	pkgsrc-2021Q3:1.3.0.4
	pkgsrc-2021Q3-base:1.3
	pkgsrc-2021Q2:1.3.0.2
	pkgsrc-2021Q2-base:1.3
	pkgsrc-2021Q1:1.1.0.10
	pkgsrc-2021Q1-base:1.1
	pkgsrc-2020Q4:1.1.0.8
	pkgsrc-2020Q4-base:1.1
	pkgsrc-2020Q3:1.1.0.6
	pkgsrc-2020Q3-base:1.1
	pkgsrc-2020Q2:1.1.0.4
	pkgsrc-2020Q2-base:1.1
	pkgsrc-2020Q1:1.1.0.2
	pkgsrc-2020Q1-base:1.1;
locks; strict;
comment	@# @;


1.17
date	2024.05.05.09.45.59;	author pho;	state Exp;
branches;
next	1.16;
commitid	WxnItBCRzmiXfN8F;

1.16
date	2023.11.02.06.36.13;	author pho;	state Exp;
branches;
next	1.15;
commitid	dPkTdcIqhE4k90LE;

1.15
date	2023.10.31.14.37.29;	author pho;	state Exp;
branches;
next	1.14;
commitid	04NsxL1jgo2DSMKE;

1.14
date	2023.10.09.04.54.04;	author pho;	state Exp;
branches;
next	1.13;
commitid	GWJENRm2aeL7mUHE;

1.13
date	2023.02.07.01.40.24;	author pho;	state Exp;
branches;
next	1.12;
commitid	FngQneW4VvkL7xcE;

1.12
date	2023.01.29.10.09.41;	author pho;	state Exp;
branches;
next	1.11;
commitid	e14xNwySVeVNeqbE;

1.11
date	2022.09.07.06.50.45;	author pho;	state Exp;
branches;
next	1.10;
commitid	QzLmla1kE2mfLTSD;

1.10
date	2022.08.22.10.13.21;	author wiz;	state Exp;
branches;
next	1.9;
commitid	RnOYoaYo9buPoRQD;

1.9
date	2022.08.20.08.08.12;	author wiz;	state Exp;
branches;
next	1.8;
commitid	gfUtMrzKtoUPLAQD;

1.8
date	2022.02.26.07.06.17;	author pho;	state Exp;
branches;
next	1.7;
commitid	7z4gNABAAsiu36uD;

1.7
date	2022.02.26.03.57.45;	author pho;	state Exp;
branches;
next	1.6;
commitid	YpGygpH4CsFi05uD;

1.6
date	2022.02.12.08.50.26;	author pho;	state Exp;
branches;
next	1.5;
commitid	RtqPCkFXjE2Y4jsD;

1.5
date	2022.02.12.08.16.02;	author pho;	state Exp;
branches;
next	1.4;
commitid	a5KoPQ1zlBJjTisD;

1.4
date	2022.01.18.02.48.02;	author pho;	state Exp;
branches;
next	1.3;
commitid	ebWMDlQYfX5rS3pD;

1.3
date	2021.05.03.19.00.53;	author pho;	state Exp;
branches;
next	1.2;
commitid	Sim1lfCa9UFPBJRC;

1.2
date	2021.04.25.07.50.13;	author pho;	state Exp;
branches;
next	1.1;
commitid	vS4mf20mRETnaEQC;

1.1
date	2020.01.18.02.16.39;	author pho;	state Exp;
branches;
next	;
commitid	eHJgVkukFo6Fc7TB;


desc
@@


1.17
log
@converters/pandoc: Turn the package into a meta package

Background: The upstream package, pandoc, historically contained the CLI
tool but it was split into two separate packages: pandoc and
pandoc-cli. When that happened I (pho@@) renamed the original
converters/pandoc to converters/hs-pandoc-base to install the Pandoc
library, and replaced the contents of converters/pandoc with the upstream
pandoc-cli.

The intention was to make the change less surprising to our users. That is,
I didn't want the CLI tool to suddenly disappear from
converters/pandoc. But it complicated matters because the upstream
pandoc-cli used a distinct versioning scheme from pandoc. As a result I was
forced to use a weird versioning scheme for converters/pandoc, whose
PKGVERSION actually tracked the version of converters/hs-pandoc-base,
despite its contents being that of pandoc-cli. The difference in package
name, upstream "pandoc" vs. pkgsrc "hs-pandoc-base", was also confusing.

So I:

* renamed converters/hs-pandoc-base to converters/hs-pandoc, which tracks
  upstream "pandoc",
* created converters/pandoc-cli, which tracks upsream "pandoc-cli",
* and turned converters/pandoc into a singleton meta-package which depends
  only on converters/pandoc-cli

so that we can eliminate the weird versioning scheme and can still provide
the CLI tool (indirectly) from converters/pandoc.
@
text
@# $NetBSD: Makefile,v 1.16 2023/11/02 06:36:13 pho Exp $

.include "../../converters/hs-pandoc/version.mk"

DISTNAME=	# empty
PKGNAME=	pandoc-${PANDOC_VERSION}
CATEGORIES=	converters meta-pkgs
DISTFILES=	# empty

MAINTAINER=	zecrazytux@@zecrazytux.net
COMMENT=	Conversion between documentation formats
LICENSE=	gnu-gpl-v2

META_PACKAGE=	yes

DEPENDS+=	pandoc-cli>=${PANDOC_VERSION}:../../converters/pandoc-cli

.include "../../mk/bsd.pkg.mk"
@


1.16
log
@Revbump all Haskell after updating lang/ghc96
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2023/10/31 14:37:29 pho Exp $
d3 6
a8 9
PKGREVISION= 1
.include "../../converters/hs-pandoc-base/version.mk"
# This package does not use the version number of "pandoc-cli" for a
# historical reason. When the upstream releases a new version of
# "pandoc-cli" without releasing new "pandoc", bump the revision of this
# package without changing PANDOC_BASE_VERSION.
DISTNAME=	pandoc-cli-0.1.1.1
PKGNAME=	pandoc-${PANDOC_BASE_VERSION}
CATEGORIES=	converters
d11 1
a11 1
COMMENT=	Conversion between markup formats
d14 1
a14 6
# If pandoc is to be linked dynamically, it will depend on more than 180
# shared objects and the dynamic linker will spend several seconds to
# resolve symbols on startup. This is unacceptable because pandoc tends to
# be launched very frequently by build systems and editors. This wastes
# storage, but time is more expensive than disks.
HASKELL_ENABLE_DYNAMIC_EXECUTABLE=	no
d16 1
a16 1
.include "options.mk"
a17 2
.include "../../converters/hs-pandoc-base/buildlink3.mk"
.include "../../mk/haskell.mk"
@


1.15
log
@converters/pandoc: Fix build with GHC 9.6
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2023/10/09 04:54:04 pho Exp $
d3 1
@


1.14
log
@Bump Haskell packages after updating lang/ghc94
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2023/02/07 01:40:24 pho Exp $
a2 1
PKGREVISION= 2
d8 1
a8 1
DISTNAME=	pandoc-cli-0.1
@


1.13
log
@revbump all the Haskell packages after modifying the runtime system of lang/ghc94
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2023/01/29 10:09:41 pho Exp $
d3 1
a3 1
PKGREVISION= 1
@


1.12
log
@converters/pandoc: Update to 3.0.1

The release note is too long to paste here. See
https://hackage.haskell.org/package/pandoc-3.0.1/changelog

As of 3.0, the pandoc package has been split into 3 packages:

  * pandoc:            Base library         (converters/hs-pandoc-base)
  * pandoc-server:     HTTP REST API        (converters/hs-pandoc-server)
  * pandoc-cli:        Command-line tool    (converters/pandoc; this package)
  * pandoc-lua-engine: Lua scripting engine (converters/hs-pandoc-lua-engine)

The original package "pandoc" no longer contains the pandoc executable, and
now it resides in "pandoc-cli". This sucks, as simply creating a new pkgsrc
package for the CLI means that converters/pandoc suddenly loses the
executable and will confuse existing users a lot. So I had no choice but to
replace the content of converters/pandoc with pandoc-cli, and synchronize
its version with converters/hs-pandoc-base.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2022/09/07 06:50:45 pho Exp $
d3 1
@


1.11
log
@Recursive bump for recently updated Haskell packages
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2022/08/22 10:13:21 wiz Exp $
d3 7
a9 3
DISTNAME=	pandoc-2.17.1.1
PKGNAME=	${DISTNAME}
PKGREVISION=	6
a15 5
# When -O2 is in effect, GHC uses whopping 3.5 GiB of memory (what?) to
# compile src/Text/Pandoc/Writers/RST.hs for some unknown reason, possibly
# related to https://gitlab.haskell.org/ghc/ghc/issues/5642
HASKELL_OPTIMIZATION_LEVEL=	1

d23 1
a23 4
INSTALLATION_DIRS+=		${PKGMANDIR}/man1
post-install:
	${INSTALL_MAN} ${WRKSRC}/man/pandoc.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
d25 1
a25 58
.include "../../converters/hs-aeson/buildlink3.mk"
.include "../../converters/hs-aeson-pretty/buildlink3.mk"
.include "../../textproc/hs-attoparsec/buildlink3.mk"
.include "../../converters/hs-base64-bytestring/buildlink3.mk"
.include "../../textproc/hs-blaze-html/buildlink3.mk"
.include "../../textproc/hs-blaze-markup/buildlink3.mk"
.include "../../textproc/hs-case-insensitive/buildlink3.mk"
.include "../../textproc/hs-citeproc/buildlink3.mk"
.include "../../textproc/hs-commonmark/buildlink3.mk"
.include "../../textproc/hs-commonmark-extensions/buildlink3.mk"
.include "../../textproc/hs-commonmark-pandoc/buildlink3.mk"
.include "../../net/hs-connection/buildlink3.mk"
.include "../../devel/hs-data-default/buildlink3.mk"
.include "../../textproc/hs-doclayout/buildlink3.mk"
.include "../../textproc/hs-doctemplates/buildlink3.mk"
.include "../../converters/hs-emojis/buildlink3.mk"
.include "../../devel/hs-file-embed/buildlink3.mk"
.include "../../textproc/hs-Glob/buildlink3.mk"
.include "../../textproc/hs-haddock-library/buildlink3.mk"
.include "../../lang/hs-hslua/buildlink3.mk"
.include "../../converters/hs-hslua-aeson/buildlink3.mk"
.include "../../sysutils/hs-hslua-module-path/buildlink3.mk"
.include "../../devel/hs-hslua-module-system/buildlink3.mk"
.include "../../textproc/hs-hslua-module-text/buildlink3.mk"
.include "../../devel/hs-hslua-module-version/buildlink3.mk"
.include "../../textproc/hs-HsYAML/buildlink3.mk"
.include "../../www/hs-HTTP/buildlink3.mk"
.include "../../www/hs-http-client/buildlink3.mk"
.include "../../www/hs-http-client-tls/buildlink3.mk"
.include "../../www/hs-http-types/buildlink3.mk"
.include "../../devel/hs-ipynb/buildlink3.mk"
.include "../../textproc/hs-jira-wiki-markup/buildlink3.mk"
.include "../../graphics/hs-JuicyPixels/buildlink3.mk"
.include "../../devel/hs-lpeg/buildlink3.mk"
.include "../../net/hs-network/buildlink3.mk"
.include "../../net/hs-network-uri/buildlink3.mk"
.include "../../devel/hs-pandoc-lua-marshal/buildlink3.mk"
.include "../../textproc/hs-pandoc-types/buildlink3.mk"
.include "../../devel/hs-pretty-show/buildlink3.mk"
.include "../../devel/hs-random/buildlink3.mk"
.include "../../devel/hs-safe/buildlink3.mk"
.include "../../math/hs-scientific/buildlink3.mk"
.include "../../security/hs-SHA/buildlink3.mk"
.include "../../textproc/hs-skylighting/buildlink3.mk"
.include "../../textproc/hs-skylighting-core/buildlink3.mk"
.include "../../devel/hs-split/buildlink3.mk"
.include "../../devel/hs-syb/buildlink3.mk"
.include "../../textproc/hs-tagsoup/buildlink3.mk"
.include "../../sysutils/hs-temporary/buildlink3.mk"
.include "../../textproc/hs-texmath/buildlink3.mk"
.include "../../converters/hs-text-conversions/buildlink3.mk"
.include "../../textproc/hs-unicode-transforms/buildlink3.mk"
.include "../../devel/hs-unordered-containers/buildlink3.mk"
.include "../../textproc/hs-xml/buildlink3.mk"
.include "../../textproc/hs-xml-conduit/buildlink3.mk"
.include "../../textproc/hs-yaml/buildlink3.mk"
.include "../../archivers/hs-zip-archive/buildlink3.mk"
.include "../../archivers/hs-zlib/buildlink3.mk"
@


1.10
log
@*: bump for hs-vector-algorithms buildlink3.mk change
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2022/08/20 08:08:12 wiz Exp $
d5 1
a5 1
PKGREVISION=	5
@


1.9
log
@hs*: recursive bump for new dependencies needed

for hs-aeson, hs-vector
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2022/02/26 07:06:17 pho Exp $
d5 1
a5 1
PKGREVISION=	4
@


1.8
log
@converters/pandoc: Link pandoc with static Haskell libraries
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2022/02/26 03:57:45 pho Exp $
d5 1
a5 1
PKGREVISION=	3
@


1.7
log
@Bump all Haskell packages after enabling "split sections" in mk/haskell.mk
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2022/02/12 08:50:26 pho Exp $
d5 1
a5 1
PKGREVISION=	2
d17 7
@


1.6
log
@revbump after changing the default Haskell compiler
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2022/02/12 08:16:02 pho Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.5
log
@Update to pandoc-2.17.1.1

The list of changes since 2.13 is too long to paste here:
https://hackage.haskell.org/package/pandoc-2.17.1.1/changelog
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2022/01/18 02:48:02 pho Exp $
d5 1
@


1.4
log
@Bump packages that depends on GHC
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2021/05/03 19:00:53 pho Exp $
d3 1
a3 1
DISTNAME=	pandoc-2.13
a4 1
PKGREVISION=	2
d11 3
a13 4
# When -O2 is in effect, GHC 8.8.1 uses whopping 1 TiB of virtual
# memory (what?) to compile src/Text/Pandoc/Writers/RST.hs for some
# unknown reason, possibly related to
# https://gitlab.haskell.org/ghc/ghc/issues/5642
a15 5
# Parallelization is unsafe because of the extremely high memory
# consumption even with -O1. It uses 7.5 GiB of virtual memory even
# with no parallelism.
MAKE_JOBS_SAFE=	NO

d18 2
a19 1
	${INSTALL_MAN} ${WRKSRC}/man/pandoc.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
d41 1
d45 1
d54 1
d57 1
d59 1
d76 1
@


1.3
log
@*: Bump PKGREVISION for ghc-9.0.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2021/04/25 07:50:13 pho Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.2
log
@Update to pandoc-2.13

The change log is too long to paste here. See
http://hackage.haskell.org/package/pandoc-2.13/changelog
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2020/01/18 02:16:39 pho Exp $
d5 1
@


1.1
log
@Import pandoc-2.9.1.1 from wip

Pandoc is a Haskell library for converting from one markup format to
another, and a command-line tool that uses this library. 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, OPML, Emacs
Org-Mode, Emacs Muse, txt2tags, ipynb (Jupyter notebooks), Vimwiki,
Word Docx, ODT, EPUB, FictionBook2, roff man, and Textile, and it can
write Markdown, reStructuredText, XHTML, HTML 5, LaTeX, ConTeXt,
DocBook, JATS, OPML, TEI, OpenDocument, ODT, Word docx, PowerPoint
pptx, RTF, MediaWiki, DokuWiki, XWiki, ZimWiki, Textile, Jira, roff
man, roff ms, plain text, Emacs Org-Mode, AsciiDoc, Haddock markup,
EPUB (v2 and v3), ipynb, FictionBook2, InDesign ICML, Muse, LaTeX
beamer slides, and several kinds of HTML/JavaScript slide shows (S5,
Slidy, Slideous, DZSlides, reveal.js).

In contrast to most existing tools for converting Markdown to HTML,
pandoc has a modular design: it consists of a set of readers, which
parse text in a given format and produce a native representation of
the document, and a set of writers, which convert this native
representation into a target format. Thus, adding an input or output
format requires only adding a reader or writer.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2015/01/08 11:53:16 szptvlfn Exp $
d3 1
a3 1
DISTNAME=	pandoc-2.9.1.1
d33 5
a37 1
.include "../../textproc/hs-cmark-gfm/buildlink3.mk"
d42 1
a42 1
.include "../../devel/hs-exceptions/buildlink3.mk"
d46 1
a73 1
.include "../../devel/hs-vector/buildlink3.mk"
d75 1
@

