Portfile

# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $

PortSystem 1.0
name buddha
version 1.2
categories devel
maintainers nomaintainer@macports.org
platforms darwin

description A declarative debugger for Haskell 98 programs.
long_description \
Buddha is a debugger for Haskell 98 programs. \
To be more precise, it is a declarative debugger. \
It presents the evaluation of a Haskell program as \
a series of equivalences, rather than the more \
traditional stepwise presentation of debuggers for \
imperative languages.

homepage http://www.cs.mu.oz.au/~bjpop/buddha/
master_sites ${homepage}/download

checksums md5 e662d5e2891d7d5e203c477723b62aa3

depends_build bin:ghc:ghc
depends_lib lib:readline:readline

#bugs Buddha requires that the associated ghc be built \
# with profiling libraries. The is true for the ghc \
# installed by darwinports, but might not be if you \
# installed ghc by a different route. \
# \
# Not all of the system libraries have buddha-ized \
# versions, and buddha will fail to produce debugging \
# versions of programs that use these libraries.

#user_notes The buddha parser is not as smart as full haskell \
# and sometimes requires a type signature to help it \
# along. Try this if the original source file compiles \
# but under buddha you get 'ambiguous type' errors.