source: trunk/dports/devel/tig/Portfile

Last change on this file was 154155, checked in by cal@…, 11 months ago

tig: 2.2

Closes #52678

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
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# $Id: Portfile 154155 2016-10-22 16:10:33Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        jonas tig 2.2 tig-
8checksums           rmd160  11cbe17b2505e6b4e370f1cc5d3f45521ef17891 \
9                    sha256  0cb315ac31eb749eba4b700cec4c3c81934204487e04055cf76982f09b83b770
10
11categories          devel
12maintainers         mk cal openmaintainer
13description         A text interface to git repositories
14long_description    ${description}
15
16homepage            http://jonas.nitro.dk/tig/
17license             GPL-2+
18platforms           darwin
19
20depends_build       port:automake \
21                    port:autoconf \
22                    port:asciidoc \
23                    port:xmlto
24
25depends_lib         port:git \
26                    port:libiconv \
27                    port:ncurses
28
29# -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
30universal_variant   no
31
32# We need to create the configure file,
33# the github version does not contain it.
34pre-configure {
35    system -W ${worksrcpath} "make configure"
36}
37
38build.target-append doc-man doc-html
39# for some reason, the XML tools fail to find and use $prefix/etc/catalog,
40# where these paths are configured
41build.target-append XMLTO=\"${prefix}/bin/xmlto \
42                    --searchpath ${prefix}/share/xml/docbook/4.5/ \
43                    --searchpath ${prefix}/share/xsl/docbook-xsl/manpages\"
44destroot.target-append \
45                    install-doc-man install-doc-html
Note: See TracBrowser for help on using the repository browser.