| 1 | # -*- 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 |
|---|
| 2 | # $Id: Portfile 51884 2009-06-05 23:45:08Z dweber@macports.org $ |
|---|
| 3 | |
|---|
| 4 | PortSystem 1.0 |
|---|
| 5 | |
|---|
| 6 | name gdb |
|---|
| 7 | version 7.1.50.20100223 |
|---|
| 8 | categories devel |
|---|
| 9 | maintainers dweber openmaintainer |
|---|
| 10 | description GDB: The GNU Project Debugger |
|---|
| 11 | |
|---|
| 12 | long_description \ |
|---|
| 13 | GDB, the GNU Project debugger, allows you to see what is going on 'inside' \ |
|---|
| 14 | another program while it executes -- or what another program was doing at the \ |
|---|
| 15 | moment it crashed. GDB can do four main kinds of things (plus other things \ |
|---|
| 16 | in support of these) to help you catch bugs in the act: \ |
|---|
| 17 | a) start your program, specifying anything that might affect its behavior, \ |
|---|
| 18 | b) make your program stop on specified conditions, \ |
|---|
| 19 | c) examine what has happened, when your program has stopped, \ |
|---|
| 20 | d) change things in your program, so you can experiment with correcting \ |
|---|
| 21 | the effects of one bug and go on to learn about another. \ |
|---|
| 22 | The program being debugged can be written in Ada, C, C++, Objective-C, \ |
|---|
| 23 | Pascal (and many other languages). Those programs might be executing on \ |
|---|
| 24 | the same machine as GDB (native) or on another machine (remote). GDB \ |
|---|
| 25 | can run on most popular UNIX and Microsoft Windows variants. |
|---|
| 26 | |
|---|
| 27 | homepage http://www.gnu.org/software/gdb/ |
|---|
| 28 | platforms darwin |
|---|
| 29 | |
|---|
| 30 | master_sites gnu \ |
|---|
| 31 | ftp://sourceware.org//pub/gdb/snapshots/current/ |
|---|
| 32 | |
|---|
| 33 | use_bzip2 yes |
|---|
| 34 | |
|---|
| 35 | checksums md5 4f8c000b84281091e2680f1cd599b5cd |
|---|
| 36 | |
|---|
| 37 | depends_build \ |
|---|
| 38 | port:expat |
|---|
| 39 | #port:gcc42 |
|---|
| 40 | |
|---|
| 41 | configure.args-append \ |
|---|
| 42 | --infodir=${prefix}/share/info \ |
|---|
| 43 | --mandir=${prefix}/share/man \ |
|---|
| 44 | --with-docdir=${prefix}/share/doc \ |
|---|
| 45 | --enable-objc-gc \ |
|---|
| 46 | --disable-nls |
|---|
| 47 | |
|---|