# -*- 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 name gource version 0.39 revision 1 categories devel platforms darwin license GPL-3+ 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 7c7a80a6c546c4fa72df54665b6931fee20f3a10 \ sha256 0f97a3bad240ebc04e37ebbe8e0affaf8ad9bed997d90a4b59d05770c788ffeb depends_build port:glm depends_lib port:ftgl \ path:lib/pkgconfig/sdl.pc:libsdl \ port:libsdl_image \ port:pcre \ port:libpng \ port:jpeg \ port:glew \ port:boost configure.args --disable-sdltest # gource's configure script assumes gnu 'sed -e' and 'tac' which are not included on # darwin so we replace 'tac' with 'awk' and 'sed -e' with 'perl -pe' post-extract { reinplace "s, tac, awk '1 { last = NR; line\[last\] = \$0; } END { for (i = last; i > 0; i--) { print line\[i\]; } }'," ${worksrcpath}/configure reinplace "s,sed -e 's;^lib\\\\(boost_system.*\\\\)\\\\.\\\\(so\\\\|a\\\\),perl -pe 's;^lib(boost_system.*)\\\\.(dylib|so|a)," ${worksrcpath}/configure reinplace "s,sed -e 's;^lib\\\\(boost_filesystem.*\\\\)\\\\.\\\\(dylib\\\\|a\\\\|so\\\\),perl -pe 's;^lib(boost_filesystem.*)\\\\.(dylib|so|a)," ${worksrcpath}/configure } livecheck.type regex livecheck.url http://code.google.com/p/gource/ livecheck.regex "gource-(\\d+\\.\\d+)\\.tar\\.gz"