# $Id: Portfile 87785 2011-12-06 04:02:02Z takanori@macports.org $

PortSystem      1.0

name            global
version         6.1
categories      devel
platforms       darwin
maintainers     nomaintainer
description     source code tag system
license         GPL-3+

long_description \
    GNU GLOBAL is a source code tag system that works the \
    same way across diverse environments. You can locate a \
    specified object in the source files and move there \
    easily. It is useful for hacking a large project \
    containing many subdirectories, many #ifdef and many \
    main() functions. It is similar to ctags or etags but \
    is different from them at the point of independence of \
    any editor.

homepage        http://www.gnu.org/software/global/
master_sites    gnu

checksums       md5     4c63b292f94a1cbbcd7737e1b2ccf02f \
                sha1    8b31cfb9b6424880f9e0e8427cb3eeee2df7ed03 \
                rmd160  843fd68b90d0f5f0aba009a76551b2d7857e6e56

depends_lib     port:libtool \
                port:ncurses

configure.args  --infodir=${prefix}/share/info \
                --mandir=${prefix}/share/man

test.run        yes
test.target     check

livecheck.type  regex
livecheck.url   http://ftp.gnu.org/gnu/${name}/?C=M&O=D
livecheck.regex ${name}-(\\d+\\.\\d+(?:\\.\\d+)?)
