88ea72915d
make a distinction between these. ok aja@ dcoppa@
44 lines
927 B
Makefile
44 lines
927 B
Makefile
# $OpenBSD: Makefile,v 1.23 2012/03/29 13:38:30 sthen Exp $
|
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= first person shooter
|
|
|
|
DISTNAME= quake2-0.3
|
|
REVISION = 12
|
|
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 \
|
|
SDL
|
|
|
|
MASTER_SITES= http://distfiles.nl/
|
|
|
|
MODULES= converters/libiconv
|
|
LIB_DEPENDS= devel/sdl
|
|
|
|
SEPARATE_BUILD= Yes
|
|
USE_LIBTOOL= Yes
|
|
LIBTOOL_FLAGS= --tag=disable-static
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --with-opengl=${X11BASE} --without-svgalib \
|
|
--without-ao
|
|
NO_REGRESS= Yes
|
|
|
|
CFLAGS+= -pthread -g
|
|
|
|
post-extract:
|
|
cp ${FILESDIR}/snd_sndio.c ${WRKSRC}/src
|
|
|
|
.include <bsd.port.mk>
|