# $Id: Portfile,v 1.1 2003/03/13 23:28:13 gwright Exp $ PortSystem 1.0 name hugs98 version Nov2002 categories lang maintainers gwright@comcast.com platforms darwin description The HUGS Haskell Interpreter long_description \ Hugs 98 is a functional programming system based \ on Haskell 98, the de facto standard for non-strict \ functional programming languages. Hugs 98 provides an \ almost complete implementation of Haskell 98. homepage http://www.haskell.org/hugs/ master_sites http://cvs.haskell.org/Hugs/downloads/Nov2002/ checksums md5 8d3951d991661045713b612bf539c8c9 patchfiles patch-MkInstal.in depends_lib lib:libreadline.4:readline build.dir ${workpath}/${worksrcdir}/src # Hugs is ignorant of "make all" so we just make with no target: build.target configure { system "cd ${build.dir}/unix && \ LDFLAGS=\"-L${prefix}/lib\" ./configure --prefix=${prefix}" } pre-install { system "mkdir -p ${destroot}/${prefix} && \ cd ${build.dir}" }