1 | # -*- 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 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name git-latexdiff |
---|
6 | version 1.2.0 |
---|
7 | categories devel tex |
---|
8 | platforms darwin |
---|
9 | supported_archs noarch |
---|
10 | maintainers gmail.com:jjstickel openmaintainer |
---|
11 | license BSD |
---|
12 | |
---|
13 | description Tool for using latexdiff on latex documents in git \ |
---|
14 | repositories |
---|
15 | long_description Tool to graphically visualize differences between \ |
---|
16 | different versions of LaTeX files between commits in a \ |
---|
17 | git repository. Technically, it is a wrapper around git \ |
---|
18 | and latexdiff. |
---|
19 | |
---|
20 | homepage https://gitlab.com/${name}/${name} |
---|
21 | master_sites https://gitlab.com/${name}/${name}/repository/archive.tar.gz?ref=v${version}&dummy= |
---|
22 | distname ${name}-v${version}-2bd0dcbf2a14de7c311382ed03eb24bac661ac69 |
---|
23 | |
---|
24 | checksums rmd160 29b61b526bbed34d32ed8d945c3e569a36d10fc7 \ |
---|
25 | sha256 76b19b623749025bde0617776237dbd6763a21d19cd6b6b353765846dac766ec |
---|
26 | |
---|
27 | depends_lib-append port:git \ |
---|
28 | port:texlive-bin-extra |
---|
29 | |
---|
30 | depends_build-append port:asciidoc |
---|
31 | |
---|
32 | patchfiles makefile.diff |
---|
33 | post-patch { |
---|
34 | reinplace "s|(prefix)|${prefix}|g" ${worksrcpath}/Makefile |
---|
35 | reinplace "s|(destroot)|${destroot}|g" ${worksrcpath}/Makefile |
---|
36 | reinplace "s|(version)|${version}|g" ${worksrcpath}/Makefile |
---|
37 | } |
---|
38 | use_configure no |
---|
39 | build { |
---|
40 | # create dummy git repository so that git-latexdiff command in Makefile (to |
---|
41 | # create man page) works correctly |
---|
42 | system -W ${worksrcpath} "${prefix}/bin/git init ." |
---|
43 | } |
---|