Import wrath-0.0.0.20200228
wrath is the client for the wrath-darkplaces engine used in WRATH: Aeon of Ruin, a game that embraces the timeless elements of classic titles such as DOOM, QUAKE, DUKE NUKEM 3D, BLOOD, UNREAL and HEXEN and carries them into the 21st century. While this package and the game engine are open source, one still needs to provide the original game assets from WRATH: Aeon of Ruin, which is not open source. You will need to purchase the original game to use this package. ok bcallah@ thfr@ improvements by bcallah@ port from maintainer Paul Valencia <reivyr@enmadechi.com>
This commit is contained in:
parent
db758b0a6f
commit
4bfe7d6040
38
games/wrath/Makefile
Normal file
38
games/wrath/Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2020/05/25 16:08:41 solene Exp $
|
||||
|
||||
COMMENT = client of wrath-darkplaces engine
|
||||
|
||||
DISTNAME = wrath-0.0.0.20200228
|
||||
|
||||
GH_ACCOUNT = KillPixelGames
|
||||
GH_PROJECT = wrath-darkplaces
|
||||
GH_COMMIT = ae8a4c06f2b2b088a537bb75c439817f4a009d6a
|
||||
|
||||
CATEGORIES = games
|
||||
|
||||
MAINTAINER = Paul Valencia <reivyr@enmadechi.com>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB = SDL2 X11 c jpeg m z
|
||||
|
||||
LIB_DEPENDS = devel/sdl2 \
|
||||
graphics/jpeg
|
||||
|
||||
MAKE_FLAGS = CC="${CC}" \
|
||||
CFLAGS_LIBJPEG="-I${LOCALBASE}/include -DLINK_TO_LIBJPEG" \
|
||||
CPUOPTIMIZATIONS="${CFLAGS}"
|
||||
|
||||
USE_GMAKE = Yes
|
||||
|
||||
NO_TEST = Yes
|
||||
|
||||
MAKE_FILE = makefile
|
||||
|
||||
ALL_TARGET = sdl2-release
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/darkplaces-sdl ${PREFIX}/bin/wrath
|
||||
|
||||
.include <bsd.port.mk>
|
2
games/wrath/distinfo
Normal file
2
games/wrath/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (wrath-0.0.0.20200228-ae8a4c06.tar.gz) = VO36gNeK+KbhNar+7mCEQVi2Eg+3lbrYua/m2eftZ3g=
|
||||
SIZE (wrath-0.0.0.20200228-ae8a4c06.tar.gz) = 2686672
|
14
games/wrath/patches/patch-makefile_inc
Normal file
14
games/wrath/patches/patch-makefile_inc
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-makefile_inc,v 1.1.1.1 2020/05/25 16:08:41 solene Exp $
|
||||
|
||||
Index: makefile.inc
|
||||
--- makefile.inc.orig
|
||||
+++ makefile.inc
|
||||
@@ -190,7 +190,7 @@ OPTIM_DEBUG=$(CPUOPTIMIZATIONS)
|
||||
#OPTIM_RELEASE=-O2 -fno-strict-aliasing -fno-math-errno -fno-trapping-math -ffinite-math-only -fno-signaling-nans -fcx-limited-range -funroll-loops $(CPUOPTIMIZATIONS)
|
||||
#OPTIM_RELEASE=-O2 -fno-strict-aliasing -funroll-loops $(CPUOPTIMIZATIONS)
|
||||
#OPTIM_RELEASE=-O2 -fno-strict-aliasing $(CPUOPTIMIZATIONS)
|
||||
-OPTIM_RELEASE=-O3 -fno-strict-aliasing $(CPUOPTIMIZATIONS)
|
||||
+OPTIM_RELEASE=-fno-strict-aliasing $(CPUOPTIMIZATIONS)
|
||||
# NOTE: *never* *ever* use the -ffast-math or -funsafe-math-optimizations flag
|
||||
|
||||
DO_CC=$(CC) $(CFLAGS) -c $< -o $@
|
9
games/wrath/pkg/DESCR
Normal file
9
games/wrath/pkg/DESCR
Normal file
@ -0,0 +1,9 @@
|
||||
wrath is the client for the wrath-darkplaces engine used in
|
||||
WRATH: Aeon of Ruin, a game that embraces the timeless elements
|
||||
of classic titles such as DOOM, QUAKE, DUKE NUKEM 3D, BLOOD,
|
||||
UNREAL and HEXEN and carries them into the 21st century.
|
||||
|
||||
While this package and the game engine are open source, one
|
||||
still needs to provide the original game assets from WRATH:
|
||||
Aeon of Ruin, which is not open source. You will need to
|
||||
purchase the original game to use this package.
|
3
games/wrath/pkg/PLIST
Normal file
3
games/wrath/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/05/25 16:08:41 solene Exp $
|
||||
@bin bin/wrath
|
||||
share/doc/pkg-readmes/${PKGSTEM}
|
21
games/wrath/pkg/README
Normal file
21
games/wrath/pkg/README
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: README,v 1.1.1.1 2020/05/25 16:08:41 solene Exp $
|
||||
|
||||
+-------------------------------------------------------------------------------
|
||||
| Running ${PKGSTEM} on OpenBSD
|
||||
+-------------------------------------------------------------------------------
|
||||
|
||||
wrath
|
||||
=====
|
||||
wrath requires the original game files from WRATH: Aeon of Ruin
|
||||
to work properly. These can come from the GOG.com or Steam versions
|
||||
of the game.
|
||||
|
||||
If you have the GOG version, you need to use innoextract to extract
|
||||
the data:
|
||||
$ innoextract setup_wrath_aeon_of_ruin_ea_1.2.1_\(36418\).exe
|
||||
|
||||
To start wrath, you need to run it in a directory containing the kp1
|
||||
directory of the game or you can start wrath using the -basedir=
|
||||
option with a directory containing kp1. For example, if you copy kp1
|
||||
into a $HOME/.wrath directory:
|
||||
$ wrath -basedir $HOME/.wrath
|
Loading…
x
Reference in New Issue
Block a user