# -*- 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: Portfile 92837 2012-05-09 00:51:48Z ryandesign@macports.org $

PortSystem          1.0

name                gource
version             0.37
revision            1
categories          devel
platforms           darwin
maintainers         phw openmaintainer

description         Version Control Visualization Tool

long_description    Gource is a tool that can be used to visualize who \
                    committed when, and to which files. It supports git, CVS, \
                    Mercurial, Bazaar, and svn.

homepage            http://code.google.com/p/gource/
master_sites        googlecode

checksums           rmd160  76bbe62693566c61d5bc8324494079b07a07cb02 \
                    sha256  d6c728643ce303a61d48ba6189d8f84c3bbb6bbffb1afba4b881b262ac4d6d0e

depends_lib         port:ftgl \
                    path:lib/pkgconfig/sdl.pc:libsdl \
                    port:libsdl_image \
                    port:pcre \
                    port:libpng \
                    port:jpeg \
                    port:glew

if {${configure.compiler} == "clang"} {
    configure.compiler llvm-gcc-4.2
}

configure.args      --disable-sdltest

livecheck.type      regex
livecheck.url       http://code.google.com/p/gource/
livecheck.regex     "gource-(\\d+\\.\\d+)\\.tar\\.gz"
