# -*- 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       python 1.0

name            texml
version         2.0.4
categories      textproc
license         MIT
platforms       {darwin any}
supported_archs noarch
maintainers     nomaintainer

description     XML syntax for TeX
long_description \
    TeXML is an XML vocabulary for TeX. The processor transforms the TeXML \
    markup into the TeX markup, escaping special and out-of-encoding \
    characters. The intended audience is developers who automatically \
    generate (La)TeX or ConTeXt files.

homepage        https://getfo.org/texml/
master_sites    sourceforge:getfo

checksums       rmd160  6d3c2792455c897d8e1195fb7e47b7617961ee68 \
                sha256  0250956a4f7f5c86390a643f3e9517eac46ac0d30573a3037fceb4c29ad9aa7d \
                size    100802

python.default_version 311

post-destroot {
    xinstall -d "${destroot}${prefix}/share/man/man1"
    foreach man [glob -nocomplain -tails -directory "${destroot}${python.prefix}/share/man/man1" *] {
        ln -s "${python.prefix}/share/man/man1/${man}" "${destroot}${prefix}/share/man/man1/${man}"
    }
}

livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
