2007-12-05 08:15:09 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2007/12/05 13:15:09 ajacoutot Exp $
|
2002-11-26 03:56:53 -05:00
|
|
|
|
2007-09-15 14:01:00 -04:00
|
|
|
COMMENT= enhanced clone of Id Software's Doom game; multiplayer
|
2006-11-19 22:15:36 -05:00
|
|
|
DISTNAME= prboom-2.4.7
|
2007-12-05 08:15:09 -05:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2002-11-26 03:56:53 -05:00
|
|
|
CATEGORIES= games x11
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=prboom/}
|
|
|
|
|
|
|
|
HOMEPAGE= http://prboom.sourceforge.net/
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-12-05 08:15:09 -05:00
|
|
|
|
|
|
|
WANTLIB= SDL c m pthread z GL GLU
|
2002-11-26 03:56:53 -05:00
|
|
|
|
2003-09-24 04:30:09 -04:00
|
|
|
USE_X11=Yes
|
2002-11-26 03:56:53 -05:00
|
|
|
|
2006-08-02 05:36:20 -04:00
|
|
|
LIB_DEPENDS= SDL_mixer.>=3::devel/sdl-mixer \
|
|
|
|
SDL_net.>=1::devel/sdl-net \
|
|
|
|
png.>=4::graphics/png
|
2002-11-26 03:56:53 -05:00
|
|
|
|
2007-10-29 18:57:04 -04:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include/libpng" \
|
2006-04-12 22:27:24 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2003-09-24 04:30:09 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
2007-10-29 18:57:04 -04:00
|
|
|
CONFIGURE_ARGS+=--disable-cpu-opt
|
2004-07-31 19:23:12 -04:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/autotools
|
2002-11-26 03:56:53 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|