1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/games/bzflag/Makefile
Niclas Zeising be6c15b5c6 Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:16:14 +00:00

42 lines
890 B
Makefile

# $FreeBSD$
PORTNAME= bzflag
PORTVERSION= 2.4.10
PORTREVISION= 4
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 gl libtool localbase sdl tar:bzip2 xorg
INSTALL_TARGET= install-strip
.ifndef SERVER_ONLY
USE_GL= gl glu
USE_SDL= sdl
USE_XORG= x11 xext xxf86vm sm ice
.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>