# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem      1.0
PortGroup       cmake  1.0

#github.setup    contextgarden luametatex 2.11.01 v

# luametatex 2.11.02 is needed for texlive 2024, but is not available
# on github yet. See https://github.com/contextgarden/luametatex/issues/12
#
# Instead, we use a tarball of the luametatex source code taken from
# the ConTeXt distribution at
# http://www.pragma-ade.nl/context/latest/cont-lmt.zip (but
# redistributed here as a separate tarball without the rest of
# ConTeXt; also because the upstream ConTeXt distfile is unversioned)
name            luametatex
version         2.11.07
master_sites    https://www.ambulatoryclam.net/texlive/
homepage        https://github.com/contextgarden/luametatex

categories      tex
maintainers     {dports @drkp} openmaintainer
license         GPL-2+
description     LuaMetaTeX engine for ConTeXt
long_description \
   LuaMetaTeX is a follow-up to the LuaTeX engine for use with ConTeXt

checksums           rmd160  cde34884c8580b9c8f657e91631453f3d97f09d1 \
                    sha256  ac754725f75781edd21ed3fa4a15adc652570a8f0fb819cf60006dd52f832cf1 \
                    size    3017498

compiler.c_standard 2011
