# -*- 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 # $Id$ PortSystem 1.0 PortGroup github 1.0 github.setup jonas tig 1.0 tig- categories devel maintainers cal openmaintainer description A text interface to git repositories long_description ${description} homepage http://jonas.nitro.dk/tig/ platforms darwin checksums sha1 090830c1b3d2d979e2986ff7f089f3365e5a2e9d \ rmd160 ff12c694cfc1de38349c644980eb9cdbe9b147fb depends_lib port:git-core \ port:libiconv \ port:ncurses \ port:autoconf \ port:asciidoc \ port:xmlto # Just a small patch: graph->position is type size_t which on my machine is unsigned. # so clang happily detects an expression which is always false and dies with an error. post-patch { reinplace "s/graph->position < 0/false/" $worksrcpath/graph.c } # We need to create the configure file, # the github version does not contain it. pre-configure { system -W ${worksrcpath} "make configure" } build.target-append doc-man destroot.target-append \ install-doc-man variant html_doc description {Build HTML documentation with asciidoc} { build.target-append doc-html destroot.target-append install-doc-html }