openbsd-ports/games/bzflag/Makefile

41 lines
1.0 KiB
Makefile
Raw Normal View History

2007-11-13 09:54:30 -05:00
# $OpenBSD: Makefile,v 1.13 2007/11/13 14:54:31 steven Exp $
COMMENT= graphical multiplayer 3-d tank war game
DISTNAME= bzflag-2.0.8
2007-11-13 09:54:30 -05:00
PKGNAME= ${DISTNAME}p3
CATEGORIES= games x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bzflag/}
HOMEPAGE= http://www.bzflag.org/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2006-09-25 18:16:30 -04:00
USE_LIBTOOL= Yes
2005-08-10 01:24:09 -04:00
USE_GMAKE= Yes
USE_X11= Yes
2007-11-13 09:54:30 -05:00
MODULES= devel/gettext
LIB_DEPENDS= SDL.>=4::devel/sdl curl.>=3::net/curl
2005-08-10 01:24:09 -04:00
2007-11-13 09:54:30 -05:00
WANTLIB= GL GLU ICE SM X11 Xau Xdmcp Xext Xrandr Xrender \
c crypto idn m ncurses pthread ssl stdc++ usbhid z
2005-08-10 01:24:09 -04:00
AUTOCONF_VERSION=2.59
CONFIGURE_STYLE=gnu autoconf
CONFIGURE_ARGS+=--disable-adns --enable-debug
2004-10-21 01:39:35 -04:00
CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include" LDFLAGS="-L${LOCALBASE}/include"
2005-08-10 01:24:09 -04:00
pre-build:
@sed -e 's|@LINUX_TRUE@||g ; s|@LINUX_FALSE@|#|g' \
${WRKSRC}/src/platform/Makefile.in > \
${WRKSRC}/src/platform/Makefile.sed
@mv ${WRKSRC}/src/platform/Makefile.sed \
${WRKSRC}/src/platform/Makefile.in
.include <bsd.port.mk>