1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/games/legesmotus/Makefile
2018-06-22 20:31:45 +00:00

51 lines
1.2 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= legesmotus
PORTVERSION= 0.4.0
PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Team-based, networked, 2D shooter set in zero-gravity
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual # not GPLv2+
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix="${PREFIX}" \
--mandir="${PREFIX}/man" \
--datadir="${DATADIR}"
USES= gmake
MAKE_ENV= XDIR=${LOCALBASE}
CXXFLAGS+= -Wno-c++11-narrowing
PORTDATA= *
OPTIONS_MULTI= COMPONENTS
OPTIONS_MULTI_COMPONENTS=CLIENT SERVER METASERVER SERVERSCANNER
OPTIONS_DEFAULT=CLIENT SERVER
OPTIONS_SUB= yes
CLIENT_DESC= Build client
SERVER_DESC= Build server
METASERVER_DESC= Build metaserver
SERVERSCANNER_DESC= Build server scanner
CLIENT_CONFIGURE_OFF= --disable-client
CLIENT_USE= SDL=sdl,image,ttf,mixer GL=gl
CLIENT_DESKTOP_ENTRIES= "Leges Motus" \
"" \
"${DATADIR}/sprites/blue_head32.png" \
"legesmotus" \
"Game;ActionGame;" \
""
SERVER_CONFIGURE_OFF= --disable-server
METASERVER_CONFIGURE_ON= --enable-metaserver
SERVERSCANNER_CONFIGURE_ON= --enable-serverscanner
.include <bsd.port.mk>