GNU DDD 3.3.12
GNU DDD is a graphical front-end for command-line debuggers such as GDB, DBX,
WDB, Ladebug, JDB, XDB, the Perl debugger, the bash debugger bashdb, the GNU
Make debugger remake, or the Python debugger pydb. Besides ``usual'' front-end
features such as viewing source texts, DDD has become famous through its
interactive graphical data display, where data structures are displayed as
graphs.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-23 09:42:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ddd < Formula
|
2012-05-15 04:38:42 +00:00
|
|
|
homepage 'http://www.gnu.org/s/ddd/'
|
2011-09-12 16:31:30 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/ddd/ddd-3.3.12.tar.gz'
|
2011-11-30 18:56:07 +00:00
|
|
|
mirror 'http://ftp.gnu.org/gnu/ddd/ddd-3.3.12.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'b91d2dfb1145af409138bd34517a898341724e56'
|
2011-08-22 08:32:35 +00:00
|
|
|
|
GNU DDD 3.3.12
GNU DDD is a graphical front-end for command-line debuggers such as GDB, DBX,
WDB, Ladebug, JDB, XDB, the Perl debugger, the bash debugger bashdb, the GNU
Make debugger remake, or the Python debugger pydb. Besides ``usual'' front-end
features such as viewing source texts, DDD has become famous through its
interactive graphical data display, where data structures are displayed as
graphs.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-23 09:42:50 +00:00
|
|
|
depends_on 'lesstif'
|
2012-10-18 21:17:44 +00:00
|
|
|
depends_on :x11
|
GNU DDD 3.3.12
GNU DDD is a graphical front-end for command-line debuggers such as GDB, DBX,
WDB, Ladebug, JDB, XDB, the Perl debugger, the bash debugger bashdb, the GNU
Make debugger remake, or the Python debugger pydb. Besides ``usual'' front-end
features such as viewing source texts, DDD has become famous through its
interactive graphical data display, where data structures are displayed as
graphs.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-23 09:42:50 +00:00
|
|
|
|
2014-03-17 00:35:07 +00:00
|
|
|
# Needed for OSX 10.9 DP6 build failure:
|
|
|
|
# https://savannah.gnu.org/patch/?8178
|
|
|
|
patch :p0 do
|
|
|
|
url "https://savannah.gnu.org/patch/download.php?file_id=29114"
|
|
|
|
sha1 "4f7406e7698f54f609ced955f0cc90374cc45431"
|
|
|
|
end if MacOS.version >= :mavericks
|
2013-09-11 08:56:45 +00:00
|
|
|
|
GNU DDD 3.3.12
GNU DDD is a graphical front-end for command-line debuggers such as GDB, DBX,
WDB, Ladebug, JDB, XDB, the Perl debugger, the bash debugger bashdb, the GNU
Make debugger remake, or the Python debugger pydb. Besides ``usual'' front-end
features such as viewing source texts, DDD has become famous through its
interactive graphical data display, where data structures are displayed as
graphs.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-23 09:42:50 +00:00
|
|
|
def install
|
2012-05-15 04:38:42 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--enable-builtin-app-defaults",
|
|
|
|
"--enable-builtin-manual",
|
GNU DDD 3.3.12
GNU DDD is a graphical front-end for command-line debuggers such as GDB, DBX,
WDB, Ladebug, JDB, XDB, the Perl debugger, the bash debugger bashdb, the GNU
Make debugger remake, or the Python debugger pydb. Besides ``usual'' front-end
features such as viewing source texts, DDD has become famous through its
interactive graphical data display, where data structures are displayed as
graphs.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-23 09:42:50 +00:00
|
|
|
"--prefix=#{prefix}"
|
2011-08-22 08:32:35 +00:00
|
|
|
|
GNU DDD 3.3.12
GNU DDD is a graphical front-end for command-line debuggers such as GDB, DBX,
WDB, Ladebug, JDB, XDB, the Perl debugger, the bash debugger bashdb, the GNU
Make debugger remake, or the Python debugger pydb. Besides ``usual'' front-end
features such as viewing source texts, DDD has become famous through its
interactive graphical data display, where data structures are displayed as
graphs.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-23 09:42:50 +00:00
|
|
|
# From MacPorts:
|
|
|
|
# make will build the executable "ddd" and the X resource file "Ddd" in the same directory,
|
|
|
|
# as HFS+ is case-insensitive by default, this will loosely FAIL
|
|
|
|
system "make EXEEXT=exe"
|
2011-08-22 08:32:35 +00:00
|
|
|
|
GNU DDD 3.3.12
GNU DDD is a graphical front-end for command-line debuggers such as GDB, DBX,
WDB, Ladebug, JDB, XDB, the Perl debugger, the bash debugger bashdb, the GNU
Make debugger remake, or the Python debugger pydb. Besides ``usual'' front-end
features such as viewing source texts, DDD has become famous through its
interactive graphical data display, where data structures are displayed as
graphs.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-23 09:42:50 +00:00
|
|
|
ENV.deparallelize
|
|
|
|
system "make install EXEEXT=exe"
|
2011-08-22 08:32:35 +00:00
|
|
|
|
2012-05-15 04:38:42 +00:00
|
|
|
mv bin/'dddexe', bin/'ddd'
|
GNU DDD 3.3.12
GNU DDD is a graphical front-end for command-line debuggers such as GDB, DBX,
WDB, Ladebug, JDB, XDB, the Perl debugger, the bash debugger bashdb, the GNU
Make debugger remake, or the Python debugger pydb. Besides ``usual'' front-end
features such as viewing source texts, DDD has become famous through its
interactive graphical data display, where data structures are displayed as
graphs.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-23 09:42:50 +00:00
|
|
|
end
|
|
|
|
end
|