aboutsummaryrefslogtreecommitdiffstats
path: root/games/quake2-data
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-10-17 06:31:37 +0800
committeredwin <edwin@FreeBSD.org>2005-10-17 06:31:37 +0800
commitd6ae1867642c49a6aeeeac6e3357d0932065ad0b (patch)
tree1081897b6c6a227aa216ee997fdf65132db9e459 /games/quake2-data
parentd00eca5e9d837429011670af0d67432c601efb4e (diff)
downloadfreebsd-ports-gnome-d6ae1867642c49a6aeeeac6e3357d0932065ad0b.tar.gz
freebsd-ports-gnome-d6ae1867642c49a6aeeeac6e3357d0932065ad0b.tar.zst
freebsd-ports-gnome-d6ae1867642c49a6aeeeac6e3357d0932065ad0b.zip
[NEW PORT] games/quake2-data - Quake II data files
Quake II data files. This port installs the data files needed to run Quake II. It installs the updates and Capture The Flag mod data. You still need to have a legitimate copy of the game in order to obtain the .pak files. Otherwise you can use the shareware version of the game data. PR: 8 7179 Submitted by: Alejandro Pulver <alejandro@varnet.biz>
Diffstat (limited to 'games/quake2-data')
-rw-r--r--games/quake2-data/Makefile107
-rw-r--r--games/quake2-data/Makefile.include39
-rw-r--r--games/quake2-data/distinfo6
-rw-r--r--games/quake2-data/files/pkg-message.in17
-rw-r--r--games/quake2-data/pkg-descr7
-rw-r--r--games/quake2-data/pkg-plist344
6 files changed, 520 insertions, 0 deletions
diff --git a/games/quake2-data/Makefile b/games/quake2-data/Makefile
new file mode 100644
index 000000000000..40d658e8c526
--- /dev/null
+++ b/games/quake2-data/Makefile
@@ -0,0 +1,107 @@
+# New ports collection makefile for: quake2-data
+# Date created: 28 Sep 2005
+# Whom: Alejandro Pulver <alejandro@varnet.biz>
+#
+# $FreeBSD$
+#
+
+PORTNAME= data
+PORTVERSION= 3.20
+CATEGORIES= games
+MASTER_SITES= ftp://ftp.idsoftware.com/idstuff/quake2/
+DISTFILES= ${Q2FULL}
+DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}
+
+MAINTAINER= alejandro@varnet.biz
+COMMENT= Quake II data files
+
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+OPTIONS= CTF "Install the Capture The Flag mod data" on \
+ SHAREWARE "Install demo version game data" off
+
+LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}
+
+Q2FULL= q2-3.20-x86-full.exe
+Q2DEMO= q2-314-demo-x86.exe
+Q2CTF= ctf/q2ctf150.zip
+
+.include "Makefile.include"
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_CTF) && !defined(WITH_SHAREWARE)
+DISTFILES+= ${Q2CTF}
+PLIST_SUB+= CTF=""
+.else
+PLIST_SUB+= CTF="@comment "
+.endif
+
+.if defined(WITH_SHAREWARE)
+PLIST_SUB+= FULL="@comment " \
+ SHAREWARE=""
+.else
+PLIST_SUB+= FULL="" \
+ SHAREWARE="@comment "
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
+.endif
+
+.if defined(WITH_SHAREWARE) || !defined(NOPORTDOCS)
+DISTFILES+= ${Q2DEMO}
+.endif
+
+do-extract:
+ @${MKDIR} ${WRKDIR}
+ @${UNZIP_CMD} -q -d ${WRKDIR} \
+ ${DISTDIR}/${DIST_SUBDIR}/${Q2FULL} \
+ baseq2/* -x *.dll
+.if defined(WITH_SHAREWARE)
+ @${RM} ${WRKDIR}/baseq2/pak[^0].pak
+.endif
+.if defined(WITH_CTF) && defined(WITHOUT_SHAREWARE)
+ @${UNZIP_CMD} -aq -d ${WRKDIR}/ctf \
+ ${DISTDIR}/${DIST_SUBDIR}/${Q2CTF} \
+ -x *.dll *.ico
+.endif
+.if !defined(NOPORTDOCS)
+ @${UNZIP_CMD} -ajq -d ${WRKDIR}/DOCS \
+ ${DISTDIR}/${DIST_SUBDIR}/${Q2DEMO} \
+ Install/Data/DOCS/*
+.endif
+.if defined(WITH_SHAREWARE)
+ @${UNZIP_CMD} -jq -d ${WRKDIR}/baseq2 \
+ ${DISTDIR}/${DIST_SUBDIR}/${Q2DEMO} \
+ Install/Data/baseq2/pak0.pak
+.endif
+
+do-install:
+ @${MKDIR} ${DATADIR}
+ @${CP} -R ${WRKSRC}/baseq2 ${DATADIR}
+.if defined(WITHOUT_SHAREWARE)
+ @${MKDIR} ${DATADIR}/rogue ${DATADIR}/xatrix
+.endif
+.if defined(WITH_CTF) && defined(WITHOUT_SHAREWARE)
+ @${MKDIR} ${DATADIR}/ctf
+. for f in *.cfg *.pak
+ @${INSTALL_DATA} ${WRKSRC}/ctf/${f} ${DATADIR}/ctf
+. endfor
+.endif
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${CP} -R ${WRKSRC}/DOCS ${DOCSDIR}/manual
+. if defined(WITH_CTF) && defined(WITHOUT_SHAREWARE)
+ @${MKDIR} ${DOCSDIR}/ctf
+ @${INSTALL_DATA} ${WRKSRC}/ctf/*.txt ${DOCSDIR}/ctf
+. endif
+.endif
+
+post-install:
+.if defined(WITHOUT_SHAREWARE)
+ @${ECHO_CMD}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_CMD}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/games/quake2-data/Makefile.include b/games/quake2-data/Makefile.include
new file mode 100644
index 000000000000..adb9a2faab25
--- /dev/null
+++ b/games/quake2-data/Makefile.include
@@ -0,0 +1,39 @@
+# Makefile for defining variables used by other Quake II related ports.
+
+# Determine if the port is a Quake II engine.
+
+Q2ENGINES= quake2forge quake2lnx
+
+.for f in ${Q2ENGINES}
+. if ${PORTNAME} == ${f}
+ENGINE= yes
+. endif
+.endfor
+
+# Package name prefix.
+
+Q2PKGNAMEPREFIX=quake2-
+
+.if !defined(ENGINE)
+PKGNAMEPREFIX?= ${Q2PKGNAMEPREFIX}
+.endif
+
+# Dependency to "games/quake2-data".
+
+.if ${PORTNAME} != "data"
+RUN_DEPENDS+= ${Q2DIR}:${PORTSDIR}/games/quake2-data
+.endif
+
+# Installation directories.
+
+Q2DIR= ${LOCALBASE}/share/quake2
+
+.if defined(ENGINE) || ${PORTNAME} == "data"
+DATADIR?= ${Q2DIR}
+.else
+DATADIR?= ${Q2DIR}/${PORTNAME}
+.endif
+
+DOCSDIR?= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+
+PLIST_SUB+= Q2DIR="${Q2DIR:S/${PREFIX}\///}"
diff --git a/games/quake2-data/distinfo b/games/quake2-data/distinfo
new file mode 100644
index 000000000000..239531b7174c
--- /dev/null
+++ b/games/quake2-data/distinfo
@@ -0,0 +1,6 @@
+MD5 (quake2-data/q2-3.20-x86-full.exe) = c5a1c2878c2e88fa576b7afb26b411e4
+SIZE (quake2-data/q2-3.20-x86-full.exe) = 13842432
+MD5 (quake2-data/ctf/q2ctf150.zip) = 89218caf5950b17663d4f81df7e8f893
+SIZE (quake2-data/ctf/q2ctf150.zip) = 9559697
+MD5 (quake2-data/q2-314-demo-x86.exe) = 4d1cd4618e80a38db59304132ea0856c
+SIZE (quake2-data/q2-314-demo-x86.exe) = 39015499
diff --git a/games/quake2-data/files/pkg-message.in b/games/quake2-data/files/pkg-message.in
new file mode 100644
index 000000000000..4d8302acad1c
--- /dev/null
+++ b/games/quake2-data/files/pkg-message.in
@@ -0,0 +1,17 @@
+====================================================================
+
+To complete the installation of this port you need to copy the file
+"baseq2/pak0.pak" from the original Quake II distribution to
+"%%DATADIR%%/baseq2".
+
+If you have the "Ground Zero" (Rogue) mission pack copy the file
+"rogue/pak0.pak" and the directory "rogue/video" from the original
+Quake II: Ground Zero distribution to
+"%%DATADIR%%/rogue".
+
+If you have "The Reckoning" (Xatrix) mission pack copy the file
+"xatrix/pak0.pak" and the directory "xatrix/video" from the original
+Quake II: The Reckoning distribution to
+"%%DATADIR%%/xatrix".
+
+====================================================================
diff --git a/games/quake2-data/pkg-descr b/games/quake2-data/pkg-descr
new file mode 100644
index 000000000000..37b96f624d2d
--- /dev/null
+++ b/games/quake2-data/pkg-descr
@@ -0,0 +1,7 @@
+Quake II data files.
+
+This port installs the data files needed to run Quake II. It installs the
+updates and Capture The Flag mod data.
+
+You still need to have a legitimate copy of the game in order to obtain
+the .pak files. Otherwise you can use the shareware version of the game data.
diff --git a/games/quake2-data/pkg-plist b/games/quake2-data/pkg-plist
new file mode 100644
index 000000000000..27243575bf49
--- /dev/null
+++ b/games/quake2-data/pkg-plist
@@ -0,0 +1,344 @@
+%%DATADIR%%/baseq2/maps.lst
+%%SHAREWARE%%%%DATADIR%%/baseq2/pak0.pak
+%%FULL%%%%DATADIR%%/baseq2/pak1.pak
+%%FULL%%%%DATADIR%%/baseq2/pak2.pak
+%%DATADIR%%/baseq2/players/crakhor/a_grenades.md2
+%%DATADIR%%/baseq2/players/crakhor/w_bfg.md2
+%%DATADIR%%/baseq2/players/crakhor/w_blaster.md2
+%%DATADIR%%/baseq2/players/crakhor/w_chainfist.md2
+%%DATADIR%%/baseq2/players/crakhor/w_chaingun.md2
+%%DATADIR%%/baseq2/players/crakhor/w_disrupt.md2
+%%DATADIR%%/baseq2/players/crakhor/w_etfrifle.md2
+%%DATADIR%%/baseq2/players/crakhor/w_glauncher.md2
+%%DATADIR%%/baseq2/players/crakhor/w_grapple.md2
+%%DATADIR%%/baseq2/players/crakhor/w_hyperblaster.md2
+%%DATADIR%%/baseq2/players/crakhor/w_machinegun.md2
+%%DATADIR%%/baseq2/players/crakhor/w_phalanx.md2
+%%DATADIR%%/baseq2/players/crakhor/w_plasma.md2
+%%DATADIR%%/baseq2/players/crakhor/w_plauncher.md2
+%%DATADIR%%/baseq2/players/crakhor/w_railgun.md2
+%%DATADIR%%/baseq2/players/crakhor/w_ripper.md2
+%%DATADIR%%/baseq2/players/crakhor/w_rlauncher.md2
+%%DATADIR%%/baseq2/players/crakhor/w_shotgun.md2
+%%DATADIR%%/baseq2/players/crakhor/w_sshotgun.md2
+%%DATADIR%%/baseq2/players/cyborg/a_grenades.md2
+%%DATADIR%%/baseq2/players/cyborg/bump1.wav
+%%DATADIR%%/baseq2/players/cyborg/death1.wav
+%%DATADIR%%/baseq2/players/cyborg/death2.wav
+%%DATADIR%%/baseq2/players/cyborg/death3.wav
+%%DATADIR%%/baseq2/players/cyborg/death4.wav
+%%DATADIR%%/baseq2/players/cyborg/drown1.wav
+%%DATADIR%%/baseq2/players/cyborg/fall1.wav
+%%DATADIR%%/baseq2/players/cyborg/fall2.wav
+%%DATADIR%%/baseq2/players/cyborg/gurp1.wav
+%%DATADIR%%/baseq2/players/cyborg/gurp2.wav
+%%DATADIR%%/baseq2/players/cyborg/jump1.wav
+%%DATADIR%%/baseq2/players/cyborg/oni911.pcx
+%%DATADIR%%/baseq2/players/cyborg/oni911_i.pcx
+%%DATADIR%%/baseq2/players/cyborg/pain100_1.wav
+%%DATADIR%%/baseq2/players/cyborg/pain100_2.wav
+%%DATADIR%%/baseq2/players/cyborg/pain25_1.wav
+%%DATADIR%%/baseq2/players/cyborg/pain25_2.wav
+%%DATADIR%%/baseq2/players/cyborg/pain50_1.wav
+%%DATADIR%%/baseq2/players/cyborg/pain50_2.wav
+%%DATADIR%%/baseq2/players/cyborg/pain75_1.wav
+%%DATADIR%%/baseq2/players/cyborg/pain75_2.wav
+%%DATADIR%%/baseq2/players/cyborg/ps9000.pcx
+%%DATADIR%%/baseq2/players/cyborg/ps9000_i.pcx
+%%DATADIR%%/baseq2/players/cyborg/tris.md2
+%%DATADIR%%/baseq2/players/cyborg/tyr574.pcx
+%%DATADIR%%/baseq2/players/cyborg/tyr574_i.pcx
+%%DATADIR%%/baseq2/players/cyborg/w_bfg.md2
+%%DATADIR%%/baseq2/players/cyborg/w_blaster.md2
+%%DATADIR%%/baseq2/players/cyborg/w_chainfist.md2
+%%DATADIR%%/baseq2/players/cyborg/w_chaingun.md2
+%%DATADIR%%/baseq2/players/cyborg/w_disrupt.md2
+%%DATADIR%%/baseq2/players/cyborg/w_etfrifle.md2
+%%DATADIR%%/baseq2/players/cyborg/w_glauncher.md2
+%%DATADIR%%/baseq2/players/cyborg/w_grapple.md2
+%%DATADIR%%/baseq2/players/cyborg/w_hyperblaster.md2
+%%DATADIR%%/baseq2/players/cyborg/w_machinegun.md2
+%%DATADIR%%/baseq2/players/cyborg/w_phalanx.md2
+%%DATADIR%%/baseq2/players/cyborg/w_plasma.md2
+%%DATADIR%%/baseq2/players/cyborg/w_plauncher.md2
+%%DATADIR%%/baseq2/players/cyborg/w_railgun.md2
+%%DATADIR%%/baseq2/players/cyborg/w_ripper.md2
+%%DATADIR%%/baseq2/players/cyborg/w_rlauncher.md2
+%%DATADIR%%/baseq2/players/cyborg/w_shotgun.md2
+%%DATADIR%%/baseq2/players/cyborg/w_sshotgun.md2
+%%DATADIR%%/baseq2/players/cyborg/weapon.md2
+%%DATADIR%%/baseq2/players/cyborg/weapon.pcx
+%%DATADIR%%/baseq2/players/cyborg/weapon.pcx.pcx
+%%DATADIR%%/baseq2/players/female/a_grenades.md2
+%%DATADIR%%/baseq2/players/female/athena.pcx
+%%DATADIR%%/baseq2/players/female/athena_i.pcx
+%%DATADIR%%/baseq2/players/female/brianna.pcx
+%%DATADIR%%/baseq2/players/female/brianna_i.pcx
+%%DATADIR%%/baseq2/players/female/cobalt.pcx
+%%DATADIR%%/baseq2/players/female/cobalt_i.pcx
+%%DATADIR%%/baseq2/players/female/death1.wav
+%%DATADIR%%/baseq2/players/female/death2.wav
+%%DATADIR%%/baseq2/players/female/death3.wav
+%%DATADIR%%/baseq2/players/female/death4.wav
+%%DATADIR%%/baseq2/players/female/drown.wav
+%%DATADIR%%/baseq2/players/female/ensign.pcx
+%%DATADIR%%/baseq2/players/female/ensign_i.pcx
+%%DATADIR%%/baseq2/players/female/fall1.wav
+%%DATADIR%%/baseq2/players/female/fall2.wav
+%%DATADIR%%/baseq2/players/female/gurp1.wav
+%%DATADIR%%/baseq2/players/female/gurp2.wav
+%%DATADIR%%/baseq2/players/female/jezebel.pcx
+%%DATADIR%%/baseq2/players/female/jezebel_i.pcx
+%%DATADIR%%/baseq2/players/female/jump1.wav
+%%DATADIR%%/baseq2/players/female/jungle.pcx
+%%DATADIR%%/baseq2/players/female/jungle_i.pcx
+%%DATADIR%%/baseq2/players/female/lotus.pcx
+%%DATADIR%%/baseq2/players/female/lotus_i.pcx
+%%DATADIR%%/baseq2/players/female/pain100_1.wav
+%%DATADIR%%/baseq2/players/female/pain100_2.wav
+%%DATADIR%%/baseq2/players/female/pain25_1.wav
+%%DATADIR%%/baseq2/players/female/pain25_2.wav
+%%DATADIR%%/baseq2/players/female/pain50_1.wav
+%%DATADIR%%/baseq2/players/female/pain50_2.wav
+%%DATADIR%%/baseq2/players/female/pain75_1.wav
+%%DATADIR%%/baseq2/players/female/pain75_2.wav
+%%DATADIR%%/baseq2/players/female/stiletto.pcx
+%%DATADIR%%/baseq2/players/female/stiletto_i.pcx
+%%DATADIR%%/baseq2/players/female/tris.md2
+%%DATADIR%%/baseq2/players/female/venus.pcx
+%%DATADIR%%/baseq2/players/female/venus_i.pcx
+%%DATADIR%%/baseq2/players/female/voodoo.pcx
+%%DATADIR%%/baseq2/players/female/voodoo_i.pcx
+%%DATADIR%%/baseq2/players/female/w_bfg.md2
+%%DATADIR%%/baseq2/players/female/w_blaster.md2
+%%DATADIR%%/baseq2/players/female/w_chainfist.md2
+%%DATADIR%%/baseq2/players/female/w_chaingun.md2
+%%DATADIR%%/baseq2/players/female/w_disrupt.md2
+%%DATADIR%%/baseq2/players/female/w_etfrifle.md2
+%%DATADIR%%/baseq2/players/female/w_glauncher.md2
+%%DATADIR%%/baseq2/players/female/w_grapple.md2
+%%DATADIR%%/baseq2/players/female/w_hyperblaster.md2
+%%DATADIR%%/baseq2/players/female/w_machinegun.md2
+%%DATADIR%%/baseq2/players/female/w_phalanx.md2
+%%DATADIR%%/baseq2/players/female/w_plasma.md2
+%%DATADIR%%/baseq2/players/female/w_plauncher.md2
+%%DATADIR%%/baseq2/players/female/w_railgun.md2
+%%DATADIR%%/baseq2/players/female/w_ripper.md2
+%%DATADIR%%/baseq2/players/female/w_rlauncher.md2
+%%DATADIR%%/baseq2/players/female/w_shotgun.md2
+%%DATADIR%%/baseq2/players/female/w_sshotgun.md2
+%%DATADIR%%/baseq2/players/female/weapon.md2
+%%DATADIR%%/baseq2/players/female/weapon.pcx
+%%DATADIR%%/baseq2/players/male/a_grenades.md2
+%%DATADIR%%/baseq2/players/male/bump1.wav
+%%DATADIR%%/baseq2/players/male/cipher.pcx
+%%DATADIR%%/baseq2/players/male/cipher_i.pcx
+%%DATADIR%%/baseq2/players/male/claymore.pcx
+%%DATADIR%%/baseq2/players/male/claymore_i.pcx
+%%DATADIR%%/baseq2/players/male/death1.wav
+%%DATADIR%%/baseq2/players/male/death2.wav
+%%DATADIR%%/baseq2/players/male/death3.wav
+%%DATADIR%%/baseq2/players/male/death4.wav
+%%DATADIR%%/baseq2/players/male/drown1.wav
+%%DATADIR%%/baseq2/players/male/fall1.wav
+%%DATADIR%%/baseq2/players/male/fall2.wav
+%%DATADIR%%/baseq2/players/male/flak.pcx
+%%DATADIR%%/baseq2/players/male/flak_i.pcx
+%%DATADIR%%/baseq2/players/male/grunt.pcx
+%%DATADIR%%/baseq2/players/male/grunt_i.pcx
+%%DATADIR%%/baseq2/players/male/gurp1.wav
+%%DATADIR%%/baseq2/players/male/gurp2.wav
+%%DATADIR%%/baseq2/players/male/howitzer.pcx
+%%DATADIR%%/baseq2/players/male/howitzer_i.pcx
+%%DATADIR%%/baseq2/players/male/jump1.wav
+%%DATADIR%%/baseq2/players/male/major.pcx
+%%DATADIR%%/baseq2/players/male/major_i.pcx
+%%DATADIR%%/baseq2/players/male/nightops.pcx
+%%DATADIR%%/baseq2/players/male/nightops_i.pcx
+%%DATADIR%%/baseq2/players/male/pain100_1.wav
+%%DATADIR%%/baseq2/players/male/pain100_2.wav
+%%DATADIR%%/baseq2/players/male/pain25_1.wav
+%%DATADIR%%/baseq2/players/male/pain25_2.wav
+%%DATADIR%%/baseq2/players/male/pain50_1.wav
+%%DATADIR%%/baseq2/players/male/pain50_2.wav
+%%DATADIR%%/baseq2/players/male/pain75_1.wav
+%%DATADIR%%/baseq2/players/male/pain75_2.wav
+%%DATADIR%%/baseq2/players/male/pointman.pcx
+%%DATADIR%%/baseq2/players/male/pointman_i.pcx
+%%DATADIR%%/baseq2/players/male/psycho.pcx
+%%DATADIR%%/baseq2/players/male/psycho_i.pcx
+%%DATADIR%%/baseq2/players/male/rampage.pcx
+%%DATADIR%%/baseq2/players/male/rampage_i.pcx
+%%DATADIR%%/baseq2/players/male/razor.pcx
+%%DATADIR%%/baseq2/players/male/razor_i.pcx
+%%DATADIR%%/baseq2/players/male/recon.pcx
+%%DATADIR%%/baseq2/players/male/recon_i.pcx
+%%DATADIR%%/baseq2/players/male/scout.pcx
+%%DATADIR%%/baseq2/players/male/scout_i.pcx
+%%DATADIR%%/baseq2/players/male/sniper.pcx
+%%DATADIR%%/baseq2/players/male/sniper_i.pcx
+%%DATADIR%%/baseq2/players/male/tris.md2
+%%DATADIR%%/baseq2/players/male/viper.pcx
+%%DATADIR%%/baseq2/players/male/viper_i.pcx
+%%DATADIR%%/baseq2/players/male/w_bfg.md2
+%%DATADIR%%/baseq2/players/male/w_blaster.md2
+%%DATADIR%%/baseq2/players/male/w_chainfist.md2
+%%DATADIR%%/baseq2/players/male/w_chaingun.md2
+%%DATADIR%%/baseq2/players/male/w_disrupt.md2
+%%DATADIR%%/baseq2/players/male/w_etfrifle.md2
+%%DATADIR%%/baseq2/players/male/w_glauncher.md2
+%%DATADIR%%/baseq2/players/male/w_grapple.md2
+%%DATADIR%%/baseq2/players/male/w_hyperblaster.md2
+%%DATADIR%%/baseq2/players/male/w_machinegun.md2
+%%DATADIR%%/baseq2/players/male/w_phalanx.md2
+%%DATADIR%%/baseq2/players/male/w_plasma.md2
+%%DATADIR%%/baseq2/players/male/w_plauncher.md2
+%%DATADIR%%/baseq2/players/male/w_railgun.md2
+%%DATADIR%%/baseq2/players/male/w_ripper.md2
+%%DATADIR%%/baseq2/players/male/w_rlauncher.md2
+%%DATADIR%%/baseq2/players/male/w_shotgun.md2
+%%DATADIR%%/baseq2/players/male/w_sshotgun.md2
+%%DATADIR%%/baseq2/players/male/weapon.md2
+%%DATADIR%%/baseq2/players/male/weapon.pcx
+%%CTF%%%%DATADIR%%/ctf/pak0.pak
+%%CTF%%%%DATADIR%%/ctf/pak1.pak
+%%CTF%%%%DATADIR%%/ctf/server.cfg
+%%CTF%%%%PORTDOCS%%%%DOCSDIR%%/ctf/readme.txt
+%%PORTDOCS%%%%DOCSDIR%%/manual/Manual.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/adrenaline.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/amor_body.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/armor_combat.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/armor_jacket.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/armor_shard.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/bandoleer.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/barracuda_shark.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/berserker.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/bfg.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/blaster.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/bluekey.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/bottom.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/bottom_id_link_transparent.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/brains.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/breather.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/bullets.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/buttons.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual/cells.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/chaingun.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/commandant_james.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/credits.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/credits_main.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/customer_support.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/door.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual/elevator_base_exit_sign.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual/enemy_barracuda_shark.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/enemy_berserker.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/enemy_brains.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/enemy_enforcer.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/enemy_flyer.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/enemy_gladiator.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/enemy_groupshot.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/enemy_gunner.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/enemy_icarus.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/enemy_iron_maiden.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/enemy_light_guard.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/enemy_machinegun_guard.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/enemy_medic.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/enemy_mutant.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/enemy_parasite.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/enemy_shotgun_guard.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/enemy_tank.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/enemy_tank_commander.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/enemy_technician.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/energy_armour.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/enforcer.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/envirosuit.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/explosive_barrels.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual/first_aid.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/flyer.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/gladiator.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/grenade_launcher.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/grenades.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/gunner.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/hand_grenade.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/heavy_pack.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/hyper_blaster.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/icarus.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/intel_brief.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/intel_brief2.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/intel_brief3.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/intel_brief4.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/intel_brief5.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/intel_brief6.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/intel_brief7.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/intel_brief8.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/intel_brief_enemy.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/invulnerability.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/iron_maiden.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/lava.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual/lever.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual/license.txt
+%%PORTDOCS%%%%DOCSDIR%%/manual/light_guard.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/machinegun.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/machinegun_guard.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/main.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/main_cover_image.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/manual_back.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual/manual_bottom.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual/manual_cover_image.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual/manual_top.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual/medic.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/medkit.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/mega_health.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/menu.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/multiplayer.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/multiplayer_main.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual/multiplayer_menu1.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/multiplayer_screen1.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/mutant.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/no_data.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual/options_menu.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/page_index.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/parasite.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/player_properties_screen1.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/quad_damage.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/rail_gun.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/readme.txt
+%%PORTDOCS%%%%DOCSDIR%%/manual/release.txt
+%%PORTDOCS%%%%DOCSDIR%%/manual/rocket_launcher.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/rockets.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/secret_door.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual/setup_controls_screenmenus.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/shells.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/shotgun.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/shotgun_guard.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/silencer.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/slime.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual/start_network_server_screen1.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/stimpack.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/story.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/story_main.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual/strogg_environ_1.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual/strogg_environ_2.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual/strogg_environ_3.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual/supershotgun.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/tank.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/tank_commander.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/technical_information.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/technician.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/top_nav.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/top_nav_imagemap.gif
+%%PORTDOCS%%%%DOCSDIR%%/manual/unit_exit_door.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual/water.jpg
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/manual
+%%CTF%%%%PORTDOCS%%@dirrm %%DOCSDIR%%/ctf
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%CTF%%@dirrm %%DATADIR%%/ctf
+@dirrm %%DATADIR%%/baseq2/players/male
+@dirrm %%DATADIR%%/baseq2/players/female
+@dirrm %%DATADIR%%/baseq2/players/cyborg
+@dirrm %%DATADIR%%/baseq2/players/crakhor
+@dirrm %%DATADIR%%/baseq2/players
+@unexec rmdir %D/%%DATADIR%%/baseq2 2>/dev/null || true
+@unexec rmdir %D/%%DATADIR%%/rogue 2>/dev/null || true
+@unexec rmdir %D/%%DATADIR%%/xatrix 2>/dev/null || true
+@unexec rmdir %D/%%DATADIR%% 2>/dev/null || echo "If you are permanently removing this port, you should remove any configuration files, data files, and mods left in %D/%%DATADIR%%." | fmt