diff --git a/dev-lang/hugs98/hugs98-dec2001.recipe b/dev-lang/hugs98/hugs98-dec2001.recipe new file mode 100644 index 000000000..d3cfa796c --- /dev/null +++ b/dev-lang/hugs98/hugs98-dec2001.recipe @@ -0,0 +1,62 @@ +SUMMARY="A Haskell interpreter and programming environment" +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://haskell.org/hugs/" +COPYRIGHT="1994-2001 Mark P Jones, Alastair Reid, the Yale Haskell Group, \ +and the Oregon Graduate Institute of Science and Technology" +LICENSE="BSD (3-clause)" +REVISION="1" +SOURCE_URI="http://ftp.twaren.net/OpenBSD/distfiles/hugs98-Dec2001.tar.gz" +CHECKSUM_SHA256="7a7663b5b21425087775c1206b8d5f186a20a3ef537188d49300176f71057f17" +SOURCE_DIR="hugs98-Dec2001" + +ARCHITECTURES="?x86_gcc2 ?x86 x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + hugs98$secondaryArchSuffix = $portVersion + cmd:hugs$secondaryArchSuffix = $portVersion + cmd:runhugs$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libncursesw$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libncursesw$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:bison + cmd:gcc$secondaryArchSuffix + cmd:libtoolize$secondaryArchSuffix + cmd:make + cmd:perl + " + +BUILD() +{ + cd src/unix + + libtoolize -vfi + runConfigure --omit-dirs 'docDir dataRootDir' ./configure \ + --with-pthreads + + cd .. + make $jobArgs OBJ_DIR=objects +} + +INSTALL() +{ + cd src + make install +} + +TEST() +{ + #make check + #readline official breaks the tests + : +}