openbsd-ports/games/bzflag/Makefile

53 lines
1.3 KiB
Makefile
Raw Normal View History

2010-11-08 08:51:52 -05:00
# $OpenBSD: Makefile,v 1.24 2010/11/08 13:51:52 espie Exp $
COMMENT= graphical multiplayer 3D tank war game
2010-07-25 13:14:35 -04:00
DISTNAME= bzflag-2.0.16
CATEGORIES= games x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bzflag/}
2010-07-25 13:14:35 -04:00
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://www.bzflag.org/
# LGPLv2.1
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
2007-11-13 09:54:30 -05:00
MODULES= devel/gettext
2010-11-08 08:51:52 -05:00
LIB_DEPENDS= ::devel/sdl \
::net/curl \
::graphics/glew \
::net/libcares
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
2005-08-10 01:24:09 -04:00
WANTLIB= GL GLU ICE SM X11 Xau Xdmcp Xext Xrandr Xrender c \
crypto idn m ncurses pthread-stubs pthread sndio \
2010-11-08 08:51:52 -05:00
ssl stdc++ usbhid xcb z SDL.>=4 curl.>=3 GLEW cares
2005-08-10 01:24:09 -04:00
AUTOCONF_VERSION= 2.61
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS+= --disable-ccachetest \
--with-glew
CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
ac_cv_lib_bind_gethostent=no
2010-10-18 17:50:38 -04:00
USE_GROFF = Yes
2005-08-10 01:24:09 -04:00
pre-build:
@perl -pi -e 's|\@LINUX_TRUE\@||g;' \
-e 's|\@LINUX_FALSE\@|#|g;' \
${WRKSRC}/src/platform/Makefile.in
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
@mv ${PREFIX}/share/bzflag/bzflag.desktop \
${PREFIX}/share/applications
.include <bsd.port.mk>