50 lines
960 B
Bash
50 lines
960 B
Bash
SUMMARY="BeOS version of Pong"
|
|
DESCRIPTION="Bong is a FreeWare game for BeOS, based on the old arcade classic \
|
|
Pong"
|
|
HOMEPAGE="https://github.com/HaikuArchives/Bong"
|
|
COPYRIGHT="1997 by Gertjan van Ratingen"
|
|
LICENSE="bong"
|
|
REVISION="2"
|
|
srcGitRev="0621726ce71909da7f14ea3c91275cb14cf20f80"
|
|
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="470aa931d5382b848631456db6e78582057268d1b63a6aa38a5cd27565b23bd7"
|
|
SOURCE_FILENAME="bong-$portVersion-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="Bong-$srcGitRev"
|
|
|
|
ARCHITECTURES="all ?x86"
|
|
|
|
PROVIDES="
|
|
bong = $portVersion
|
|
app:bong = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:g++
|
|
cmd:make
|
|
cmd:sed
|
|
"
|
|
|
|
PATCH()
|
|
{
|
|
sed -i -e "/^#if 0$/,/^#endif$/ s/.*//;" bong.cpp
|
|
}
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs OBJ_DIR=objects MACHINE=BePC CC=g++ LD=g++
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
install -d $appsDir
|
|
install -t $appsDir objects/bong
|
|
addAppDeskbarSymlink $appsDir/bong Bong
|
|
}
|