diff --git a/games-action/abuse/abuse-0.8.recipe b/games-action/abuse/abuse-0.8.recipe new file mode 100644 index 000000000..8a75297a5 --- /dev/null +++ b/games-action/abuse/abuse-0.8.recipe @@ -0,0 +1,54 @@ +SUMMARY="2D side-scrolling platform game" +DESCRIPTION="Abuse is a dark 2D side-scrolling platform game developed by \ +Crack dot Com in 1995. It features beautiful lighting, realistic animation \ +and nasty alien-like creatures to destroy. It is now maintained by Sam \ +Hocevar in an attempt to prevent it from vanishing from the Internet." +HOMEPAGE="http://abuse.zoy.org" +COPYRIGHT="2001-2005 Sam Hocevar + 2001 Anthony Kruize + 1995 Crack dot Com + 1995 Bobby Prince + 1995 Crack dot Com + 1996-2008 Justin Cassidy" +LICENSE="GNU GPL v2" +REVISION="1" +SOURCE_URI="http://abuse.zoy.org/raw-attachment/wiki/download/abuse-$portVersion.tar.gz" +CHECKSUM_SHA256="0104db5fd2695c9518583783f7aaa7e5c0355e27c5a803840a05aef97f9d3488" +PATCHES="abuse-$portVersion.patchset" +ARCHITECTURES="x86_gcc2" + +PROVIDES=" + abuse = $portVersion + cmd:abuse = $portVersion + cmd:abuse_tool = $portVersion + " +REQUIRES=" + haiku + lib:libSDL + lib:libSDL_mixer_1.2 + lib:libGL + lib:libGLU + " + +BUILD_REQUIRES=" + haiku_devel + devel:libSDL + devel:libSDL_mixer_1.2 + devel:libGLU + " +BUILD_PREREQUIRES=" + cmd:make + cmd:gcc + cmd:awk + " + +BUILD() +{ + runConfigure ./configure + make $jobArgs +} + +INSTALL() +{ + make install +} diff --git a/games-action/abuse/patches/abuse-0.8.patchset b/games-action/abuse/patches/abuse-0.8.patchset new file mode 100644 index 000000000..67b04d57b --- /dev/null +++ b/games-action/abuse/patches/abuse-0.8.patchset @@ -0,0 +1,43 @@ +From 70602ecce40c1502303d83500a01fff697cfcd60 Mon Sep 17 00:00:00 2001 +From: Yourself +Date: Tue, 25 Sep 2018 16:05:19 +0000 +Subject: removed reference to unused sys/shm.h + + +diff --git a/src/net/tcpip.h b/src/net/tcpip.h +index 000071c..a13ad9d 100644 +--- a/src/net/tcpip.h ++++ b/src/net/tcpip.h +@@ -27,7 +27,6 @@ + # include + # include + # include +-# include + # include + # include + # ifdef HAVE_BSTRING_H +-- +2.19.0 + + +From 691507d92603cc5d4b0d12205e469060741c5493 Mon Sep 17 00:00:00 2001 +From: Yourself +Date: Tue, 25 Sep 2018 16:08:30 +0000 +Subject: added missing stdint.h reference + + +diff --git a/src/intsect.cpp b/src/intsect.cpp +index 8df9cbf..85fc0ec 100644 +--- a/src/intsect.cpp ++++ b/src/intsect.cpp +@@ -13,6 +13,7 @@ + #endif + + #include ++#include + + void pushback(int32_t x1,int32_t y1,int32_t &x2,int32_t &y2, + int32_t xp1, int32_t yp1, int32_t xp2, int32_t yp2, int xdir, int ydir, int inside) +-- +2.19.0 +