63 lines
1.4 KiB
Bash
63 lines
1.4 KiB
Bash
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="3"
|
|
SOURCE_URI="http://ftp.twaren.net/OpenBSD/distfiles/hugs98-Dec2001.tar.gz"
|
|
CHECKSUM_SHA256="7a7663b5b21425087775c1206b8d5f186a20a3ef537188d49300176f71057f17"
|
|
SOURCE_DIR="hugs98-Dec2001"
|
|
|
|
ARCHITECTURES="all ?x86"
|
|
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
|
|
:
|
|
}
|