1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Add LICENSE

- Switch to options helpers
- Regenerate patches with `make makepatch`
This commit is contained in:
Dmitry Marakasov 2015-10-17 05:33:48 +00:00
parent a2407debd2
commit 95c71f729e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399528
4 changed files with 25 additions and 29 deletions

View File

@ -10,6 +10,9 @@ MASTER_SITES= SF
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Team-based, networked, 2D shooter set in zero-gravity
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix="${PREFIX}" \
--mandir="${PREFIX}/man" \
@ -24,28 +27,21 @@ 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_DESC= Build client
SERVER_DESC= Build server
METASERVER_DESC= Build metaserver
SERVERSCANNER_DESC= Build server scanner
CLIENT_CONFIGURE_OFF= --disable-client
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.options.mk>
.if ${PORT_OPTIONS:MCLIENT}
USE_SDL= sdl image ttf mixer
USE_GL= gl
DESKTOP_ENTRIES="Leges Motus" \
"A team-based, networked, 2D shooter set in zero-gravity" \
"${DATADIR}/sprites/blue_head32.png" \
"legesmotus" \
"Game;ActionGame;" \
""
.endif
.include <bsd.port.mk>

View File

@ -1,6 +1,6 @@
--- Makefile.orig 2010-09-06 07:18:02.000000000 +0400
+++ Makefile 2010-12-27 02:28:07.000000000 +0300
@@ -99,7 +99,7 @@
--- Makefile.orig 2010-09-06 03:18:02 UTC
+++ Makefile
@@ -99,7 +99,7 @@ lmserver: server
$(ALL_PKG):
+@mkdir -p $@

View File

@ -1,6 +1,6 @@
--- common.mk.orig 2010-09-03 23:22:37.000000000 +0400
+++ common.mk 2010-12-27 02:20:26.000000000 +0300
@@ -9,7 +9,6 @@
--- common.mk.orig 2010-09-03 19:22:37 UTC
+++ common.mk
@@ -9,7 +9,6 @@ FRAMEWORKS = /Library/Frameworks
VERSION = 0.4.0
# These may be overridden by config.mk
@ -8,7 +8,7 @@
#UNIVERSAL = 1
#NOBUNDLE = 1
@@ -174,12 +173,10 @@
@@ -174,12 +173,10 @@ CXXFLAGS += -Wnon-virtual-dtor
ifeq ($(DEBUG),1)
RELEASE = debug

View File

@ -1,6 +1,6 @@
--- configure.orig 2010-08-20 11:16:17.000000000 +0400
+++ configure 2010-12-27 02:23:26.000000000 +0300
@@ -226,7 +226,7 @@
--- configure.orig 2010-08-20 07:16:17 UTC
+++ configure
@@ -226,7 +226,7 @@ fi
printf '%s' "Checking for g++... "