summaryrefslogtreecommitdiff
path: root/games/hlserver-si/pkg-plist
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-05-08 20:26:59 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-05-08 20:26:59 +0000
commitd5363574404823e4a7124235b3d2594f9b7b7f6a (patch)
treeee45d7adc410a097fd0abf2be5fa97c9733c258c /games/hlserver-si/pkg-plist
parentMake the default indentation level to be 8 positions, in the spirit of (diff)
- 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-*)
Notes
Notes: svn path=/head/; revision=42429
Diffstat (limited to 'games/hlserver-si/pkg-plist')
-rw-r--r--games/hlserver-si/pkg-plist27
1 files changed, 12 insertions, 15 deletions
diff --git a/games/hlserver-si/pkg-plist b/games/hlserver-si/pkg-plist
index 7b549cfb4b08..b73cebaf8fff 100644
--- a/games/hlserver-si/pkg-plist
+++ b/games/hlserver-si/pkg-plist
@@ -1,12 +1,12 @@
-%%HLDSDIR%%si/1024_textscheme.txt
-%%HLDSDIR%%si/1152_textscheme.txt
-%%HLDSDIR%%si/1280_textscheme.txt
-%%HLDSDIR%%si/1600_textscheme.txt
-%%HLDSDIR%%si/320_textscheme.txt
-%%HLDSDIR%%si/400_textscheme.txt
-%%HLDSDIR%%si/512_textscheme.txt
-%%HLDSDIR%%si/640_textscheme.txt
-%%HLDSDIR%%si/800_textscheme.txt
+%%PORTDOCS%%%%HLDSDIR%%si/1024_textscheme.txt
+%%PORTDOCS%%%%HLDSDIR%%si/1152_textscheme.txt
+%%PORTDOCS%%%%HLDSDIR%%si/1280_textscheme.txt
+%%PORTDOCS%%%%HLDSDIR%%si/1600_textscheme.txt
+%%PORTDOCS%%%%HLDSDIR%%si/320_textscheme.txt
+%%PORTDOCS%%%%HLDSDIR%%si/400_textscheme.txt
+%%PORTDOCS%%%%HLDSDIR%%si/512_textscheme.txt
+%%PORTDOCS%%%%HLDSDIR%%si/640_textscheme.txt
+%%PORTDOCS%%%%HLDSDIR%%si/800_textscheme.txt
%%HLDSDIR%%si/cached.wad
%%HLDSDIR%%si/cl_dlls/client.dll
%%HLDSDIR%%si/config.cfg
@@ -157,9 +157,6 @@
@dirrm %%HLDSDIR%%si/events
@dirrm %%HLDSDIR%%si/dlls
@dirrm %%HLDSDIR%%si/cl_dlls
-@dirrm %%HLDSDIR%%si/SAVE
-@exec mkdir -p %D/%%HLDSDIR%%si/SAVE
-@exec mkdir -p %D/%%HLDSDIR%%si/events
-@exec mkdir -p %D/%%HLDSDIR%%si/models/player/afd
-@exec mkdir -p %D/%%HLDSDIR%%si/models/player/mcl
-@unexec rmdir %D/%%HLDSDIR%%si 2>/dev/null || echo "If you are permanently removing this port, you should also ``rm -Rf ${PKG_PREFIX}/%%HLDSDIR%%si'' removing any configuration files left." | fmt
+@unexec rmdir %D/%%HLDSDIR%%si/SAVE 2>/dev/null || true
+@unexec rmdir %D/%%HLDSDIR%%si/logs 2>/dev/null || true
+@unexec rmdir %D/%%HLDSDIR%%si 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf ${PKG_PREFIX}/%%HLDSDIR%%si`` to remove any configuration files and logs left." | fmt