# -*- 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
description Convert an XML document to another format based on XSL \
The purpose of xmlto is to convert an XML file to the desired format \
using whatever means necessary. This may involve two steps: \
1. The application of an appropriate XSL stylesheet using an XSL-T \
2. Further processing with other tools. This step may not be necessary.
homepage https://pagure.io/xmlto
master_sites https://releases.pagure.org/xmlto/
checksums rmd160 acba3cc9ff46505ae49b91108c611646aeac2b5d \
sha256 1130df3a7957eb9f6f0d29e4aa1c75732a7dfb6d639be013859b5c7ec5421276
depends_build port:getopt
depends_run port:coreutils \
patchfiles searchpath_local.patch \
configure.args --mandir=${prefix}/share/man
FIND=${prefix}/bin/gfind \
GETOPT=${prefix}/bin/getopt \
PAPER_CONF=${prefix}/bin/paperconf \
TAIL=${prefix}/bin/gtail \
XMLLINT=${prefix}/bin/xmllint \
XMLTEX=${prefix}/bin/xmltex \
DBLATEX=${prefix}/bin/dblatex \
GREP=${prefix}/bin/ggrep \
build.env-append XML_CATALOG_FILES=${prefix}/etc/xml/catalog
destroot.env-append ${build.env}