aboutsummaryrefslogtreecommitdiff
path: root/games/unnethack/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'games/unnethack/pkg-plist')
-rw-r--r--games/unnethack/pkg-plist6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/unnethack/pkg-plist b/games/unnethack/pkg-plist
index 85cce509eaee..b56bcee341af 100644
--- a/games/unnethack/pkg-plist
+++ b/games/unnethack/pkg-plist
@@ -1,6 +1,5 @@
bin/unnethack
-%%PORTDOCS%%%%DOCSDIR%%/Guidebook.txt
-%%PORTDOCS%%%%DOCSDIR%%/sample.unnethackrc
+%%DATADIR%%/Guidebook.txt
%%DATADIR%%/license
%%DATADIR%%/logfile
%%DATADIR%%/nhdat
@@ -8,10 +7,13 @@ bin/unnethack
%%DATADIR%%/record
%%DATADIR%%/recover
%%DATADIR%%/unnethack
+%%DATADIR%%/xlogfile
@exec mkdir %D/%%DATADIR%%/save
@exec chmod -R 775 %D/%%DATADIR%%
@exec chmod 2755 %D/%%DATADIR%%/save
@exec chown games:games %D/%%DATADIR%%/save
@dirrmtry %%DATADIR%%/save
@dirrmtry %%DATADIR%%
+%%PORTDOCS%%%%DOCSDIR%%/Guidebook.txt
+%%PORTDOCS%%%%DOCSDIR%%/sample.unnethackrc
%%PORTDOCS%%@dirrm %%DOCSDIR%%