Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Oct 2015 05:33:48 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r399528 - in head/games/legesmotus: . files
Message-ID:  <201510170533.t9H5Xm0d018808@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Oct 17 05:33:48 2015
New Revision: 399528
URL: https://svnweb.freebsd.org/changeset/ports/399528

Log:
  - Add LICENSE
  - Switch to options helpers
  - Regenerate patches with `make makepatch`

Modified:
  head/games/legesmotus/Makefile
  head/games/legesmotus/files/patch-Makefile
  head/games/legesmotus/files/patch-common.mk
  head/games/legesmotus/files/patch-configure

Modified: head/games/legesmotus/Makefile
==============================================================================
--- head/games/legesmotus/Makefile	Sat Oct 17 00:34:19 2015	(r399527)
+++ head/games/legesmotus/Makefile	Sat Oct 17 05:33:48 2015	(r399528)
@@ -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 M
 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_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.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>

Modified: head/games/legesmotus/files/patch-Makefile
==============================================================================
--- head/games/legesmotus/files/patch-Makefile	Sat Oct 17 00:34:19 2015	(r399527)
+++ head/games/legesmotus/files/patch-Makefile	Sat Oct 17 05:33:48 2015	(r399528)
@@ -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 $@

Modified: head/games/legesmotus/files/patch-common.mk
==============================================================================
--- head/games/legesmotus/files/patch-common.mk	Sat Oct 17 00:34:19 2015	(r399527)
+++ head/games/legesmotus/files/patch-common.mk	Sat Oct 17 05:33:48 2015	(r399528)
@@ -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

Modified: head/games/legesmotus/files/patch-configure
==============================================================================
--- head/games/legesmotus/files/patch-configure	Sat Oct 17 00:34:19 2015	(r399527)
+++ head/games/legesmotus/files/patch-configure	Sat Oct 17 05:33:48 2015	(r399528)
@@ -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++... "



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510170533.t9H5Xm0d018808>