ea8c8ec7da
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. 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, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= legesmotus
|
|
PORTVERSION= 0.4.0
|
|
PORTREVISION= 7
|
|
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
|
|
|
|
USES= compiler:c++11-lib gmake
|
|
USE_CXXSTD= c++11 # strtoll, atoll
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --prefix="${PREFIX}" \
|
|
--mandir="${PREFIX}/man" \
|
|
--datadir="${DATADIR}"
|
|
MAKE_ENV= XDIR=${LOCALBASE}
|
|
|
|
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
|
|
CXXFLAGS_clang= -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_USES= gl sdl
|
|
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>
|