freebsd-ports/games/bzflag/Makefile
Hiroki Tagato 30a692984d Update to 2.4.20
PR:		246431
Submitted by:	Kevin Zheng <kevinz5000@gmail.com> (maintainer)
Approved by:	ehaupt (mentor)
Changelog:	https://www.bzflag.org/downloads/#changelog
2020-05-16 04:41:48 +00:00

41 lines
916 B
Makefile

# $FreeBSD$
PORTNAME= bzflag
PORTVERSION= 2.4.20
CATEGORIES= games
MASTER_SITES= https://download.bzflag.org/bzflag/source/${PORTVERSION}/
MAINTAINER= kevinz5000@gmail.com
COMMENT?= Multiplayer 3D tank battle game
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcurl.so:ftp/curl \
libcares.so:dns/c-ares
GNU_CONFIGURE= yes
USES= compiler:c++11-lib libtool localbase tar:bzip2
INSTALL_TARGET= install-strip
.ifndef SERVER_ONLY
USES+= gl sdl xorg
USE_GL= gl glu glew
USE_SDL= sdl
USE_XORG= x11 xext xxf86vm sm ice xcb xshmfence xdamage xfixes
.endif
CONFIGURE_ARGS= --enable-ares-build
CPPFLAGS+= -I ${LOCALBASE}/include
.ifdef SERVER_ONLY
CONFIGURE_ARGS+= --disable-client
PLIST_SUB+= CLIENT="@comment "
.else
DESKTOP_ENTRIES= "BZFlag" "Battle enemy tanks" \
"${DATADIR}/bzflag-256x256.png" \
"bzflag" "Game;ActionGame;" false
PLIST_SUB+= CLIENT=""
.endif
.include <bsd.port.mk>