# $Id: Portfile 51493 2009-05-26 21:33:40Z blb@macports.org $

PortSystem          1.0
name                makedepend
version             1.0.1
categories          x11 devel
maintainers         blb openmaintainer
description         Create dependencies in makefiles
long_description \
   The makedepend program reads each sourcefile in sequence and parses it \
   like a C-preprocessor, processing all #include, #define, #undef, #ifdef, \
   #ifndef, #endif, #if, #elif and #else directives so that it can correctly \
   tell which #include, directives would be used in a compilation.  Any \
   #include, directives can reference files having other #include \
   directives, and parsing will occur in these files as well.

platforms           darwin

homepage            http://www.x.org/
master_sites        ${homepage}pub/individual/util/
use_bzip2           yes

checksums           md5     54ab2549d723e51ff2b9cff4d8bf44d1 \
                    sha1    c795cdc754d8c9c73e6a310e41eab37c5ab867bf \
                    rmd160  3481455a0d24d36940cc94d31ff1485a2b909da2

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

depends_build       port:pkgconfig port:xorg-xproto

livecheck.check     regex
livecheck.regex     ${name}-(\[\\d.\]+)${extract.suffix}
livecheck.url       ${master_sites}

