openbsd-ports/games/quake2/Makefile
jasper 8a855e0787 - fix crash when selecting "software" renderer (= svgalib) from
options by disabling the driver in the list.
- also remove 3dfx wrapper driver that is nonexisting and doesn't make sense.

from antti harri
ok claudio@ (MAINTAINER)
2010-05-26 16:27:32 +00:00

40 lines
902 B
Makefile

# $OpenBSD: Makefile,v 1.17 2010/05/26 16:27:32 jasper Exp $
ONLY_FOR_ARCHS= amd64 i386
SHARED_ONLY= Yes
COMMENT= first person shooter
DISTNAME= quake2-0.3
PKGNAME= ${DISTNAME}p11
CATEGORIES= games
HOMEPAGE= http://www.quakeforge.net/
MAINTAINER= Claudio Jeker <claudio@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE GL SM X11 Xau Xdmcp Xext Xrandr Xrender Xxf86dga \
Xxf86vm c m pthread pthread-stubs sndio usbhid xcb
MASTER_SITES= http://www.phil.uu.nl/~lievisse/distfiles/
MODULES= converters/libiconv
LIB_DEPENDS= SDL::devel/sdl
SEPARATE_BUILD= concurrent
USE_X11= Yes
USE_LIBTOOL= Yes
LIBTOOL_FLAGS= --tag=disable-static
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-opengl=${X11BASE} --without-svgalib
NO_REGRESS= Yes
CFLAGS+= -pthread -g
.include <bsd.port.mk>