# -*- 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
github.setup jonas tig 2.4.1 tig-
github.tarball_from releases
checksums rmd160 1245649ee1ea022583bdcc8e326290cfb1899358 \
sha256 b6b6aa183e571224d0e1fab3ec482542c1a97fa7a85b26352dc31dbafe8558b8 \
maintainers {cal @neverpanic} \
description A text interface to git repositories
long_description ${description}
homepage https://jonas.github.io/tig/
depends_build port:automake \
depends_lib bin:git:git \
license_noconflict git asciidoc
# -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
# We need to create the configure file,
# the github version does not contain it.
system -W ${worksrcpath} "make configure"
build.target-append doc-man doc-html
# for some reason, the XML tools fail to find and use ${prefix}/etc/catalog,
# where these paths are configured
build.target-append XMLTO=\"${prefix}/bin/xmlto \
--searchpath ${prefix}/share/xml/docbook/4.5/ \
--searchpath ${prefix}/share/xsl/docbook-xsl-nons/manpages\"
install-doc-man install-doc-html