aboutsummaryrefslogtreecommitdiff
path: root/games/warsow
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2006-08-20 15:11:09 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2006-08-20 15:11:09 +0000
commit96add768b87264137da2daf4270c11abac0a2fd4 (patch)
tree9ec81e7e074a7e25bec1ad1c12f2788f6c7a4ebd /games/warsow
parent91fcad66fdab56b60b0db209a96cb38392890fd7 (diff)
downloadports-96add768b87264137da2daf4270c11abac0a2fd4.tar.gz
ports-96add768b87264137da2daf4270c11abac0a2fd4.zip
Notes
Diffstat (limited to 'games/warsow')
-rw-r--r--games/warsow/Makefile45
-rw-r--r--games/warsow/files/patch-Makefile161
-rw-r--r--games/warsow/files/patch-linux+sys_linux.c47
-rw-r--r--games/warsow/pkg-plist151
4 files changed, 216 insertions, 188 deletions
diff --git a/games/warsow/Makefile b/games/warsow/Makefile
index bf18e6e2ed19..791f0d60626b 100644
--- a/games/warsow/Makefile
+++ b/games/warsow/Makefile
@@ -7,29 +7,29 @@
PORTNAME= warsow
PORTVERSION= 0.12
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://warsow.aditsystems.com/ \
http://ftp.club-internet.fr/pub/games/nofrag/warsow/ \
http://wsw.surreal-xenotronic.com/
DISTNAME= ${PORTNAME}_${PORTVERSION}_sdk
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
- ${PORTNAME}_${PORTVERSION}_linux.tar.gz
DIST_SUBDIR= ${PORTNAME}
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= danfe@FreeBSD.org
COMMENT= A fast paced first person shooter game
+RUN_DEPENDS= ${DATADIR}/data0.pk3:${PORTSDIR}/games/warsow-data
+
+ONLY_FOR_ARCHS= i386 amd64
USE_GMAKE= yes
-USE_GCC= 3.3+
+USE_GCC= 3.4+
USE_ZIP= yes
USE_DOS2UNIX= linux/in_x11.c linux/sys_linux.c
-ALL_TARGET= game
WRKSRC= ${WRKDIR}/source/source012
+ALL_TARGET= game
RELEASEDIR= ${WRKSRC}/release
-DATADIR= ${PREFIX}/lib/${PORTNAME}
+WSWDATADIR= ${PREFIX}/lib/${PORTNAME}
OPTIONS= CLIENT "Build client executable" on \
SERVER "Build dedicated server executable" on
@@ -40,6 +40,14 @@ OPTIONS= CLIENT "Build client executable" on \
IGNORE= requires at least one of CLIENT and SERVER options
.endif
+.if ${ARCH} == "i386"
+ARCHSUFFIX= "_i386"
+PLIST_SUB+= ARCHSUFFIX=${ARCHSUFFIX}
+.elif ${ARCH} == "amd64"
+ARCHSUFFIX= "_x86_64"
+PLIST_SUB+= ARCHSUFFIX=${ARCHSUFFIX}
+.endif
+
.if !defined(WITHOUT_CLIENT)
LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl \
jpeg.9:${PORTSDIR}/graphics/jpeg
@@ -62,26 +70,17 @@ PLIST_SUB+= SERVER="@comment "
post-patch: .SILENT
${REINPLACE_CMD} -e 's#@$$(DO_CC#$$(DO_CC#; \
- s#_$$(ARCH)##; s#-O2 ##' ${WRKSRC}/Makefile
- ${REINPLACE_CMD} -e 's#path", "\.#path", "${DATADIR}#; \
+ s#-O2 ##' ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e 's#path", "\.#path", "${WSWDATADIR}#; \
s#dir", "0#dir", "1#' ${WRKSRC}/qcommon/files.c
${REINPLACE_CMD} -e 's#Linux#FreeBSD#' ${WRKSRC}/game/q_shared.h
do-install:
-.for bin in ${WSBIN}
- ${INSTALL_PROGRAM} ${RELEASEDIR}/${bin} ${PREFIX}/bin
+ @${MKDIR} ${PREFIX}/lib/${PORTNAME}/basewsw
+.for FILE in ${WSBIN}
+ ${INSTALL_PROGRAM} ${RELEASEDIR}/${FILE} ${PREFIX}/bin
.endfor
- @${MKDIR} ${DATADIR}/basewsw
- ${INSTALL_PROGRAM} ${RELEASEDIR}/basewsw/*.so ${DATADIR}/basewsw
- @${TAR} xzvf ${_DISTDIR}/${PORTNAME}_${PORTVERSION}_linux.tar.gz \
- -C ${PREFIX}/lib warsow/basewsw/cfgs warsow/basewsw/huds \
- warsow/basewsw/dedicated_autoexec.cfg \
- warsow/basewsw/\*.pk3 && ${CHOWN} -R root:wheel ${DATADIR}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${TAR} xzvf ${_DISTDIR}/${PORTNAME}_${PORTVERSION}_linux.tar.gz \
- -C ${WRKDIR} warsow/docs && ${CP} -R ${WRKDIR}/warsow/docs/ \
- ${DOCSDIR} && ${CHMOD} -R 777 ${WRKDIR}/warsow
-.endif
+ ${INSTALL_DATA} ${RELEASEDIR}/basewsw/*.so ${PREFIX}/lib/${PORTNAME}/basewsw
+ ${LN} -s ${DATADIR}/* ${PREFIX}/lib/${PORTNAME}/basewsw
.include <bsd.port.post.mk>
diff --git a/games/warsow/files/patch-Makefile b/games/warsow/files/patch-Makefile
index 1fc4a7917011..44da79ad3c5c 100644
--- a/games/warsow/files/patch-Makefile
+++ b/games/warsow/files/patch-Makefile
@@ -1,6 +1,14 @@
---- Makefile.orig Tue Jun 27 21:28:20 2006
-+++ Makefile Tue Jun 27 21:32:49 2006
-@@ -26,7 +26,7 @@
+--- Makefile Thu Jun 8 22:44:02 2006
++++ Makefile Sat Aug 19 20:50:05 2006
+@@ -19,14 +19,14 @@
+ CC?=gcc
+
+ CFLAGS_COMMON=$(CFLAGS) -I. -I$(LOCALBASE)/include -I$(X11BASE)/include -D__linux__ -Wall
+-CFLAGS_RELEASE=-O2 -fno-strict-aliasing -ffast-math -funroll-loops
++CFLAGS_RELEASE=-fno-strict-aliasing -ffast-math -funroll-loops
+ CFLAGS_DEBUG=-O0 -ggdb -DDEBUG
+ CFLAGS_COMMON+=$(CFLAGS_RELEASE)
+
CFLAGS_DED=-DDEDICATED_ONLY -DC_ONLY
CFLAGS_MODULE=-fPIC
@@ -9,18 +17,55 @@
ifeq ($(ARCH),x86_64)
LIB=lib64
-@@ -53,8 +53,8 @@
+@@ -48,13 +48,19 @@
+ LDFLAGS_SDL=$(shell $(SDL_CONFIG) --libs)
+
+ ifeq ($(OS),FreeBSD)
+-ARCH=freebsd_$(BASE_ARCH)
++ARCH=_$(BASE_ARCH)
+ else
ARCH=$(BASE_ARCH)
endif
-SERVER_EXE=wsw_server.$(ARCH)
-CLIENT_EXE=warsow.$(ARCH)
++ifeq ($(BASE_ARCH),i386)
++ARCHSUFFIX=i386
++else
++ARCHSUFFIX=x86_64
++endif
++
+SERVER_EXE=wsw_server
+CLIENT_EXE=warsow
######################################################################################################
# Helper functions
-@@ -220,29 +220,29 @@
+@@ -196,21 +202,21 @@
+ @echo "> * Building cgame"
+ @echo "> *********************************************************"
+ compile-cgame: $(OBJS_CGAME)
+-link-cgame: $(BINDIR)/basewsw $(BINDIR)/basewsw/cgame_$(ARCH).so
++link-cgame: $(BINDIR)/basewsw $(BINDIR)/basewsw/cgame_$(ARCHSUFFIX).so
+
+ message-game:
+ @echo "> *********************************************************"
+ @echo "> * Building game"
+ @echo "> *********************************************************"
+ compile-game: $(OBJS_GAME)
+-link-game: $(BINDIR)/basewsw $(BINDIR)/basewsw/game_$(ARCH).so
++link-game: $(BINDIR)/basewsw $(BINDIR)/basewsw/game_$(ARCHSUFFIX).so
+
+ message-ui:
+ @echo "> *********************************************************"
+ @echo "> * Building ui"
+ @echo "> *********************************************************"
+ compile-ui: $(OBJS_UI)
+-link-ui: $(BINDIR)/basewsw $(BINDIR)/basewsw/ui_$(ARCH).so
++link-ui: $(BINDIR)/basewsw $(BINDIR)/basewsw/ui_$(ARCHSUFFIX).so
+
+
+ ######################################################################################################
+@@ -220,29 +226,29 @@
# DED
########
$(BINDIR)/$(SERVER_EXE): $(OBJS_DED)
@@ -39,19 +84,119 @@
########
# .SO
########
- $(BINDIR)/basewsw/cgame_$(ARCH).so: $(OBJS_CGAME)
+-$(BINDIR)/basewsw/cgame_$(ARCH).so: $(OBJS_CGAME)
- @echo " > Linking $@" && \
++$(BINDIR)/basewsw/cgame_$(ARCHSUFFIX).so: $(OBJS_CGAME)
+ echo " > Linking $@" && \
$(CC) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE)
- $(BINDIR)/basewsw/game_$(ARCH).so: $(OBJS_GAME)
+-$(BINDIR)/basewsw/game_$(ARCH).so: $(OBJS_GAME)
- @echo " > Linking $@" && \
++$(BINDIR)/basewsw/game_$(ARCHSUFFIX).so: $(OBJS_GAME)
+ echo " > Linking $@" && \
$(CC) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE)
- $(BINDIR)/basewsw/ui_$(ARCH).so: $(OBJS_UI)
+-$(BINDIR)/basewsw/ui_$(ARCH).so: $(OBJS_UI)
- @echo " > Linking $@" && \
++$(BINDIR)/basewsw/ui_$(ARCHSUFFIX).so: $(OBJS_UI)
+ echo " > Linking $@" && \
$(CC) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE)
+@@ -253,76 +259,76 @@
+ # CLIENT
+ ########
+ $(BUILDDIR)/client/%.o: qcommon/%.c
+- @$(DO_CC)
++ $(DO_CC)
+
+ $(BUILDDIR)/client/%.o: server/%.c
+- @$(DO_CC)
++ $(DO_CC)
+
+ $(BUILDDIR)/client/%.o: client/%.c
+- @$(DO_CC)
++ $(DO_CC)
+
+ $(BUILDDIR)/client/%.o: ref_gl/%.c
+- @$(DO_CC)
++ $(DO_CC)
+
+ $(BUILDDIR)/client/%.o: linux/%.c
+- @$(DO_CC)
++ $(DO_CC)
+
+ $(BUILDDIR)/client/snd_sdl.o: linux/snd_sdl.c
+- @$(DO_CC) $(CFLAGS_SDL)
++ $(DO_CC) $(CFLAGS_SDL)
+
+ $(BUILDDIR)/client/%.o: game/%.c
+- @$(DO_CC)
++ $(DO_CC)
+
+ ########
+ # DED
+ ########
+ $(BUILDDIR)/ded/%.o: qcommon/%.c
+- @$(DO_CC_DED)
++ $(DO_CC_DED)
+
+ $(BUILDDIR)/ded/%.o: server/%.c
+- @$(DO_CC_DED)
++ $(DO_CC_DED)
+
+ $(BUILDDIR)/ded/%.o: linux/%.c
+- @$(DO_CC_DED)
++ $(DO_CC_DED)
+
+ $(BUILDDIR)/ded/%.o: null/%.c
+- @$(DO_CC_DED)
++ $(DO_CC_DED)
+
+ $(BUILDDIR)/ded/%.o: game/%.c
+- @$(DO_CC_DED)
++ $(DO_CC_DED)
+
+ ########
+ # CGAME
+ ########
+ $(BUILDDIR)/cgame/%.o: cgame/%.c
+- @$(DO_CC_MODULE)
++ $(DO_CC_MODULE)
+
+ $(BUILDDIR)/cgame/%.o: gameshared/%.c
+- @$(DO_CC_MODULE)
++ $(DO_CC_MODULE)
+
+ $(BUILDDIR)/cgame/%.o: game/%.c
+- @$(DO_CC_MODULE)
++ $(DO_CC_MODULE)
+
+ ########
+ # GAME
+ ########
+ $(BUILDDIR)/game/%.o: game/%.c
+- @$(DO_CC_MODULE)
++ $(DO_CC_MODULE)
+
+ $(BUILDDIR)/game/%.o: game/ai/%.c
+- @$(DO_CC_MODULE)
++ $(DO_CC_MODULE)
+
+ $(BUILDDIR)/game/%.o: gameshared/%.c
+- @$(DO_CC_MODULE)
++ $(DO_CC_MODULE)
+
+ ########
+ # UI
+ ########
+ $(BUILDDIR)/ui/%.o: game/%.c
+- @$(DO_CC_MODULE)
++ $(DO_CC_MODULE)
+
+ $(BUILDDIR)/ui/%.o: ui/%.c
+- @$(DO_CC_MODULE)
++ $(DO_CC_MODULE)
+
+
+ ######################################################################################################
diff --git a/games/warsow/files/patch-linux+sys_linux.c b/games/warsow/files/patch-linux+sys_linux.c
index 96c142c57225..0b55adac9fbe 100644
--- a/games/warsow/files/patch-linux+sys_linux.c
+++ b/games/warsow/files/patch-linux+sys_linux.c
@@ -1,29 +1,20 @@
---- linux/sys_linux.c.orig Thu May 11 22:18:54 2006
-+++ linux/sys_linux.c Thu Jun 1 15:44:44 2006
-@@ -434,7 +392,7 @@
- APIfunc = GetGameAPI;
+--- linux/sys_linux.c Sat Aug 19 21:04:32 2006
++++ linux/sys_linux.c Sat Aug 19 21:04:55 2006
+@@ -380,7 +380,7 @@
+
+ #if defined __FreeBSD__
+ #if defined __i386__
+-#define ARCH "freebsd_i386"
++#define ARCH "i386"
+
+ #ifdef NDEBUG
+ const char *debugdir = "freebsd_releasei386";
+@@ -389,7 +389,7 @@
#endif
- lib = &game_library;
-- libname = "game_" ARCH ".so";
-+ libname = "game.so";
- apifuncname = "GetGameAPI";
- break;
- }
-@@ -445,7 +403,7 @@
- APIfunc = GetCGameAPI;
- #endif
- lib = &cgame_library;
-- libname = "cgame_" ARCH ".so";
-+ libname = "cgame.so";
- apifuncname = "GetCGameAPI";
- break;
- }
-@@ -456,7 +414,7 @@
- APIfunc = GetUIAPI;
- #endif
- lib = &ui_library;
-- libname = "ui_" ARCH ".so";
-+ libname = "ui.so";
- apifuncname = "GetUIAPI";
- break;
- }
+
+ #elif defined __x86_64__
+-#define ARCH "xfreebsd_86_64"
++#define ARCH "x86_64"
+ #ifdef NDEBUG
+ const char *debugdir = "releasex86_64";
+ #else
diff --git a/games/warsow/pkg-plist b/games/warsow/pkg-plist
index c5caef11ea23..588095654114 100644
--- a/games/warsow/pkg-plist
+++ b/games/warsow/pkg-plist
@@ -1,131 +1,24 @@
%%CLIENT%%bin/warsow
%%SERVER%%bin/wsw_server
-%%CLIENT%%%%DATADIR%%/basewsw/cgame.so
-%%DATADIR%%/basewsw/game.so
-%%CLIENT%%%%DATADIR%%/basewsw/ui.so
-%%DATADIR%%/basewsw/data0.pk3
-%%DATADIR%%/basewsw/data0fix1.pk3
-%%DATADIR%%/basewsw/data0fix2.pk3
-%%DATADIR%%/basewsw/map_wctf1.pk3
-%%DATADIR%%/basewsw/map_wdm1.pk3
-%%DATADIR%%/basewsw/map_wdm2.pk3
-%%DATADIR%%/basewsw/map_wdm5.pk3
-%%DATADIR%%/basewsw/map_wmid1.pk3
-%%DATADIR%%/basewsw/map_wmid2.pk3
-%%DATADIR%%/basewsw/map_wmid3.pk3
-%%DATADIR%%/basewsw/map_wtest1.pk3
-%%DATADIR%%/basewsw/map_wtest3.pk3
-%%DATADIR%%/basewsw/map_wtest4.pk3
-%%DATADIR%%/basewsw/cfgs/Medar.cfg
-%%DATADIR%%/basewsw/cfgs/pb.cfg
-%%DATADIR%%/basewsw/cfgs/nip.cfg
-%%DATADIR%%/basewsw/cfgs/jal.cfg
-%%DATADIR%%/basewsw/cfgs/dedicated_ffa.cfg
-%%DATADIR%%/basewsw/cfgs/dedicated_ctf.cfg
-%%DATADIR%%/basewsw/cfgs/ekse.cfg
-%%DATADIR%%/basewsw/cfgs/ETR.cfg
-%%DATADIR%%/basewsw/cfgs/dedicated_tdm_ctf.cfg
-%%DATADIR%%/basewsw/cfgs/dedicated_allaround.cfg
-%%DATADIR%%/basewsw/cfgs/dedicated_duel_quad.cfg
-%%DATADIR%%/basewsw/cfgs/chas.cfg
-%%DATADIR%%/basewsw/cfgs/dedicated_tdm.cfg
-%%DATADIR%%/basewsw/cfgs/dedicated_duel.cfg
-%%DATADIR%%/basewsw/cfgs/dedicated_quad.cfg
-@dirrm %%DATADIR%%/basewsw/cfgs
-%%DATADIR%%/basewsw/huds/inc/nip/speed_right_small.hud
-%%DATADIR%%/basewsw/huds/inc/nip/health_numbers.hud
-%%DATADIR%%/basewsw/huds/inc/nip/team_info.hud
-%%DATADIR%%/basewsw/huds/inc/nip/selected_weapon.hud
-%%DATADIR%%/basewsw/huds/inc/nip/pointing_middle.hud
-%%DATADIR%%/basewsw/huds/inc/nip/selected_item.hud
-%%DATADIR%%/basewsw/huds/inc/nip/race_timer.hud
-%%DATADIR%%/basewsw/huds/inc/nip/armor_numbers.hud
-%%DATADIR%%/basewsw/huds/inc/nip/fps_right_small.hud
-%%DATADIR%%/basewsw/huds/inc/nip/frag_counter.hud
-%%DATADIR%%/basewsw/huds/inc/nip/powerup_item.hud
-%%DATADIR%%/basewsw/huds/inc/nip/picked_up_item.hud
-%%DATADIR%%/basewsw/huds/inc/nip/clock_right_mid.hud
-%%DATADIR%%/basewsw/huds/inc/nip/ammo.hud
-%%DATADIR%%/basewsw/huds/inc/nip/help_message_center.hud
-%%DATADIR%%/basewsw/huds/inc/nip/weaponlist_up.hud
-%%DATADIR%%/basewsw/huds/inc/nip/crosshair.hud
-%%DATADIR%%/basewsw/huds/inc/nip/chasing_top.hud
-@dirrm %%DATADIR%%/basewsw/huds/inc/nip
-%%DATADIR%%/basewsw/huds/inc/1oooK/speed_right_small.hud
-%%DATADIR%%/basewsw/huds/inc/1oooK/health_numbers.hud
-%%DATADIR%%/basewsw/huds/inc/1oooK/clock_right_mid.hud
-%%DATADIR%%/basewsw/huds/inc/1oooK/team_info.hud
-%%DATADIR%%/basewsw/huds/inc/1oooK/armor_bar.hud
-%%DATADIR%%/basewsw/huds/inc/1oooK/selected_item.hud
-%%DATADIR%%/basewsw/huds/inc/1oooK/chasing_left.hud
-%%DATADIR%%/basewsw/huds/inc/1oooK/armor_numbers.hud
-%%DATADIR%%/basewsw/huds/inc/1oooK/health_bar.hud
-%%DATADIR%%/basewsw/huds/inc/1oooK/weaponlist_down.hud
-%%DATADIR%%/basewsw/huds/inc/1oooK/crosshair.hud
-%%DATADIR%%/basewsw/huds/inc/1oooK/fps_right_small.hud
-%%DATADIR%%/basewsw/huds/inc/1oooK/frag_counter.hud
-@dirrm %%DATADIR%%/basewsw/huds/inc/1oooK
-%%DATADIR%%/basewsw/huds/inc/health_numbers.hud
-%%DATADIR%%/basewsw/huds/inc/selected_weapon.hud
-%%DATADIR%%/basewsw/huds/inc/team_info.hud
-%%DATADIR%%/basewsw/huds/inc/pointing_middle.hud
-%%DATADIR%%/basewsw/huds/inc/health_pic_bar2.hud
-%%DATADIR%%/basewsw/huds/inc/selected_item.hud
-%%DATADIR%%/basewsw/huds/inc/ETR/health_numbers.hud
-%%DATADIR%%/basewsw/huds/inc/ETR/picked_up_item.hud
-%%DATADIR%%/basewsw/huds/inc/ETR/team_info.hud
-%%DATADIR%%/basewsw/huds/inc/ETR/speed_mid_mid.hud
-%%DATADIR%%/basewsw/huds/inc/ETR/clock_mid_big.hud
-%%DATADIR%%/basewsw/huds/inc/ETR/pointing_middle.hud
-%%DATADIR%%/basewsw/huds/inc/ETR/chasing_left.hud
-%%DATADIR%%/basewsw/huds/inc/ETR/armor_numbers.hud
-%%DATADIR%%/basewsw/huds/inc/ETR/weaponlist_down.hud
-%%DATADIR%%/basewsw/huds/inc/ETR/fps_right_small.hud
-%%DATADIR%%/basewsw/huds/inc/ETR/crosshair.hud
-%%DATADIR%%/basewsw/huds/inc/ETR/frag_counter.hud
-%%DATADIR%%/basewsw/huds/inc/ETR/scores.hud
-@dirrm %%DATADIR%%/basewsw/huds/inc/ETR
-%%DATADIR%%/basewsw/huds/inc/net.hud
-%%DATADIR%%/basewsw/huds/inc/race_timer.hud
-%%DATADIR%%/basewsw/huds/inc/clock_right_small.hud
-%%DATADIR%%/basewsw/huds/inc/armor_numbers.hud
-%%DATADIR%%/basewsw/huds/inc/weaponlist_down.hud
-%%DATADIR%%/basewsw/huds/inc/fps_right_small.hud
-%%DATADIR%%/basewsw/huds/inc/powerup_item.hud
-%%DATADIR%%/basewsw/huds/inc/speed_right_small.hud
-%%DATADIR%%/basewsw/huds/inc/picked_up_item.hud
-%%DATADIR%%/basewsw/huds/inc/clock_right_mid.hud
-%%DATADIR%%/basewsw/huds/inc/armor_pic_bar2.hud
-%%DATADIR%%/basewsw/huds/inc/weaponlist_right.hud
-%%DATADIR%%/basewsw/huds/inc/health_pic_bar.hud
-%%DATADIR%%/basewsw/huds/inc/armor_pic_bar.hud
-%%DATADIR%%/basewsw/huds/inc/chasing_left.hud
-%%DATADIR%%/basewsw/huds/inc/ammo.hud
-%%DATADIR%%/basewsw/huds/inc/crosshair.hud
-%%DATADIR%%/basewsw/huds/inc/help_message_center.hud
-%%DATADIR%%/basewsw/huds/inc/scores.hud
-%%DATADIR%%/basewsw/huds/inc/weaponlist_left.hud
-@dirrm %%DATADIR%%/basewsw/huds/inc
-%%DATADIR%%/basewsw/huds/default.hud
-%%DATADIR%%/basewsw/huds/nip.hud
-%%DATADIR%%/basewsw/huds/1oooK.hud
-%%DATADIR%%/basewsw/huds/hud_left.hud
-%%DATADIR%%/basewsw/huds/ETR.hud
-%%DATADIR%%/basewsw/huds/hud_right.hud
-@dirrm %%DATADIR%%/basewsw/huds
-%%DATADIR%%/basewsw/dedicated_autoexec.cfg
-@dirrm %%DATADIR%%/basewsw
-@dirrm %%DATADIR%%
-%%PORTDOCS%%%%DOCSDIR%%/Shader_Manual.rtf
-%%PORTDOCS%%%%DOCSDIR%%/bots_navigation.txt
-%%PORTDOCS%%%%DOCSDIR%%/changelog.txt
-%%PORTDOCS%%%%DOCSDIR%%/contact.txt
-%%PORTDOCS%%%%DOCSDIR%%/dedicated_server_quide.txt
-%%PORTDOCS%%%%DOCSDIR%%/demoavi.txt
-%%PORTDOCS%%%%DOCSDIR%%/gnu.txt
-%%PORTDOCS%%%%DOCSDIR%%/huds.txt
-%%PORTDOCS%%%%DOCSDIR%%/linux_sound_sdl.txt
-%%PORTDOCS%%%%DOCSDIR%%/new_features.txt
-%%PORTDOCS%%%%DOCSDIR%%/old_changelog.txt
-%%PORTDOCS%%%%DOCSDIR%%/query_protocols.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+lib/warsow/basewsw/cfgs
+%%CLIENT%%lib/warsow/basewsw/cgame%%ARCHSUFFIX%%.so
+lib/warsow/basewsw/config.cfg
+lib/warsow/basewsw/data0.pk3
+lib/warsow/basewsw/data0fix1.pk3
+lib/warsow/basewsw/data0fix2.pk3
+lib/warsow/basewsw/dedicated_autoexec.cfg
+lib/warsow/basewsw/game%%ARCHSUFFIX%%.so
+lib/warsow/basewsw/huds
+lib/warsow/basewsw/map_wctf1.pk3
+lib/warsow/basewsw/map_wdm1.pk3
+lib/warsow/basewsw/map_wdm2.pk3
+lib/warsow/basewsw/map_wdm5.pk3
+lib/warsow/basewsw/map_wmid1.pk3
+lib/warsow/basewsw/map_wmid2.pk3
+lib/warsow/basewsw/map_wmid3.pk3
+lib/warsow/basewsw/map_wtest1.pk3
+lib/warsow/basewsw/map_wtest3.pk3
+lib/warsow/basewsw/map_wtest4.pk3
+%%CLIENT%%lib/warsow/basewsw/ui%%ARCHSUFFIX%%.so
+@dirrm lib/warsow/basewsw
+@dirrm lib/warsow