hugs98: new recipe (#1195)

This commit is contained in:
miqlas
2017-02-28 12:00:28 +01:00
committed by Jérôme Duval
parent a04d148845
commit 8b2a17d66b

View File

@@ -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
:
}