1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/games/bzflag/Makefile
Dmitry Marakasov ea5be1b6e1 - Update to 2.4.6
- Add missing depends
- Strip libraries

PR:		212753
Submitted by:	amdmi3
Approved by:	kevinz5000@gmail.com (maintainer)
2016-09-20 11:32:32 +00:00

43 lines
884 B
Makefile

# $FreeBSD$
PORTNAME= bzflag
PORTVERSION= 2.4.6
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
USE_GL= gl glu
USE_SDL= sdl
USE_XORG= x11 xext xxf86vm sm ice
.endif
MAKE_JOBS_UNSAFE= yes
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>