1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/games/bzflag/Makefile
Gerald Pfeifer e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00

42 lines
878 B
Makefile

# $FreeBSD$
PORTNAME= bzflag
PORTVERSION= 2.4.10
PORTREVISION= 1
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
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>