mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
74 lines
2.1 KiB
Bash
74 lines
2.1 KiB
Bash
SUMMARY="Free implementation of Heroes of the Might and Magic II engine"
|
|
DESCRIPTION="Free implementation of Heroes of the Might and Magic II engine. \
|
|
SDL is used. Free Heroes 2 is a turn based strategy video game.
|
|
The original game was voted the sixth best PC game of all time by PC Gamer \
|
|
magazine in May 1997."
|
|
HOMEPAGE="https://sourceforge.net/projects/fheroes2/"
|
|
COPYRIGHT="2006-2015 Andrey Afletdinov"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://sourceforge.net/code-snapshots/svn/f/fh/fheroes2/code/fheroes2-code-$portVersion-trunk.zip"
|
|
CHECKSUM_SHA256="250bf73ce8f4b1ab69b3d63ecd0727e10196f86d5e42b34bae78ce574e34c3c1"
|
|
SOURCE_DIR="fheroes2-code-$portVersion-trunk"
|
|
PATCHES="fheroes2-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
fheroes2$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libfreetype$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libogg$secondaryArchSuffix
|
|
lib:libpng16$secondaryArchSuffix
|
|
lib:libsdl_1.2$secondaryArchSuffix
|
|
lib:libsdl_image$secondaryArchSuffix
|
|
lib:libsdl_mixer$secondaryArchSuffix
|
|
lib:libsdl_net_1.2$secondaryArchSuffix
|
|
lib:libsdl_ttf$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libfreetype$secondaryArchSuffix
|
|
devel:libgettextlib$secondaryArchSuffix
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libogg$secondaryArchSuffix
|
|
devel:libpng16$secondaryArchSuffix
|
|
devel:libsdl_1.2$secondaryArchSuffix
|
|
devel:libsdl_image$secondaryArchSuffix
|
|
devel:libsdl_mixer$secondaryArchSuffix
|
|
devel:libsdl_net_1.2$secondaryArchSuffix
|
|
devel:libsdl_ttf$secondaryArchSuffix
|
|
devel:libvorbis$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd fheroes2
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir/FHeroes2
|
|
|
|
cd fheroes2
|
|
cp -rf fheroes2* README $appsDir/FHeroes2
|
|
cp -rf files $appsDir/FHeroes2
|
|
mv $appsDir/FHeroes2/fheroes2 "$appsDir/FHeroes2/Free Heroes 2"
|
|
|
|
addAppDeskbarSymlink "$appsDir/FHeroes2/Free Heroes 2"
|
|
}
|