mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
The tileset tile0.pcx had the tiles using a white background. That made it impossible for the game to highlight a selected tile. Edited tile0.pcx (using GIMP) to use a darker background. Improved the SUMMARY - nobody cares if it uses SDL. Improved the DESCRIPTION - since it's all part of an unchanging package, no need to explain how to add tilesets/backgrounds. That's up to the packager.
61 lines
1.3 KiB
Bash
61 lines
1.3 KiB
Bash
SUMMARY="A version of the Lopan (Mah Jongg solitaire) game"
|
|
DESCRIPTION="The well known Lopan (Mah Jong solitaire) game. Click on \
|
|
matching pairs and try to remove all 144 tiles.
|
|
|
|
Within the game, the ESC key exits, and RETURN reshuffles the board.
|
|
The arrow keys work as undo/redo.
|
|
F1 switches tilesets.
|
|
F2 switches backgrounds."
|
|
HOMEPAGE="http://www.linuxmotors.com/sdllopan/"
|
|
COPYRIGHT="1999-2008 Dave Ashley"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="7"
|
|
SOURCE_URI="http://www.linuxmotors.com/sdllopan/downloads/sdllopan-$portVersion.tgz"
|
|
CHECKSUM_SHA256="386de065bc8c3449c3b0b5e5651cb035cb1bdc242b425c865dd387c54ce708c3"
|
|
PATCHES="sdllopan-$portVersion.patchset"
|
|
ADDITIONAL_FILES="
|
|
Lopan-icon
|
|
tiles0.pcx
|
|
tiles2.pcx
|
|
"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86_64"
|
|
|
|
PROVIDES="
|
|
sdllopan = $portVersion
|
|
app:Lopan = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libSDL_1.2
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libSDL
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cp $portDir/additional-files/Lopan-icon .
|
|
cp $portDir/additional-files/tiles0.pcx \
|
|
$portDir/additional-files/tiles2.pcx data/
|
|
make $jobArgs
|
|
rc -o lopan.rsrc lopan.rdef
|
|
xres -o lopan lopan.rsrc
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir/Lopan
|
|
cp lopan $appsDir/Lopan/Lopan
|
|
cp README $appsDir/Lopan/ReadMe
|
|
cp -r data $appsDir/Lopan
|
|
addAppDeskbarSymlink $appsDir/Lopan/Lopan
|
|
}
|