Files
tigerbrew/Library/Formula/ddd.rb
T
softboysxp 5d4708c016 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-08-19 10:22:19 -07:00

29 lines
919 B
Ruby

require 'formula'
class Ddd < Formula
url 'http://ftp.gnu.org/gnu/ddd/ddd-3.3.12.tar.gz'
homepage 'http://www.gnu.org/s/ddd/'
md5 'c50396db7bac3862a6d2555b3b22c34e'
depends_on 'lesstif'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--enable-builtin-app-defaults", "--enable-builtin-manual",
"--prefix=#{prefix}"
# 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"
ENV.deparallelize
system "make install EXEEXT=exe"
# rename after install
system "mv", "#{bin}/dddexe", "#{bin}/ddd"
system "ln", "-sF", "#{bin}/ddd", "#{HOMEBREW_PREFIX}/bin/ddd"
system "rm", "-f", "#{HOMEBREW_PREFIX}/bin/dddexe"
end
end