Urban Terror can be described as a Hollywood tactical shooter; somewhat

realism based, but the motto is "fun over realism". This results in a
very unique, enjoyable and addictive game.

From Ryan Freeman.

ok dcoppa@
This commit is contained in:
bentley 2016-08-26 08:55:57 +00:00
parent bfea222448
commit 7059508a69
5 changed files with 95 additions and 0 deletions

View File

@ -0,0 +1,41 @@
# $OpenBSD: Makefile,v 1.1.1.1 2016/08/26 08:55:57 bentley Exp $
USE_WXNEEDED = Yes
ONLY_FOR_ARCHS = amd64 i386
COMMENT = fast-paced hollywood-tactical shooter: "fun over realism"
DISTNAME = urbanterror-4.2.023pl1
GH_ACCOUNT = Barbatos
GH_PROJECT = ioq3-for-UrbanTerror-4
GH_COMMIT = fdcc11fc48bc3b154523a201e91460904a3261d1
CATEGORIES = games x11
HOMEPAGE = http://urbanterror.info/
MAINTAINER = Ryan Freeman <ryan@slipgate.org>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += X11 Xxf86vm c m pthread SDL
LIB_DEPENDS = devel/sdl
RUN_DEPENDS = games/urbanterror-data
USE_GMAKE = Yes
ALL_TARGET = release
MAKE_ENV = V=1 \
DEFAULT_BASEDIR=${TRUEPREFIX}/share/urbanterror
do-install:
${INSTALL_PROGRAM} \
${WRKBUILD}/build/release-openbsd/Quake3-UrT \
${PREFIX}/bin/urbanterror
${INSTALL_PROGRAM} \
${WRKBUILD}/build/release-openbsd/Quake3-UrT-Ded \
${PREFIX}/bin/urbanterror-ded
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (urbanterror-4.2.023pl1.tar.gz) = tZPueTR1mjWaanmlhxtmuWEh9Hizw1oJGxSaqM9GtnQ=
SIZE (urbanterror-4.2.023pl1.tar.gz) = 10022625

View File

@ -0,0 +1,46 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2016/08/26 08:55:57 bentley Exp $
--- Makefile.orig Sat Aug 20 03:46:28 2016
+++ Makefile Sat Aug 20 18:59:13 2016
@@ -150,8 +150,8 @@ endif
#############################################################################
-BD=$(BUILD_DIR)/debug-$(PLATFORM)-$(ARCH)
-BR=$(BUILD_DIR)/release-$(PLATFORM)-$(ARCH)
+BD=$(BUILD_DIR)/debug-$(PLATFORM)
+BR=$(BUILD_DIR)/release-$(PLATFORM)
CDIR=$(MOUNT_DIR)/client
SDIR=$(MOUNT_DIR)/server
RDIR=$(MOUNT_DIR)/renderer
@@ -832,11 +835,11 @@ endif #SunOS
TARGETS =
ifneq ($(BUILD_SERVER),0)
- TARGETS += $(B)/Quake3-UrT-Ded.$(ARCH)$(BINEXT)
+ TARGETS += $(B)/Quake3-UrT-Ded$(BINEXT)
endif
ifneq ($(BUILD_CLIENT),0)
- TARGETS += $(B)/Quake3-UrT.$(ARCH)$(BINEXT)
+ TARGETS += $(B)/Quake3-UrT$(BINEXT)
ifneq ($(BUILD_CLIENT_SMP),0)
TARGETS += $(B)/Quake3-UrT-smp.$(ARCH)$(BINEXT)
endif
@@ -1266,7 +1269,7 @@ else
$(B)/clientsmp/sdl_glimp.o
endif
-$(B)/Quake3-UrT.$(ARCH)$(BINEXT): $(Q3OBJ) $(Q3POBJ) $(LIBSDLMAIN)
+$(B)/Quake3-UrT$(BINEXT): $(Q3OBJ) $(Q3POBJ) $(LIBSDLMAIN)
$(echo_cmd) "LD $@"
$(Q)$(CC) -o $@ $(Q3OBJ) $(Q3POBJ) $(CLIENT_LDFLAGS) \
$(LDFLAGS) $(LIBSDLMAIN)
@@ -1399,7 +1402,7 @@ ifeq ($(HAVE_VM_COMPILED),true)
endif
endif
-$(B)/Quake3-UrT-Ded.$(ARCH)$(BINEXT): $(Q3DOBJ)
+$(B)/Quake3-UrT-Ded$(BINEXT): $(Q3DOBJ)
$(echo_cmd) "LD $@"
$(Q)$(CC) -o $@ $(Q3DOBJ) $(LDFLAGS)

View File

@ -0,0 +1,3 @@
Urban Terror can be described as a Hollywood tactical shooter; somewhat
realism based, but the motto is "fun over realism". This results in a
very unique, enjoyable and addictive game.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2016/08/26 08:55:57 bentley Exp $
@bin bin/urbanterror
@bin bin/urbanterror-ded