OK abieber@ Upstream changelog: Quake II 5.34 to 6.00: - Make the client asynchronous. The old behaviour can be forced by setting cl_async to 0. Please note that asynchronicity can lead to problems if the old SDL 1.2 backend is used and vsync is enabled. - Implement gl_overbrightbits in the non multitexturing case. A value of 1 just fixes lighting on water surfaces, higher values increase the brightness of everything. - General renderer overhaul for better compatibility with modern GPUs. OpenGL 1.4 is now required, older versions are no longer supported. Multitexturing was deprecated and will be removed in a future release. - Fix some longstanding AI problems. - Several general gameplay fixes.
40 lines
926 B
Makefile
40 lines
926 B
Makefile
# $OpenBSD: Makefile,v 1.5 2016/12/05 21:03:33 awolk Exp $
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64 sparc64
|
|
|
|
COMMENT= Yamagi Quake II
|
|
N= yquake2
|
|
V= 6.00
|
|
PKGNAME= ${N}-${V}
|
|
DISTNAME= quake2-${V}
|
|
CATEGORIES= games
|
|
|
|
HOMEPAGE= http://www.yamagi.org/quake2/
|
|
MAINTAINER= Adam Wolk <awolk@openbsd.org>
|
|
MASTER_SITES= http://deponie.yamagi.org/quake2/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += GL SDL2 c m ogg openal pthread vorbis vorbisfile z
|
|
|
|
LIB_DEPENDS= audio/libvorbis \
|
|
audio/openal \
|
|
devel/sdl2
|
|
|
|
MAKE_ENV+= VERBOSE=1
|
|
USE_GMAKE= Yes
|
|
|
|
MAKE_FLAGS = config WITH_SYSTEMWIDE=yes WITH_SYSTEMDIR=${PREFIX}/share/${N}
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/${N}
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/release/{quake2,q2ded} \
|
|
${PREFIX}/bin/
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/${N}/baseq2
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/release/baseq2/game.so \
|
|
${PREFIX}/share/${N}/baseq2/
|
|
|
|
.include <bsd.port.mk>
|