summaryrefslogtreecommitdiffstats
path: root/games/hlserver-wasteland
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-05-10 02:00:46 +0000
committerlioux <lioux@FreeBSD.org>2001-05-10 02:00:46 +0000
commit29811ed41209a4b8900dd00e1ce6037715c7dede (patch)
tree533ea01f50f7ec5b21a70adbb97b04103442303a /games/hlserver-wasteland
parent970b8cc007e2994133b63c4a1b118f0fd49da2a7 (diff)
downloadFreeBSD-ports-29811ed41209a4b8900dd00e1ce6037715c7dede.zip
FreeBSD-ports-29811ed41209a4b8900dd00e1ce6037715c7dede.tar.gz
- Add NOPORTDOCS support
- Be more graceful when removing the master port installation directory (@dirrm) Submitted by: Patrick Li <pat@databits.net>
Diffstat (limited to 'games/hlserver-wasteland')
-rw-r--r--games/hlserver-wasteland/pkg-plist4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/hlserver-wasteland/pkg-plist b/games/hlserver-wasteland/pkg-plist
index 3c190c4..6494185 100644
--- a/games/hlserver-wasteland/pkg-plist
+++ b/games/hlserver-wasteland/pkg-plist
@@ -77,4 +77,6 @@
@dirrm %%HLDSDIR%%wasteland/events
@dirrm %%HLDSDIR%%wasteland/dlls
@dirrm %%HLDSDIR%%wasteland/cl_dlls
-@dirrm %%HLDSDIR%%wasteland
+@unexec rmdir %D/%%HLDSDIR%%wasteland/SAVE 2>/dev/null || true
+@unexec rmdir %D/%%HLDSDIR%%wasteland/logs 2>/dev/null || true
+@unexec rmdir %D/%%HLDSDIR%%wasteland 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf ${PKG_PREFIX}/%%HLDSDIR%%wasteland`` to remove any configuration files and logs left." | fmt
OpenPOWER on IntegriCloud