Ticket #24360: Portfile

File Portfile, 2.1 KB (added by howarth@…, 15 years ago)

gdb 7.1 Portfile

Line 
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
4PortSystem      1.0
5
6name            gdb
7version         7.1
8revision        1
9categories      devel
10maintainers     dweber openmaintainer
11description     GDB: The GNU Project Debugger
12
13long_description \
14GDB, the GNU Project debugger, allows you to see what is going on 'inside' \
15another program while it executes -- or what another program was doing at the \
16moment it crashed.  GDB can do four main kinds of things (plus other things \
17in support of these) to help you catch bugs in the act: \
18    a) start your program, specifying anything that might affect its behavior, \
19    b) make your program stop on specified conditions, \
20    c) examine what has happened, when your program has stopped, \
21    d) change things in your program, so you can experiment with correcting \
22       the effects of one bug and go on to learn about another. \
23The program being debugged can be written in Ada, C, C++, Objective-C, \
24Pascal (and many other languages). Those programs might be executing on \
25the same machine as GDB (native) or on another machine (remote). GDB \
26can run on most popular UNIX and Microsoft Windows variants.
27
28homepage        http://www.gnu.org/software/gdb/
29platforms       darwin
30
31master_sites    gnu
32
33use_bzip2       yes
34
35checksums           md5     21dce610476c054687b52770d2ddc657 \
36                    sha1    417e2e637a296ea0e1cdddf56233311b8708fa19 \
37                    rmd160  800d224496240a360c996e588490f2d87367c4e3
38
39depends_build   port:gettext
40
41configure.args-append \
42    --infodir=${prefix}/share/info \
43    --mandir=${prefix}/share/man \
44    --with-docdir=${prefix}/share/doc \
45    --program-prefix=fsf-
46
47configure.cflags-append -I${prefix}/include
48
49configure.cxxflags-append -I${prefix}/include
50
51post-destroot   {
52    system "chgrp procmod ${destroot}${prefix}/bin/fsf-gdb*"
53    system "chmod g+s ${destroot}${prefix}/bin/fsf-gdb*"
54    move ${destroot}${prefix}/share/info/standards.info ${destroot}${prefix}/share/info/gdb-standards.info
55    }