aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2010-12-28 11:32:20 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2010-12-28 11:32:20 +0000
commit133f677bd1ddc7fcd9a6a2bb957fb437dac914f0 (patch)
tree46f69efe510bb80749c6c33ed93208fd37f20ad2 /games
parentfd0d5480ebc3b6aa8a7d333eefd416b570581281 (diff)
downloadports-133f677bd1ddc7fcd9a6a2bb957fb437dac914f0.tar.gz
ports-133f677bd1ddc7fcd9a6a2bb957fb437dac914f0.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/legesmotus/Makefile66
-rw-r--r--games/legesmotus/distinfo5
-rw-r--r--games/legesmotus/files/patch-Makefile11
-rw-r--r--games/legesmotus/files/patch-common.mak23
-rw-r--r--games/legesmotus/files/patch-common.mk23
-rw-r--r--games/legesmotus/files/patch-configure11
-rw-r--r--games/legesmotus/pkg-plist240
7 files changed, 212 insertions, 167 deletions
diff --git a/games/legesmotus/Makefile b/games/legesmotus/Makefile
index e6308968ec89..cad03dc57c0c 100644
--- a/games/legesmotus/Makefile
+++ b/games/legesmotus/Makefile
@@ -6,23 +6,27 @@
#
PORTNAME= legesmotus
-PORTVERSION= 0.3.0
-PORTREVISION= 1
+PORTVERSION= 0.4.0
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= DATADIR=${DATADIR} XDIR=${LOCALBASE}
+MAKE_ENV= XDIR=${LOCALBASE}
MAKE_JOBS_SAFE= yes
PORTDOCS= *
-MAN6= lmserver.6
-
-OPTIONS= LM_SERVER_ONLY "Build dedicated server only" off
+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" \
@@ -33,33 +37,47 @@ DESKTOP_ENTRIES="Leges Motus" \
.include <bsd.port.options.mk>
-.if defined(WITH_LM_SERVER_ONLY)
+.if defined(WITHOUT_CLIENT)
PLIST_SUB+= CLIENT="@comment "
-ALL_TARGET= server
-PKGNAMESUFFIX= -server
+CONFIGURE_ARGS+=--disable-client
.else
-MAN6+= legesmotus.6
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
-.include <bsd.port.pre.mk>
+.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
-do-install:
- ${MKDIR} ${DATADIR}
-.if !defined(WITH_LM_SERVER_ONLY)
- ${INSTALL_PROGRAM} ${WRKSRC}/client/legesmotus ${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/man/man6/legesmotus.6 ${MAN6PREFIX}/man/man6/
- cd ${WRKSRC}/data && ${COPYTREE_SHARE} '*' ${DATADIR}/
+.if defined(WITH_SERVERSCANNER)
+PLIST_SUB+= SERVERSCANNER=""
+CONFIGURE_ARGS+=--enable-serverscanner
+MAN6+= lmscan.6
.else
- cd ${WRKSRC}/data && ${COPYTREE_SHARE} 'maps' ${DATADIR}/
+PLIST_SUB+= SERVERSCANNER="@comment "
.endif
- ${INSTALL_PROGRAM} ${WRKSRC}/server/lmserver ${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/man/man6/lmserver.6 ${MAN6PREFIX}/man/man6/
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
+
+.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.post.mk>
+.include <bsd.port.mk>
diff --git a/games/legesmotus/distinfo b/games/legesmotus/distinfo
index 800690678447..c67fdf11d247 100644
--- a/games/legesmotus/distinfo
+++ b/games/legesmotus/distinfo
@@ -1,3 +1,2 @@
-MD5 (legesmotus-0.3.0.tar.gz) = 4b22f79c4dbf00a228d7a8802512bbe9
-SHA256 (legesmotus-0.3.0.tar.gz) = ae27df197d8d8af81eac0d63ca3a761d71ea7fa6e77ec8aa6e60938d84a857b8
-SIZE (legesmotus-0.3.0.tar.gz) = 1397360
+SHA256 (legesmotus-0.4.0.tar.gz) = b247e3f21778a9b1c67010a12a49293375479eb384c5878f2315d35a7b792289
+SIZE (legesmotus-0.4.0.tar.gz) = 1545456
diff --git a/games/legesmotus/files/patch-Makefile b/games/legesmotus/files/patch-Makefile
new file mode 100644
index 000000000000..ca8f1aa6b20f
--- /dev/null
+++ b/games/legesmotus/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2010-09-06 07:18:02.000000000 +0400
++++ Makefile 2010-12-27 02:28:07.000000000 +0300
+@@ -99,7 +99,7 @@
+
+ $(ALL_PKG):
+ +@mkdir -p $@
+- +@$(MAKE) -C $@ -f $(BASEDIR)/$@/Makefile BASEDIR="../../.." SUBDIR="$@" $(TARGET)
++ +@$(MAKE) -C $@ -f $(BASEDIR)/$@/Makefile BASEDIR=".." SUBDIR="$@" $(TARGET)
+
+ server: common
+
diff --git a/games/legesmotus/files/patch-common.mak b/games/legesmotus/files/patch-common.mak
deleted file mode 100644
index 31311b86dca9..000000000000
--- a/games/legesmotus/files/patch-common.mak
+++ /dev/null
@@ -1,23 +0,0 @@
---- 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.3.0
-
- # These may be overridden by config.mak
--DATADIR = data
- #UNIVERSAL = 1
- #UNIXSTYLE = 1
-
-@@ -112,12 +111,6 @@
- CFLAGS += -Wall
- CXXFLAGS += -Wnon-virtual-dtor
-
--ifeq ($(DEBUG),1)
-- CFLAGS += -g -O0
--else
-- CFLAGS += -O2
--endif
--
- LDFLAGS += $(CFLAGS)
- CFLAGS += $(FLAGS_GL) $(INCLUDES)
- ifeq ($(MACHINE),Windows)
diff --git a/games/legesmotus/files/patch-common.mk b/games/legesmotus/files/patch-common.mk
new file mode 100644
index 000000000000..e5fe4d519b69
--- /dev/null
+++ b/games/legesmotus/files/patch-common.mk
@@ -0,0 +1,23 @@
+--- 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 @@
+ VERSION = 0.4.0
+
+ # These may be overridden by config.mk
+-DATADIR = data
+ #UNIVERSAL = 1
+ #NOBUNDLE = 1
+
+@@ -174,12 +173,10 @@
+
+ ifeq ($(DEBUG),1)
+ RELEASE = debug
+- CFLAGS += -g -O0 -DLM_DEBUG
+ else
+ RELEASE = release
+ # Take O-flag from CFLAGS if we already have it set
+ ifneq ($(filter -O%,$(CFLAGS)),)
+- CFLAGS += -O2
+ endif
+ endif
+
diff --git a/games/legesmotus/files/patch-configure b/games/legesmotus/files/patch-configure
new file mode 100644
index 000000000000..7ba7b56c1969
--- /dev/null
+++ b/games/legesmotus/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2010-08-20 11:16:17.000000000 +0400
++++ configure 2010-12-27 02:23:26.000000000 +0300
+@@ -226,7 +226,7 @@
+
+
+ printf '%s' "Checking for g++... "
+-if which $CXX >/dev/null 2>/dev/null && $CXX --version | grep g++ >/dev/null 2>/dev/null
++if which $CXX >/dev/null 2>/dev/null
+ then
+ echo "Found"
+ else
diff --git a/games/legesmotus/pkg-plist b/games/legesmotus/pkg-plist
index e6298cfee4eb..c53224c8f0b6 100644
--- a/games/legesmotus/pkg-plist
+++ b/games/legesmotus/pkg-plist
@@ -1,118 +1,124 @@
%%CLIENT%%bin/legesmotus
-bin/lmserver
-%%CLIENT%%%%DATADIR%%/fonts/JuraDemiBold.ttf
-%%CLIENT%%%%DATADIR%%/fonts/JuraMedium.ttf
-%%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
-%%CLIENT%%%%DATADIR%%/sounds/LMGunshot.ogg
-%%CLIENT%%%%DATADIR%%/sounds/button_click.ogg
-%%CLIENT%%%%DATADIR%%/sounds/buzzerheavy.ogg
-%%CLIENT%%%%DATADIR%%/sounds/clockchime1.ogg
-%%CLIENT%%%%DATADIR%%/sounds/defeatsound.ogg
-%%CLIENT%%%%DATADIR%%/sounds/disenchant.ogg
-%%CLIENT%%%%DATADIR%%/sounds/dissolve.ogg
-%%CLIENT%%%%DATADIR%%/sounds/enchant.ogg
-%%CLIENT%%%%DATADIR%%/sounds/laserhit.ogg
-%%CLIENT%%%%DATADIR%%/sounds/positive_gate_siren.ogg
-%%CLIENT%%%%DATADIR%%/sounds/victory_fanfare.ogg
-%%CLIENT%%%%DATADIR%%/sprites/COPYING
-%%CLIENT%%%%DATADIR%%/sprites/blue_armless.png
-%%CLIENT%%%%DATADIR%%/sprites/blue_backarm.png
-%%CLIENT%%%%DATADIR%%/sprites/blue_backleg.png
-%%CLIENT%%%%DATADIR%%/sprites/blue_frontarm.png
-%%CLIENT%%%%DATADIR%%/sprites/blue_frontleg.png
-%%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
-%%CLIENT%%%%DATADIR%%/sprites/metal_wall_en32.png
-%%CLIENT%%%%DATADIR%%/sprites/metal_wall_es32.png
-%%CLIENT%%%%DATADIR%%/sprites/metal_wall_n32.png
-%%CLIENT%%%%DATADIR%%/sprites/metal_wall_ne32.png
-%%CLIENT%%%%DATADIR%%/sprites/metal_wall_nw32.png
-%%CLIENT%%%%DATADIR%%/sprites/metal_wall_s32.png
-%%CLIENT%%%%DATADIR%%/sprites/metal_wall_se32.png
-%%CLIENT%%%%DATADIR%%/sprites/metal_wall_sw32.png
-%%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
-%%CLIENT%%%%DATADIR%%/sprites/mini_circle.png
-%%CLIENT%%%%DATADIR%%/sprites/red_armless.png
-%%CLIENT%%%%DATADIR%%/sprites/red_backarm.png
-%%CLIENT%%%%DATADIR%%/sprites/red_backleg.png
-%%CLIENT%%%%DATADIR%%/sprites/red_frontarm.png
-%%CLIENT%%%%DATADIR%%/sprites/red_frontleg.png
-%%CLIENT%%%%DATADIR%%/sprites/red_full.png
-%%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
-%%CLIENT%%@dirrm %%DATADIR%%/fonts
-@dirrm %%DATADIR%%
+%%SERVER%%bin/lmserver
+%%METASERVER%%bin/lmmetaserver
+%%SERVERSCANNER%%bin/lmscan
+%%CLIENT%%share/icons/hicolor/256x256/legesmotus.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/fonts/Jura.gpl3
+%%DATA%%%%CLIENT%%%%DATADIR%%/fonts/Jura.ofl
+%%DATA%%%%CLIENT%%%%DATADIR%%/fonts/JuraDemiBold.ttf
+%%DATA%%%%CLIENT%%%%DATADIR%%/fonts/JuraMedium.ttf
+%%DATA%%%%DATADIR%%/maps/COPYING
+%%DATA%%%%DATADIR%%/maps/alpha1-ai.map
+%%DATA%%%%DATADIR%%/maps/alpha1-death.map
+%%DATA%%%%DATADIR%%/maps/alpha1-test.map
+%%DATA%%%%DATADIR%%/maps/alpha1.map
+%%DATA%%%%DATADIR%%/maps/beta2.map
+%%DATA%%%%DATADIR%%/maps/big.map
+%%DATA%%%%DATADIR%%/maps/force-test.map
+%%DATA%%%%DATADIR%%/maps/gamma3-ai.map
+%%DATA%%%%DATADIR%%/maps/gamma3.map
+%%DATA%%%%DATADIR%%/maps/maze.map
+%%DATA%%%%DATADIR%%/maps/oneobject.map
+%%DATA%%%%DATADIR%%/maps/soundbarrier.map
+%%DATA%%%%DATADIR%%/maps/test.map
+%%DATA%%%%DATADIR%%/maps/vastmelee.map
+%%DATA%%%%CLIENT%%%%DATADIR%%/sounds/LMGateSiren-old.ogg
+%%DATA%%%%CLIENT%%%%DATADIR%%/sounds/LMGateSiren.ogg
+%%DATA%%%%CLIENT%%%%DATADIR%%/sounds/LMGunshot-alternate.ogg
+%%DATA%%%%CLIENT%%%%DATADIR%%/sounds/LMGunshot.ogg
+%%DATA%%%%CLIENT%%%%DATADIR%%/sounds/button_click.ogg
+%%DATA%%%%CLIENT%%%%DATADIR%%/sounds/buzzerheavy.ogg
+%%DATA%%%%CLIENT%%%%DATADIR%%/sounds/clockchime1.ogg
+%%DATA%%%%CLIENT%%%%DATADIR%%/sounds/defeatsound.ogg
+%%DATA%%%%CLIENT%%%%DATADIR%%/sounds/disenchant.ogg
+%%DATA%%%%CLIENT%%%%DATADIR%%/sounds/dissolve.ogg
+%%DATA%%%%CLIENT%%%%DATADIR%%/sounds/enchant.ogg
+%%DATA%%%%CLIENT%%%%DATADIR%%/sounds/laserhit.ogg
+%%DATA%%%%CLIENT%%%%DATADIR%%/sounds/positive_gate_siren.ogg
+%%DATA%%%%CLIENT%%%%DATADIR%%/sounds/victory_fanfare.ogg
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/COPYING
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/blue_armless.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/blue_backarm.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/blue_backleg.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/blue_frontarm.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/blue_frontleg.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/blue_full.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/blue_gate.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/blue_head.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/blue_head256.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/blue_head32.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/blue_head512.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/blue_torso.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/cannon_back.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/cannon_front.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/cannon_front_shot.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/circle256.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/crosshairs.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/friction64.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/gun_noshot.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/gun_shot.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/large_cannon.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/large_gun.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/large_mgun.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/large_rifle.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/large_sgun.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/legesmotuslogo.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_bg.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_bgtile.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_bgtile64.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_bgtile_blue.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_bgtile_friction.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_bgtile_noscrews.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_bgtile_red.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_bgtile_yellow.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_gate_e.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_gate_w.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_hazard64.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_hazard64_blue.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_hazard64_red.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_obstacle128.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_obstacle64.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_wall_e32.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_wall_en32.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_wall_es32.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_wall_n32.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_wall_ne32.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_wall_nw32.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_wall_s32.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_wall_se32.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_wall_sw32.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_wall_w32.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_wall_wn32.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/metal_wall_ws32.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/mgun_noshot.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/mgun_shot.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/mini_bg.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/mini_blip_blue.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/mini_blip_red.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/mini_circle.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/red_armless.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/red_backarm.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/red_backleg.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/red_frontarm.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/red_frontleg.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/red_full.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/red_gate.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/red_head.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/red_torso.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/rifle_noshot.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/rifle_shot.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/sgun_noshot.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/sgun_shot.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/shot.png
+%%DATA%%%%CLIENT%%%%DATADIR%%/sprites/sshot.png
+%%DATA%%%%DATADIR%%/weapons/classic
+%%DATA%%%%DATADIR%%/weapons/standard
+%%DATA%%@dirrm %%DATADIR%%/weapons
+%%DATA%%%%CLIENT%%@dirrm %%DATADIR%%/sprites
+%%DATA%%%%CLIENT%%@dirrm %%DATADIR%%/sounds
+%%DATA%%@dirrm %%DATADIR%%/maps
+%%DATA%%%%CLIENT%%@dirrm %%DATADIR%%/fonts
+%%DATA%%@dirrm %%DATADIR%%
+%%CLIENT%%@dirrmtry share/icons/hicolor/256x256
+%%CLIENT%%@dirrmtry share/icons/hicolor
+%%CLIENT%%@dirrmtry share/icons