2000-08-12 02:28:05 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= bzflag
|
2017-05-21 18:25:43 +02:00
|
|
|
PORTVERSION= 2.4.10
|
2000-08-12 02:28:05 +02:00
|
|
|
CATEGORIES= games
|
2016-09-20 13:32:32 +02:00
|
|
|
MASTER_SITES= https://download.bzflag.org/bzflag/source/${PORTVERSION}/
|
2000-08-12 02:28:05 +02:00
|
|
|
|
2012-08-10 20:21:57 +02:00
|
|
|
MAINTAINER= kevinz5000@gmail.com
|
2016-02-15 16:03:13 +01:00
|
|
|
COMMENT?= Multiplayer 3D tank battle game
|
2000-08-12 02:28:05 +02:00
|
|
|
|
2012-10-08 00:02:06 +02:00
|
|
|
LICENSE= LGPL21
|
2014-06-05 22:33:22 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2012-10-08 00:02:06 +02:00
|
|
|
|
2016-09-20 13:32:32 +02:00
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
|
|
|
libcares.so:dns/c-ares
|
2005-01-19 13:04:29 +01:00
|
|
|
|
2003-12-11 15:23:16 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2016-09-20 13:32:32 +02:00
|
|
|
USES= compiler:c++11-lib libtool localbase tar:bzip2
|
|
|
|
INSTALL_TARGET= install-strip
|
2016-02-15 16:03:13 +01:00
|
|
|
|
|
|
|
.ifndef SERVER_ONLY
|
2016-09-20 13:32:32 +02:00
|
|
|
USE_GL= gl glu
|
2012-08-11 13:49:06 +02:00
|
|
|
USE_SDL= sdl
|
2016-09-20 13:32:32 +02:00
|
|
|
USE_XORG= x11 xext xxf86vm sm ice
|
2016-02-15 16:03:13 +01:00
|
|
|
.endif
|
2014-06-05 22:33:22 +02:00
|
|
|
|
2012-08-11 13:49:06 +02:00
|
|
|
CONFIGURE_ARGS= --enable-ares-build
|
|
|
|
CPPFLAGS+= -I ${LOCALBASE}/include
|
|
|
|
|
2016-02-15 16:03:13 +01:00
|
|
|
.ifdef SERVER_ONLY
|
|
|
|
CONFIGURE_ARGS+= --disable-client
|
|
|
|
PLIST_SUB+= CLIENT="@comment "
|
|
|
|
.else
|
2012-08-11 13:49:06 +02:00
|
|
|
DESKTOP_ENTRIES= "BZFlag" "Battle enemy tanks" \
|
|
|
|
"${DATADIR}/bzflag-256x256.png" \
|
|
|
|
"bzflag" "Game;ActionGame;" false
|
2016-02-15 16:03:13 +01:00
|
|
|
PLIST_SUB+= CLIENT=""
|
|
|
|
.endif
|
2000-08-12 03:10:45 +02:00
|
|
|
|
2007-10-04 03:02:44 +02:00
|
|
|
.include <bsd.port.mk>
|