source: trunk/dports/devel/ddd/Portfile @ 4820

Last change on this file since 4820 was 4820, checked in by toby, 17 years ago

use master_sites gnu

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 1.0 KB
Line 
1# $Id: Portfile,v 1.6 2004/01/18 04:54:46 toby Exp $
2
3PortSystem 1.0
4name            ddd
5version         3.3.1
6categories      devel
7maintainers     jkh@opendarwin.org
8description     Data Display Debugger
9long_description DDD is a graphical front-end for GDB and other command-line debuggers.
10homepage        http://www.gnu.org/software/ddd/
11platforms       darwin
12master_sites    gnu
13checksums       md5 38589618d7cd02a03d062bb116bbf1d2
14depends_lib     lib:libXm.3:openMotif
15patchfiles      patch-combo patch-logplayer.C
16
17# Use darwin variant.  Other OSes with gcc > 3.2 will need to come up with
18# their own hack since this code doesn't compile with gcc 3.3.
19variant darwin {
20        configure.env CC=gcc3 CXX=c++3 CFLAGS=-no-cpp-precomp
21}
22
23post-configure {
24        system "for i in `grep -rl '^#pragma implementation' ${worksrcpath}` ; do sed -e 's:^#pragma implementation:// #pragma implementation:' < \$i > \$i.new && mv \$i.new \$i; done"
25        system "for i in `grep -rl '^#pragma interface' ${worksrcpath}` ; do sed -e 's:^#pragma interface:// #pragma interface:' < \$i > \$i.new && mv \$i.new \$i; done"
26}
Note: See TracBrowser for help on using the repository browser.