Add the uhexen2 software rendering client.

Original suggestion and diff from rfreeman.
Fix a typo in pkg/README while here.
ok edd@ (MAINTAINER)
This commit is contained in:
bcallah 2014-06-17 23:57:29 +00:00
parent 0fe455861b
commit 94ac264d32
3 changed files with 17 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2014/06/07 13:36:42 bcallah Exp $
# $OpenBSD: Makefile,v 1.3 2014/06/17 23:57:29 bcallah Exp $
COMMENT = Hexen II: Hammer of Thyrion
@ -6,7 +6,7 @@ V = 1.5.6
DISTNAME = hexen2source-${V}
PKGNAME = uhexen2-${V}
EXTRACT_SUFX = .tgz
REVISION = 0
REVISION = 1
DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
hexen2-${V}-linux-i586.tgz
@ -40,9 +40,13 @@ MAKE_FLAGS += CC=${CC}
DOMAKE = ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}
do-build:
cd ${WRKBUILD}/engine/hexen2 && ${DOMAKE} h2
cd ${WRKBUILD}/engine/hexen2 && ${DOMAKE} clean
cd ${WRKBUILD}/engine/hexen2 && ${DOMAKE} glh2
cd ${WRKBUILD}/engine/hexen2/server && ${DOMAKE}
cd ${WRKBUILD}/engine/hexenworld/server && ${DOMAKE}
cd ${WRKBUILD}/engine/hexenworld/client && ${DOMAKE} hw
cd ${WRKBUILD}/engine/hexenworld/client && ${DOMAKE} clean
cd ${WRKBUILD}/engine/hexenworld/client && ${DOMAKE} glhw
cd ${WRKBUILD}/launcher && ${DOMAKE}
cd ${WRKBUILD}/h2patch && ${DOMAKE}
@ -50,8 +54,10 @@ do-build:
cd ${WRKBUILD}/hw_utils/hwmquery && ${DOMAKE}
cd ${WRKBUILD}/hw_utils/hwrcon && ${DOMAKE}
BINS = engine/hexen2/glhexen2 \
BINS = engine/hexen2/hexen2 \
engine/hexen2/glhexen2 \
engine/hexen2/server/h2ded \
engine/hexenworld/client/hwcl \
engine/hexenworld/client/glhwcl \
engine/hexenworld/server/hwsv \
launcher/h2launcher \

View File

@ -1,9 +1,11 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/05/30 15:25:48 edd Exp $
@comment $OpenBSD: PLIST,v 1.2 2014/06/17 23:57:29 bcallah Exp $
bin/glhexen2
bin/glhwcl
bin/h2ded
bin/h2launcher
bin/h2patch
bin/hexen2
bin/hwcl
bin/hwmaster
bin/hwmquery
bin/hwrcon
@ -63,9 +65,10 @@ share/uhexen2/data1/strings.txt
@bin share/uhexen2/h2ded
@bin share/uhexen2/h2launcher
@bin share/uhexen2/h2patch
share/uhexen2/hexen2
@bin share/uhexen2/hexen2
share/uhexen2/hexen2.png
share/uhexen2/hexen2.svga
@bin share/uhexen2/hwcl
@bin share/uhexen2/hwmaster
@bin share/uhexen2/hwmquery
@bin share/uhexen2/hwrcon

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.1.1.1 2014/05/30 15:25:48 edd Exp $
$OpenBSD: README,v 1.2 2014/06/17 23:57:29 bcallah Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -10,9 +10,9 @@ Installing the Game Data
To play Hexen2 you need the pak files (pak*.pak) from the original game.
After obtaining them, copy them into ${TRUEPREFIX}/share/uhexen2/data1.
If you pak files need to be patched, then run the `h2patch` tool.
If your pak files need to be patched, then run the `h2patch` tool.
Starting the Game
=================
Type `glhexen2` or `h2launcher`.
Type `glhexen2` or `hexen2` or `h2launcher`.