[102037] trunk/dports/devel
jeremyhu at macports.org
jeremyhu at macports.org
Fri Jan 25 12:03:42 PST 2013
Revision: 102037
https://trac.macports.org/changeset/102037
Author: jeremyhu at macports.org
Date: 2013-01-25 12:03:42 -0800 (Fri, 25 Jan 2013)
Log Message:
-----------
gdb-apple: New port to provide Apple's modified gdb
Added Paths:
-----------
trunk/dports/devel/gdb-apple/
trunk/dports/devel/gdb-apple/Portfile
Added: trunk/dports/devel/gdb-apple/Portfile
===================================================================
--- trunk/dports/devel/gdb-apple/Portfile (rev 0)
+++ trunk/dports/devel/gdb-apple/Portfile 2013-01-25 20:03:42 UTC (rev 102037)
@@ -0,0 +1,79 @@
+# -*- 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$
+
+PortSystem 1.0
+PortGroup muniversal 1.0
+
+name gdb-apple
+version 1822
+categories devel
+license GPL-2+
+maintainers jeremyhu openmaintainer
+description GDB: The GNU Project Debugger with Apple Modifications (based on 6.3.50)
+
+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://opensource.apple.com/source/gdb
+platforms darwin
+supported_archs x86_64 i386
+
+# xm.h can be created out of order
+use_parallel_build no
+
+distname gdb-${version}
+master_sites http://opensource.apple.com/tarballs/gdb
+
+checksums rmd160 154ca525cad4c400d36097983086ebdb7f31ebe9 \
+ sha256 a56e526d557f0d3ea36bff2af2451070855b151accf7255181ec16c6cd0a3f67
+
+depends_build port:gettext port:zlib port:flex
+
+worksrcdir ${worksrcdir}/src
+
+configure.args \
+ --infodir=${prefix}/share/info \
+ --mandir=${prefix}/share/man \
+ --with-docdir=${prefix}/share/doc \
+ --program-suffix=-apple \
+ --disable-werror
+
+build.args \
+ MAKEINFO="makeinfo" \
+ LEXLIB="/opt/local/lib/libfl.a"
+
+destroot.args \
+ MAKEINFO="makeinfo" \
+ LEXLIB="/opt/local/lib/libfl.a"
+
+post-destroot {
+ system "chgrp procmod ${destroot}${prefix}/bin/*-apple"
+ system "chmod g+s ${destroot}${prefix}/bin/*-apple"
+
+ foreach info [glob -tails -directory ${destroot}${prefix}/share/info g*] {
+ move ${destroot}${prefix}/share/info/${info} ${destroot}${prefix}/share/info/apple-${info}
+ }
+
+ eval delete [glob ${destroot}${prefix}/lib/*.{,l}a]
+ eval delete [glob ${destroot}${prefix}/bin/{addr2line,ar,c*filt,nm,objcopy,objdump,ranlib,readelf,size,strings,strip}-apple]
+ eval delete [glob ${destroot}${prefix}/*darwin*]
+ eval delete [glob ${destroot}${prefix}/include/*.h]
+ eval delete [glob ${destroot}${prefix}/share/info/{annotate,bfd,stabs}.info]
+ eval delete [glob ${destroot}${prefix}/share/locale/*/LC_MESSAGES/{bfd,binutils,opcodes}.mo]
+}
+
+livecheck.type regex
+livecheck.url http://opensource.apple.com/tarballs/gdb
+livecheck.regex gdb-(\\d+(?:\\.\\d+)*)\\.tar
Property changes on: trunk/dports/devel/gdb-apple/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130125/8d3ca82e/attachment.html>
More information about the macports-changes
mailing list