mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
fizmo, playinteractive fiction, also known as textadventures, new recipe (#689)
This commit is contained in:
66
games-engines/fizmo/fizmo-0.7.10.recipe
Normal file
66
games-engines/fizmo/fizmo-0.7.10.recipe
Normal file
@@ -0,0 +1,66 @@
|
||||
SUMMARY="A Z-Machine interpreter development library"
|
||||
DESCRIPTION="That means it allows you to play interactive fiction, also \
|
||||
known as textadventures, which were implemented either by Infocom or created \
|
||||
using the Inform compiler on a terminal, or to develop your own interactive \
|
||||
fiction front end in C or any C-related language like C++ or Objective-C."
|
||||
HOMEPAGE="https://christoph-ender.de/fizmo/"
|
||||
COPYRIGHT="2009–2014 Christoph Ender"
|
||||
LICENSE="Fizmo"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://christoph-ender.de/fizmo/source/fizmo-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="0e3561492ece58ff60eba768f3b2cfa943ba111736b0f63b775e3face590462b"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
fizmo$secondaryArchSuffix = $portVersion
|
||||
cmd:fizmo_console$secondaryArchSuffix = $portVersion
|
||||
cmd:fizmo_ncursesw$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libncurses$secondaryArchSuffix
|
||||
lib:libpng$secondaryArchSuffix
|
||||
lib:libSDL2$secondaryArchSuffix
|
||||
lib:libsndfile$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libncurses$secondaryArchSuffix
|
||||
devel:libpng$secondaryArchSuffix
|
||||
devel:libSDL2$secondaryArchSuffix
|
||||
devel:libsndfile$secondaryArchSuffix
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -i "s,-lm,," configure
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure --disable-x11 \
|
||||
--with-jpeg-includedir=$(finddir B_SYSTEM_HEADERS_DIRECTORY)/${secondaryArchSubDir} \
|
||||
--with-ncurses-includedir=$(finddir B_SYSTEM_HEADERS_DIRECTORY)/${secondaryArchSubDir}
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
Reference in New Issue
Block a user