blob: 54bb4cb4ca18d6ecb43121d5a7b1a0558db56069 (
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
# New ports collection makefile for: legesmotus
# Date created: 16 Jul 2009
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= legesmotus
PORTVERSION= 0.4.0
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A team-based, networked, 2D shooter set in zero-gravity
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix="${PREFIX}" \
--mandir="${PREFIX}/man" \
--datadir="${DATADIR}"
USE_GMAKE= yes
MAKE_ENV= XDIR=${LOCALBASE}
MAKE_JOBS_SAFE= yes
PORTDOCS= *
OPTIONS= CLIENT "Build client" on \
SERVER "Build server" on \
METASERVER "Build metaserver" off \
SERVERSCANNER "Build server scanner" off
DESKTOP_ENTRIES="Leges Motus" \
"A team-based, networked, 2D shooter set in zero-gravity" \
"${DATADIR}/sprites/blue_head32.png" \
"legesmotus" \
"Game;ActionGame;" \
false
.include <bsd.port.options.mk>
.if defined(WITHOUT_CLIENT)
PLIST_SUB+= CLIENT="@comment "
CONFIGURE_ARGS+=--disable-client
.else
PLIST_SUB+= CLIENT=""
USE_SDL= sdl image ttf mixer
USE_GL= gl
MAN6+= legesmotus.6
.endif
.if defined(WITHOUT_SERVER)
PLIST_SUB+= SERVER="@comment "
CONFIGURE_ARGS+=--disable-server
.else
PLIST_SUB+= SERVER=""
MAN6+= lmserver.6
.endif
.if defined(WITHOUT_CLIENT) && defined(WITHOUT_SERVER) && defined(WITHOUT_METASERVER)
PLIST_SUB+= DATA="@comment "
.else
PLIST_SUB+= DATA=""
.endif
.if defined(WITH_METASERVER)
PLIST_SUB+= METASERVER=""
CONFIGURE_ARGS+=--enable-metaserver
.else
PLIST_SUB+= METASERVER="@comment "
.endif
.if defined(WITH_SERVERSCANNER)
PLIST_SUB+= SERVERSCANNER=""
CONFIGURE_ARGS+=--enable-serverscanner
MAN6+= lmscan.6
.else
PLIST_SUB+= SERVERSCANNER="@comment "
.endif
.if defined(WITHOUT_CLIENT) && defined(WITHOUT_SERVER) && defined(WITHOUT_METASERVER) && defined(WITHOUT_SERVERSCANNER)
IGNORE= cannot be built with all components disabled. Please rerun 'make config' and enable at least one option
.endif
.include <bsd.port.mk>
|