# -*- 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 51884 2009-06-05 23:45:08Z dweber@macports.org $

PortSystem      1.0

name            gdb
version         6.8
revision        1
categories      devel
maintainers     dweber openmaintainer
description     GDB: The GNU Project Debugger

long_description \
GDB, the GNU Project debugger, allows you to see what is going on 'inside' \
another program while it executes -- or what another program was doing at the \
moment it crashed.  GDB can do four main kinds of things (plus other things \
in support of these) to help you catch bugs in the act: \
    a) start your program, specifying anything that might affect its behavior, \
    b) make your program stop on specified conditions, \
    c) examine what has happened, when your program has stopped, \
    d) change things in your program, so you can experiment with correcting \
       the effects of one bug and go on to learn about another. \
The program being debugged can be written in Ada, C, C++, Objective-C, \
Pascal (and many other languages). Those programs might be executing on \
the same machine as GDB (native) or on another machine (remote). GDB \
can run on most popular UNIX and Microsoft Windows variants.

homepage        http://www.gnu.org/software/gdb/
platforms       darwin

master_sites    gnu

use_bzip2       yes

checksums       \
                md5  c9da266b884fb8fa54df786dfaadbc7a \
                sha1 ba1394d59dd84a1dd3a83322bd82c799596f0bcf \
                rmd160 23fc9442290b6383ce8f943ef1eb117fa06e79fb

depends_build   \
                port:expat 
                #port:gcc42

configure.args-append \
    --infodir=${prefix}/share/info \
    --mandir=${prefix}/share/man \
    --with-docdir=${prefix}/share/doc \
    --enable-objc-gc

fetch {
    ui_msg "******************************************************"
    ui_msg "* This port for gdb 6.8 fails to configure and build."
    ui_msg "* There is a trac ticket to describe the issues at:"
    ui_msg "* http://trac.macports.org/ticket/19871"
    ui_msg "* Sorry for the inconvenience."
    ui_msg "******************************************************"
}

