mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
51 lines
1.1 KiB
Bash
51 lines
1.1 KiB
Bash
SUMMARY="Tetris client and server"
|
|
DESCRIPTION="BeNetTris is a multiplayer Tetris game that you can play \
|
|
with your friends! BeNetTris is client and server compatible with V1.13 \
|
|
or V1.14 of Tetrinet or Tetrinet TetriFast."
|
|
HOMEPAGE="https://github.com/HaikuArchives/BeNetTris"
|
|
COPYRIGHT="2000-2008 Cedric Vincent"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
srcGitRev="5d04121340b7c730160d5eab6a97c79b97168464"
|
|
SOURCE_URI="https://github.com/HaikuArchives/BeNetTris/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="bd3096b84601a257cd22818ba0396be600d4b99e2f9d02f000d029502af9eddc"
|
|
SOURCE_FILENAME="BeNetTris-$portVersion-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="BeNetTris-$srcGitRev"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
USER_SETTINGS_FILES="
|
|
settings/BeNetTrisSettings directory
|
|
"
|
|
|
|
PROVIDES="
|
|
benettris = $portVersion
|
|
app:BeNetTris = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:find
|
|
cmd:g++
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs OBJ_DIR=objects
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir/BeNetTris
|
|
cp objects/BeNetTris $appsDir/BeNetTris
|
|
cp -r Data $appsDir/BeNetTris
|
|
addAppDeskbarSymlink $appsDir/BeNetTris/BeNetTris
|
|
}
|