SUMMARY="An Interactive Fiction Design System"
DESCRIPTION="Hugo is a complete design system for developing interactive \
fiction. It has been used for creating classic text adventure games in the \
Infocom tradition, for developing commercial games, and for prototyping other \
applications. In addition to an extremely sophisticated full-sentence-cognizant \
interface."
HOMEPAGE="http://www.generalcoffee.com/old/hugo.html"
COPYRIGHT="1996-2005 Kent Tessman"
LICENSE="hugo"
REVISION="2"
SOURCE_URI="http://www.ifarchive.org/if-archive/programming/hugo/source/hugov31_unix_source.tar.gz"
CHECKSUM_SHA256="bf5ec8f4331e7d1ce18c304fc9131d759e371310d5fe894ffe37609eabd08945"
SOURCE_DIR="hugov$portVersion"

ARCHITECTURES="?all"
SECONDARY_ARCHITECTURES="x86"

PROVIDES="
	hugo$secondaryArchSuffix = $portVersion
	cmd:hc$secondaryArchSuffix = $portVersion
	cmd:hd$secondaryArchSuffix = $portVersion
	cmd:he$secondaryArchSuffix = $portVersion
	"
REQUIRES="
	haiku$secondaryArchSuffix
	lib:libncurses$secondaryArchSuffix
	"

BUILD_REQUIRES="
	haiku${secondaryArchSuffix}_devel
	devel:libncurses$secondaryArchSuffix
	"
BUILD_PREREQUIRES="
	cmd:gcc$secondaryArchSuffix
	cmd:ld$secondaryArchSuffix
	cmd:make
	"

BUILD()
{
	make $jobArgs
}

INSTALL()
{
	mkdir -p $binDir
	cp hc hd he $binDir/
}
