2013-06-04 18:41:39 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2013/06/04 18:41:44 naddy Exp $
|
2002-11-26 08:56:53 +00:00
|
|
|
|
2007-09-15 18:01:00 +00:00
|
|
|
COMMENT= enhanced clone of Id Software's Doom game; multiplayer
|
2013-03-31 21:09:32 +00:00
|
|
|
DISTNAME= prboom-2.5.0
|
2002-11-26 08:56:53 +00:00
|
|
|
CATEGORIES= games x11
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=prboom/}
|
|
|
|
|
|
|
|
HOMEPAGE= http://prboom.sourceforge.net/
|
|
|
|
|
2013-03-31 21:09:32 +00:00
|
|
|
# GPLv2+
|
2002-11-26 08:56:53 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2007-12-05 13:15:09 +00:00
|
|
|
|
2010-11-22 10:16:08 +00:00
|
|
|
WANTLIB = SDL c m pthread z GL GLU SDL_mixer>=3 SDL_net>=1 png>=4
|
2002-11-26 08:56:53 +00:00
|
|
|
|
2010-11-16 11:23:25 +00:00
|
|
|
LIB_DEPENDS = devel/sdl-mixer \
|
|
|
|
devel/sdl-net \
|
|
|
|
graphics/png
|
2002-11-26 08:56:53 +00:00
|
|
|
|
2013-06-04 18:41:39 +00:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
|
2006-04-13 02:27:24 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2003-09-24 08:30:09 +00:00
|
|
|
CONFIGURE_STYLE=gnu
|
2013-03-31 21:09:32 +00:00
|
|
|
CONFIGURE_ARGS+=--disable-cpu-opt \
|
|
|
|
--with-waddir=${TRUEPREFIX}/share/doom
|
2004-07-31 23:23:12 +00:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/autotools
|
2002-11-26 08:56:53 +00:00
|
|
|
|
2011-05-02 18:49:27 +00:00
|
|
|
FAKE_FLAGS += gamesdir=${PREFIX}/bin \
|
|
|
|
docdir=${PREFIX}/share/doc/prboom
|
|
|
|
|
2002-11-26 08:56:53 +00:00
|
|
|
.include <bsd.port.mk>
|