fixed build commands to use make, fixed capitalization on app:BeMines under PROVIDES, added missing REQUIRES and BUILD_PREREQUIRES, moved game to haiku-games directory.

This commit is contained in:
Justin Stressman
2015-03-03 22:48:40 +00:00
parent 49660c3a91
commit 5652b3e531
2 changed files with 10 additions and 28 deletions

View File

@@ -1,22 +0,0 @@
From 75a23a19f63db6a11dee7d5f0e2b527407d1c135 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@gmail.com>
Date: Fri, 28 Nov 2014 14:05:40 +0100
Subject: Build fix.
diff --git a/src/GameStyle.cpp b/src/GameStyle.cpp
index c343d23..1202c12 100644
--- a/src/GameStyle.cpp
+++ b/src/GameStyle.cpp
@@ -125,7 +125,7 @@ GameStyle::SetStyle(const char *stylename)
fLEDNumbers[i] = GetStyleBitmap(ref,ledname.String());
}
- fStyleName = data ? data->name : "Default";
+ fStyleName = data ? data->name : BString("Default");
return true;
}
--
1.8.3.4

View File

@@ -15,27 +15,31 @@ Controls
set off a mine. Left clicking while holding down SHIFT will also \
do this."
HOMEPAGE="https://github.com/HaikuArchives/BeMines"
SRC_URI="git+https://github.com/haikuarchives/bemines#be29173f854c82f5b312ed31b5245b807a5afe0f"
SRC_URI="git+https://github.com/haikuarchives/bemines#ccbc3dd0fa7771748b5560b03db907cff64bae34"
LICENSE="MIT"
COPYRIGHT="2009 Jon Yoder"
ARCHITECTURES="x86_gcc2"
REVISION="1"
PATCHES="bemines-$portVersion.patchset"
PROVIDES="
bemines = $portVersion
app:bemines
app:BeMines
"
REQUIRES="
haiku
"
BUILD_PREREQUIRES="
haiku_devel
makefile_engine
cmd:gcc
cmd:make
"
BUILD()
{
gcc src/*.cpp -o BeMines -lbe -ltranslation -lmedia
xres -o BeMines src/BeMines.rsrc
make
}
INSTALL()