summaryrefslogtreecommitdiffstats
path: root/games/legesmotus/Makefile
blob: bb0e787b20a888c1ba37116bd78ea6c12229c72c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# 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

BROKEN_aarch64=	Fails to build: Disallowed architecture for this platform: aarch64

HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix="${PREFIX}" \
		--mandir="${PREFIX}/man" \
		--datadir="${DATADIR}"
USES=		gmake
MAKE_ENV=	XDIR=${LOCALBASE}

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>
OpenPOWER on IntegriCloud