[Midnightbsd-cvs] [MidnightBSD/mports] e54e12: textproc/hs-pandoc: update to 3.12 (#1667)

Lucas Holt noreply at github.com
Fri Oct 2 09:12:07 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: e54e120706137eed8080910719c446abb44569f4
      https://github.com/MidnightBSD/mports/commit/e54e120706137eed8080910719c446abb44569f4
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-10-02 (Fri, 02 Oct 2026)

  Changed paths:
    M textproc/hs-pandoc/Makefile
    A textproc/hs-pandoc/Makefile.cabal
    M textproc/hs-pandoc/distinfo
    A textproc/hs-pandoc/files/patch-__cabal__deps_crypton-2.0.1_cbits_crypton__f2m.c
    M textproc/hs-pandoc/pkg-descr
    M textproc/hs-pandoc/pkg-plist

  Log Message:
  -----------
  textproc/hs-pandoc: update to 3.12 (#1667)

Updates textproc/hs-pandoc 3.1.1 → 3.12, following FreeBSD's port.

**Requires #1665** (synced cabal.mk: `HACKAGE_DISTNAME`,
`Makefile.cabal`, `CABAL_WRAPPER_SCRIPTS`). GHC 9.12.4 from #1662.

- Built from `pandoc-cli` (`HACKAGE_DISTNAME`); `USE_CABAL` moved to
`Makefile.cabal`; `CABAL_FLAGS= lua repl`; FreeBSD's crypton
`sys/types.h` fix; pandoc-lua/pandoc-server man pages
- Kept: `CPE_VENDOR=pandoc`, `gpl2` license id, the aarch64
`--disable-optimization` knob; `FAKE_DESTDIR` for the EMBED_DATA-off
data copy
- Man pages now install to `share/man/man1`: the old post-install used
`MAN1PREFIX`, which is empty in mports, so they went to `/man/man1`
- distinfo matches FreeBSD (298 distfiles)
- amd64/4.0.6: build/fake/package OK, no plist differences. Wrapper sets
`pandoc_datadir=/usr/local/share/pandoc` and execs
`/usr/local/libexec/cabal/pandoc`. Staged binary converts Markdown→HTML
(incl. tables) and standalone LaTeX (templates from data dir); `pandoc
lua` works (Lua 5.4)
- Not tested: EMBED_DATA option, aarch64
- portlint: 0 fatal

🤖 Generated with [Claude Code](https://claude.com/claude-code)

## Summary by Sourcery

Update the hs-pandoc port to 3.12 and align its packaging, build
dependencies, optional data handling, and installed documentation with
the newer release.

New Features:
- Update the pandoc port to version 3.12 with Lua and REPL support and
install the additional pandoc-lua and pandoc-server man pages.

Bug Fixes:
- Fix crypton builds on MidnightBSD by including the required system
type definitions.
- Install man pages under the correct shared manpage directory.
- Preserve external pandoc data files when embedded data is disabled.

Enhancements:
- Adopt the pandoc-cli package layout and shared Cabal port
infrastructure while refreshing the complete dependency set and package
metadata.

Signed-off-by: Lucas Holt <luke at foolishgames.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply at anthropic.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications



More information about the Midnightbsd-cvs mailing list