source: trunk/dports/devel/gdb/Portfile @ 66290

Last change on this file since 66290 was 66290, checked in by snc@…, 8 years ago

fix typo in post-destroot

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
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 66290 2010-04-08 14:17:43Z snc@macports.org $
3
4PortSystem      1.0
5
6name            gdb
7version         7.1
8categories      devel
9maintainers     dweber openmaintainer
10description     GDB: The GNU Project Debugger
11
12long_description \
13GDB, the GNU Project debugger, allows you to see what is going on 'inside' \
14another program while it executes -- or what another program was doing at the \
15moment it crashed.  GDB can do four main kinds of things (plus other things \
16in 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. \
22The program being debugged can be written in Ada, C, C++, Objective-C, \
23Pascal (and many other languages). Those programs might be executing on \
24the same machine as GDB (native) or on another machine (remote). GDB \
25can run on most popular UNIX and Microsoft Windows variants.
26
27homepage        http://www.gnu.org/software/gdb/
28platforms       darwin
29
30master_sites    gnu
31
32use_bzip2       yes
33
34checksums           md5     21dce610476c054687b52770d2ddc657 \
35                    sha1    417e2e637a296ea0e1cdddf56233311b8708fa19 \
36                    rmd160  800d224496240a360c996e588490f2d87367c4e3
37
38depends_build   port:gettext
39
40
41if {${configure.build_arch} == "ppc" || ${configure.build_arch} == "ppc64"} {
42    notes "${name} does not support building on ${configure.build_arch}."
43    pre-fetch {
44        ui_error "${name} does not support building on ${configure.build_arch}."
45        return -code error "Unsupported architecture."
46    }
47}
48
49configure.args-append \
50    --infodir=${prefix}/share/info \
51    --mandir=${prefix}/share/man \
52    --with-docdir=${prefix}/share/doc \
53    --program-prefix=fsf-
54
55configure.cflags-append     -I${prefix}/include
56configure.cxxflags-append   -I${prefix}/include
57
58post-destroot {
59    system "chgrp procmod ${destroot}${prefix}/bin/fsf-gdb*"
60    system "chmod g+s ${destroot}${prefix}/bin/fsf-gdb*"
61    move ${destroot}${prefix}/share/info/standards.info ${destroot}${prefix}/share/info/gdb-standards.info
62}
Note: See TracBrowser for help on using the repository browser.