summaryrefslogtreecommitdiffstats
path: root/games/hlserver-heroes
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-05-08 20:26:59 +0000
committerlioux <lioux@FreeBSD.org>2001-05-08 20:26:59 +0000
commit40e61fb5ec235bf98b7542764f5aeaf2c6481343 (patch)
tree2284964c00132168cd696a92675003e8ca1c1ec4 /games/hlserver-heroes
parentae652d5ca863755a469291b3b4cabb073b1ea537 (diff)
downloadFreeBSD-ports-40e61fb5ec235bf98b7542764f5aeaf2c6481343.zip
FreeBSD-ports-40e61fb5ec235bf98b7542764f5aeaf2c6481343.tar.gz
- Add NOPORTDOCS support
- Clean up a bit - Be more graceful when removing (extra @unexec rmdir) Submitted by: Patrick Li <pat@databits.net> (maintainer of some hlserver-*)
Diffstat (limited to 'games/hlserver-heroes')
-rw-r--r--games/hlserver-heroes/Makefile2
-rw-r--r--games/hlserver-heroes/pkg-plist72
2 files changed, 38 insertions, 36 deletions
diff --git a/games/hlserver-heroes/Makefile b/games/hlserver-heroes/Makefile
index b084420..f8d4d59 100644
--- a/games/hlserver-heroes/Makefile
+++ b/games/hlserver-heroes/Makefile
@@ -14,7 +14,7 @@ DISTFILES= hero10.zip HLH101.zip
MAINTAINER= lioux@FreeBSD.org
USE_ZIP= yes
-EXTRACT_BEFORE_ARGS= -o
+EXTRACT_BEFORE_ARGS= -o -qq
WRKSRC= ${WRKDIR}/Heroes
diff --git a/games/hlserver-heroes/pkg-plist b/games/hlserver-heroes/pkg-plist
index f2734cd..8c30c75 100644
--- a/games/hlserver-heroes/pkg-plist
+++ b/games/hlserver-heroes/pkg-plist
@@ -19,39 +19,39 @@
%%HLDSDIR%%Heroes/Sprites/sabre.spr
%%HLDSDIR%%Heroes/Sprites/smokebomb.spr
%%HLDSDIR%%Heroes/Sprites/vgrenade.spr
-%%HLDSDIR%%Heroes/Sprites/weapon_357.txt
-%%HLDSDIR%%Heroes/Sprites/weapon_barehand.txt
-%%HLDSDIR%%Heroes/Sprites/weapon_bolter.txt
-%%HLDSDIR%%Heroes/Sprites/weapon_crowbar.txt
-%%HLDSDIR%%Heroes/Sprites/weapon_flamer.txt
-%%HLDSDIR%%Heroes/Sprites/weapon_mortar.txt
-%%HLDSDIR%%Heroes/Sprites/weapon_smokebomb.txt
-%%HLDSDIR%%Heroes/Sprites/weapon_turret.txt
-%%HLDSDIR%%Heroes/Sprites/weapon_variousg.txt
-%%HLDSDIR%%Heroes/Titles.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/Sprites/weapon_357.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/Sprites/weapon_barehand.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/Sprites/weapon_bolter.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/Sprites/weapon_crowbar.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/Sprites/weapon_flamer.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/Sprites/weapon_mortar.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/Sprites/weapon_smokebomb.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/Sprites/weapon_turret.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/Sprites/weapon_variousg.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/Titles.txt
%%HLDSDIR%%Heroes/cl_dlls/client.dll
-%%HLDSDIR%%Heroes/classes/short_hunter.txt
-%%HLDSDIR%%Heroes/classes/short_jet_man.txt
-%%HLDSDIR%%Heroes/classes/short_magician.txt
-%%HLDSDIR%%Heroes/classes/short_metamorph.txt
-%%HLDSDIR%%Heroes/classes/short_pyros.txt
-%%HLDSDIR%%Heroes/classes/short_shadow.txt
-%%HLDSDIR%%Heroes/classes/short_spider.txt
-%%HLDSDIR%%Heroes/classes/short_storm.txt
-%%HLDSDIR%%Heroes/classes/short_the_shadow.txt
-%%HLDSDIR%%Heroes/classes/short_the_spider.txt
-%%HLDSDIR%%Heroes/classes/short_weaponeer.txt
-%%HLDSDIR%%Heroes/classes_en_francais/short_hunter.txt
-%%HLDSDIR%%Heroes/classes_en_francais/short_jet_man.txt
-%%HLDSDIR%%Heroes/classes_en_francais/short_magician.txt
-%%HLDSDIR%%Heroes/classes_en_francais/short_metamorph.txt
-%%HLDSDIR%%Heroes/classes_en_francais/short_pyros.txt
-%%HLDSDIR%%Heroes/classes_en_francais/short_shadow.txt
-%%HLDSDIR%%Heroes/classes_en_francais/short_spider.txt
-%%HLDSDIR%%Heroes/classes_en_francais/short_storm.txt
-%%HLDSDIR%%Heroes/classes_en_francais/short_the_shadow.txt
-%%HLDSDIR%%Heroes/classes_en_francais/short_weaponeer.txt
-%%HLDSDIR%%Heroes/commandmenu.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes/short_hunter.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes/short_jet_man.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes/short_magician.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes/short_metamorph.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes/short_pyros.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes/short_shadow.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes/short_spider.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes/short_storm.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes/short_the_shadow.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes/short_the_spider.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes/short_weaponeer.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes_en_francais/short_hunter.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes_en_francais/short_jet_man.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes_en_francais/short_magician.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes_en_francais/short_metamorph.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes_en_francais/short_pyros.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes_en_francais/short_shadow.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes_en_francais/short_spider.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes_en_francais/short_storm.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes_en_francais/short_the_shadow.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/classes_en_francais/short_weaponeer.txt
+%%PORTDOCS%%%%HLDSDIR%%Heroes/commandmenu.txt
%%HLDSDIR%%Heroes/config.cfg
%%HLDSDIR%%Heroes/custom.hpk
%%HLDSDIR%%Heroes/dlls/mp.dll
@@ -232,10 +232,12 @@
@dirrm %%HLDSDIR%%Heroes/gfx/Shell
@dirrm %%HLDSDIR%%Heroes/gfx
@dirrm %%HLDSDIR%%Heroes/dlls
-@dirrm %%HLDSDIR%%Heroes/classes_en_francais
-@dirrm %%HLDSDIR%%Heroes/classes
+%%PORTDOCS%%@dirrm %%HLDSDIR%%Heroes/classes_en_francais
+%%PORTDOCS%%@dirrm %%HLDSDIR%%Heroes/classes
@dirrm %%HLDSDIR%%Heroes/cl_dlls
@dirrm %%HLDSDIR%%Heroes/Sprites
@exec mkdir -p %D/%%HLDSDIR%%Heroes/maps
@unexec rmdir %D/%%HLDSDIR%%Heroes/maps 2>/dev/null || true
-@unexec rmdir %D/%%HLDSDIR%%Heroes 2>/dev/null || echo "If you are permanently removing this port, you should also ``rm -Rf ${PKG_PREFIX}/%%HLDSDIR%%Heroes'' removing any configuration files left." | fmt
+@unexec rmdir %D/%%HLDSDIR%%Heroes/SAVE 2>/dev/null || true
+@unexec rmdir %D/%%HLDSDIR%%Heroes/logs 2>/dev/null || true
+@unexec rmdir %D/%%HLDSDIR%%Heroes 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf ${PKG_PREFIX}/%%HLDSDIR%%Heroes`` to remove any configuration files and logs left." | fmt
OpenPOWER on IntegriCloud