# -*- 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
maintainers @jjstickel openmaintainer
description Tool for using latexdiff on latex documents in git \
long_description Tool to graphically visualize differences between \
different versions of LaTeX files between commits in a \
git repository. Technically, it is a wrapper around git \
homepage https://gitlab.com/${name}/${name}
master_sites https://gitlab.com/${name}/${name}/repository/archive.tar.gz?ref=v${version}&dummy=
distname ${name}-v${version}-2bd0dcbf2a14de7c311382ed03eb24bac661ac69
checksums rmd160 29b61b526bbed34d32ed8d945c3e569a36d10fc7 \
sha256 76b19b623749025bde0617776237dbd6763a21d19cd6b6b353765846dac766ec
depends_lib-append port:git \
patchfiles patch-makefile.diff
reinplace "s|(prefix)|${prefix}|g" ${worksrcpath}/Makefile
reinplace "s|(destroot)|${destroot}|g" ${worksrcpath}/Makefile
reinplace "s|(version)|${version}|g" ${worksrcpath}/Makefile
# create dummy git repository so that git-latexdiff command in Makefile (to
# create man page) works correctly
system -W ${worksrcpath} "${prefix}/bin/git init ."