aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2010-04-26 23:11:19 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2010-04-26 23:11:19 +0800
commit0e4b4907a0e5d85c2d65b2f50a9d3259a8f0c3ce (patch)
tree6445673a1f5e8489032fe5c2949f0e3b4684f2eb
parent69398e7ae461ec61f5ab2e271bcce721481b2541 (diff)
downloadfreebsd-ports-gnome-0e4b4907a0e5d85c2d65b2f50a9d3259a8f0c3ce.tar.gz
freebsd-ports-gnome-0e4b4907a0e5d85c2d65b2f50a9d3259a8f0c3ce.tar.zst
freebsd-ports-gnome-0e4b4907a0e5d85c2d65b2f50a9d3259a8f0c3ce.zip
- Update to 0.3.0
-rw-r--r--games/legesmotus/Makefile5
-rw-r--r--games/legesmotus/distinfo6
-rw-r--r--games/legesmotus/files/patch-common.mak34
-rw-r--r--games/legesmotus/pkg-plist34
4 files changed, 46 insertions, 33 deletions
diff --git a/games/legesmotus/Makefile b/games/legesmotus/Makefile
index 79df1a40e441..8fb88f3ace11 100644
--- a/games/legesmotus/Makefile
+++ b/games/legesmotus/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= legesmotus
-PORTVERSION= 0.2.2
-PORTREVISION= 3
+PORTVERSION= 0.3.0
CATEGORIES= games
MASTER_SITES= SF
@@ -15,7 +14,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A team-based, networked, 2D shooter set in zero-gravity
USE_GMAKE= yes
-MAKE_ENV= DATADIR=${DATADIR}
+MAKE_ENV= DATADIR=${DATADIR} XDIR=${LOCALBASE}
MAKE_JOBS_SAFE= yes
PORTDOCS= *
diff --git a/games/legesmotus/distinfo b/games/legesmotus/distinfo
index ee9e95bba9a0..800690678447 100644
--- a/games/legesmotus/distinfo
+++ b/games/legesmotus/distinfo
@@ -1,3 +1,3 @@
-MD5 (legesmotus-0.2.2.tar.gz) = f28d8e51f5e994f73b4122d4334aa04e
-SHA256 (legesmotus-0.2.2.tar.gz) = 2f08930e593c1139e511955a1fff46025a85a1b3b7df0770773dca2daf57dc2d
-SIZE (legesmotus-0.2.2.tar.gz) = 1260775
+MD5 (legesmotus-0.3.0.tar.gz) = 4b22f79c4dbf00a228d7a8802512bbe9
+SHA256 (legesmotus-0.3.0.tar.gz) = ae27df197d8d8af81eac0d63ca3a761d71ea7fa6e77ec8aa6e60938d84a857b8
+SIZE (legesmotus-0.3.0.tar.gz) = 1397360
diff --git a/games/legesmotus/files/patch-common.mak b/games/legesmotus/files/patch-common.mak
index 37ea64b87e39..31311b86dca9 100644
--- a/games/legesmotus/files/patch-common.mak
+++ b/games/legesmotus/files/patch-common.mak
@@ -1,41 +1,21 @@
---- common.mak.orig 2009-07-12 03:27:25.000000000 +0400
-+++ common.mak 2009-07-16 22:27:20.000000000 +0400
+--- common.mak.orig 2010-04-25 02:40:51.000000000 +0400
++++ common.mak 2010-04-25 23:05:50.000000000 +0400
@@ -8,7 +8,6 @@
- VERSION = 0.2.1
+ VERSION = 0.3.0
# These may be overridden by config.mak
-DATADIR = data
#UNIVERSAL = 1
#UNIXSTYLE = 1
-@@ -43,8 +42,8 @@
- ifeq ($(MACHINE),SunOS)
- LIBS += -lnsl -lsocket -lresolv
- endif
--FLAGS_SDL = $(shell sdl-config --cflags)
--LIBS_SDL = $(shell sdl-config --libs) -lSDL_image -lSDL_ttf
-+FLAGS_SDL = $(shell ${SDL_CONFIG} --cflags)
-+LIBS_SDL = $(shell ${SDL_CONFIG} --libs) -lSDL_image -lSDL_ttf
- ifeq ($(NOSOUND),)
- LIBS_SDL += -lSDL_mixer
- endif
-@@ -60,7 +59,7 @@
- ifeq ($(MACHINE),Windows)
- LIBS_GL = -lopengl32
- else
--LIBS_GL = -L/usr/X11/lib/ -lGL
-+LIBS_GL = -L${LOCALBASE}/lib/ -lGL
- endif
- endif
-
-@@ -68,12 +67,6 @@
-
+@@ -112,12 +111,6 @@
CFLAGS += -Wall
+ CXXFLAGS += -Wnon-virtual-dtor
-ifeq ($(DEBUG),1)
--CFLAGS += -g -O0
+- CFLAGS += -g -O0
-else
--CFLAGS += -O2
+- CFLAGS += -O2
-endif
-
LDFLAGS += $(CFLAGS)
diff --git a/games/legesmotus/pkg-plist b/games/legesmotus/pkg-plist
index 5290f8608f6c..e6298cfee4eb 100644
--- a/games/legesmotus/pkg-plist
+++ b/games/legesmotus/pkg-plist
@@ -5,15 +5,20 @@ bin/lmserver
%%CLIENT%%%%DATADIR%%/fonts/license-gpl-3.0.txt
%%CLIENT%%%%DATADIR%%/fonts/license-ofl.txt
%%DATADIR%%/maps/COPYING
+%%DATADIR%%/maps/alpha1-ai.map
%%DATADIR%%/maps/alpha1-death.map
+%%DATADIR%%/maps/alpha1-test.map
%%DATADIR%%/maps/alpha1.map
%%DATADIR%%/maps/beta2.map
%%DATADIR%%/maps/big.map
+%%DATADIR%%/maps/force-test.map
+%%DATADIR%%/maps/gamma3-ai.map
%%DATADIR%%/maps/gamma3.map
%%DATADIR%%/maps/maze.map
%%DATADIR%%/maps/oneobject.map
%%DATADIR%%/maps/soundbarrier.map
%%DATADIR%%/maps/test.map
+%%DATADIR%%/maps/vastmelee.map
%%CLIENT%%%%DATADIR%%/sounds/LMGateSiren-old.ogg
%%CLIENT%%%%DATADIR%%/sounds/LMGateSiren.ogg
%%CLIENT%%%%DATADIR%%/sounds/LMGunshot-alternate.ogg
@@ -37,18 +42,37 @@ bin/lmserver
%%CLIENT%%%%DATADIR%%/sprites/blue_full.png
%%CLIENT%%%%DATADIR%%/sprites/blue_gate.png
%%CLIENT%%%%DATADIR%%/sprites/blue_head.png
+%%CLIENT%%%%DATADIR%%/sprites/blue_head256.png
%%CLIENT%%%%DATADIR%%/sprites/blue_head32.png
%%CLIENT%%%%DATADIR%%/sprites/blue_head512.png
%%CLIENT%%%%DATADIR%%/sprites/blue_torso.png
+%%CLIENT%%%%DATADIR%%/sprites/cannon_back.png
+%%CLIENT%%%%DATADIR%%/sprites/cannon_front.png
+%%CLIENT%%%%DATADIR%%/sprites/cannon_front_shot.png
+%%CLIENT%%%%DATADIR%%/sprites/circle256.png
%%CLIENT%%%%DATADIR%%/sprites/crosshairs.png
+%%CLIENT%%%%DATADIR%%/sprites/friction64.png
%%CLIENT%%%%DATADIR%%/sprites/gun_noshot.png
%%CLIENT%%%%DATADIR%%/sprites/gun_shot.png
+%%CLIENT%%%%DATADIR%%/sprites/large_cannon.png
+%%CLIENT%%%%DATADIR%%/sprites/large_gun.png
+%%CLIENT%%%%DATADIR%%/sprites/large_mgun.png
+%%CLIENT%%%%DATADIR%%/sprites/large_rifle.png
+%%CLIENT%%%%DATADIR%%/sprites/large_sgun.png
%%CLIENT%%%%DATADIR%%/sprites/legesmotuslogo.png
%%CLIENT%%%%DATADIR%%/sprites/metal_bg.png
%%CLIENT%%%%DATADIR%%/sprites/metal_bgtile.png
%%CLIENT%%%%DATADIR%%/sprites/metal_bgtile64.png
+%%CLIENT%%%%DATADIR%%/sprites/metal_bgtile_blue.png
+%%CLIENT%%%%DATADIR%%/sprites/metal_bgtile_friction.png
+%%CLIENT%%%%DATADIR%%/sprites/metal_bgtile_noscrews.png
+%%CLIENT%%%%DATADIR%%/sprites/metal_bgtile_red.png
+%%CLIENT%%%%DATADIR%%/sprites/metal_bgtile_yellow.png
%%CLIENT%%%%DATADIR%%/sprites/metal_gate_e.png
%%CLIENT%%%%DATADIR%%/sprites/metal_gate_w.png
+%%CLIENT%%%%DATADIR%%/sprites/metal_hazard64.png
+%%CLIENT%%%%DATADIR%%/sprites/metal_hazard64_blue.png
+%%CLIENT%%%%DATADIR%%/sprites/metal_hazard64_red.png
%%CLIENT%%%%DATADIR%%/sprites/metal_obstacle128.png
%%CLIENT%%%%DATADIR%%/sprites/metal_obstacle64.png
%%CLIENT%%%%DATADIR%%/sprites/metal_wall_e32.png
@@ -63,6 +87,8 @@ bin/lmserver
%%CLIENT%%%%DATADIR%%/sprites/metal_wall_w32.png
%%CLIENT%%%%DATADIR%%/sprites/metal_wall_wn32.png
%%CLIENT%%%%DATADIR%%/sprites/metal_wall_ws32.png
+%%CLIENT%%%%DATADIR%%/sprites/mgun_noshot.png
+%%CLIENT%%%%DATADIR%%/sprites/mgun_shot.png
%%CLIENT%%%%DATADIR%%/sprites/mini_bg.png
%%CLIENT%%%%DATADIR%%/sprites/mini_blip_blue.png
%%CLIENT%%%%DATADIR%%/sprites/mini_blip_red.png
@@ -76,7 +102,15 @@ bin/lmserver
%%CLIENT%%%%DATADIR%%/sprites/red_gate.png
%%CLIENT%%%%DATADIR%%/sprites/red_head.png
%%CLIENT%%%%DATADIR%%/sprites/red_torso.png
+%%CLIENT%%%%DATADIR%%/sprites/rifle_noshot.png
+%%CLIENT%%%%DATADIR%%/sprites/rifle_shot.png
+%%CLIENT%%%%DATADIR%%/sprites/sgun_noshot.png
+%%CLIENT%%%%DATADIR%%/sprites/sgun_shot.png
%%CLIENT%%%%DATADIR%%/sprites/shot.png
+%%CLIENT%%%%DATADIR%%/sprites/sshot.png
+%%CLIENT%%%%DATADIR%%/weapons/classic
+%%CLIENT%%%%DATADIR%%/weapons/standard
+%%CLIENT%%@dirrm %%DATADIR%%/weapons
%%CLIENT%%@dirrm %%DATADIR%%/sprites
%%CLIENT%%@dirrm %%DATADIR%%/sounds
@dirrm %%DATADIR%%/maps