mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
monsterz, fix build, credits to Vrindag (#3587)
This commit is contained in:
committed by
waddlesplash
parent
d7e9e48917
commit
b654bba2d0
13
games-puzzle/monsterz/licenses/WTFPL v2
Normal file
13
games-puzzle/monsterz/licenses/WTFPL v2
Normal file
@@ -0,0 +1,13 @@
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
Version 2, December 2004
|
||||
|
||||
Copyright (C) 2004 Sam Hocevar
|
||||
22 rue de Plaisance, 75014 Paris, France
|
||||
Everyone is permitted to copy and distribute verbatim or modified
|
||||
copies of this license document, and changing it is allowed as long
|
||||
as the name is changed.
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. You just DO WHAT THE FUCK YOU WANT TO.
|
||||
50
games-puzzle/monsterz/monsterz-0.7.1.recipe
Normal file
50
games-puzzle/monsterz/monsterz-0.7.1.recipe
Normal file
@@ -0,0 +1,50 @@
|
||||
SUMMARY="A little arcade puzzle game"
|
||||
DESCRIPTION="Monsterz is a little arcade puzzle game, similar to the famous \
|
||||
Bejeweled or Zookeepe. The goal of the game is to create rows of similar \
|
||||
monsters, either horizontally or vertically. The only allowed move is the swap \
|
||||
of two adjacent monsters, on the condition that it creates a row of three or \
|
||||
more. When alignments are cleared, pieces fall from the top of the screen to \
|
||||
fill the board again. Chain reactions earn you even more points."
|
||||
HOMEPAGE="http://sam.zoy.org/monsterz/"
|
||||
COPYRIGHT="2007 Sam Hocevar, Brendan Rackley, MenTaLguY, Sun Microsystems\
|
||||
Michael Speck, David White Mike Kershaw"
|
||||
LICENSE="WTFPL v2
|
||||
GNU GPL v1
|
||||
GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://sam.zoy.org/monsterz/monsterz-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="50828b8fa26d107bcc2bd134328f83c905b9f5e124846bdf239daf0eed34973d"
|
||||
PATCHES="monsterz-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="settings/monsterz keep-old"
|
||||
|
||||
PROVIDES="
|
||||
monsterz = $portVersion
|
||||
cmd:monsterz = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
pygame
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make PREFIX=$prefix gamesdir=$binDir \
|
||||
datadir=$dataDir scoredir=$settingsDir $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make PREFIX=$prefix gamesdir=$binDir \
|
||||
datadir=$dataDir scoredir=$settingsDir install
|
||||
}
|
||||
29
games-puzzle/monsterz/patches/monsterz-0.7.1.patchset
Normal file
29
games-puzzle/monsterz/patches/monsterz-0.7.1.patchset
Normal file
@@ -0,0 +1,29 @@
|
||||
From f609f6055ea0bcb5025171bd5ef5fb0c6830c5dd Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Sat, 26 Jan 2019 16:21:26 +0100
|
||||
Subject: don't use chown
|
||||
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 6db0ff8..5aa803f 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -42,7 +42,6 @@ graphics/logo.png: graphics/graphics.svg
|
||||
install: all
|
||||
mkdir -p $(DESTDIR)$(gamesdir)
|
||||
cp monsterz $(DESTDIR)$(gamesdir)/
|
||||
- chown root:games $(DESTDIR)$(gamesdir)/monsterz
|
||||
chmod g+s $(DESTDIR)$(gamesdir)/monsterz
|
||||
mkdir -p $(DESTDIR)$(pkgdatadir)/graphics
|
||||
mkdir -p $(DESTDIR)$(pkgdatadir)/sound
|
||||
@@ -51,7 +50,6 @@ install: all
|
||||
cp $(SOUND) $(MUSIC) $(DESTDIR)$(pkgdatadir)/sound/
|
||||
mkdir -p $(DESTDIR)$(scoredir)
|
||||
test -f $(DESTDIR)$(scorefile) || echo "" > $(DESTDIR)$(scorefile)
|
||||
- chown root:games $(DESTDIR)$(scorefile)
|
||||
chmod g+w $(DESTDIR)$(scorefile)
|
||||
|
||||
uninstall:
|
||||
--
|
||||
2.19.1
|
||||
|
||||
Reference in New Issue
Block a user