aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2016-01-27 18:08:08 +0000
committerPawel Pekala <pawel@FreeBSD.org>2016-01-27 18:08:08 +0000
commitcf044ccedfe9974631bdc95d01f8c81edb9c94f9 (patch)
tree0f3bb37d37ff9666963be185ee66bef42e70602d
parenteca669618b0ddeb9ad49323f2e064f7e11708c2c (diff)
Notes
-rw-r--r--games/unnethack/Makefile3
-rw-r--r--games/unnethack/pkg-plist11
2 files changed, 6 insertions, 8 deletions
diff --git a/games/unnethack/Makefile b/games/unnethack/Makefile
index 3d95f8d135fb..da0d13ce5049 100644
--- a/games/unnethack/Makefile
+++ b/games/unnethack/Makefile
@@ -39,7 +39,8 @@ post-install:
*) ${MV} $$fn unnethack_$$fn ;; \
esac; \
done
+
+post-install-DOCS-on:
${INSTALL_DATA} ${FILESDIR}/sample.unnethackrc ${STAGEDIR}${DOCSDIR}
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/games/unnethack/pkg-plist b/games/unnethack/pkg-plist
index 85c5fc8fb04d..ea8fe75bd0ae 100644
--- a/games/unnethack/pkg-plist
+++ b/games/unnethack/pkg-plist
@@ -6,17 +6,11 @@ bin/unnethack
%%DATADIR%%/nhdat
%%DATADIR%%/recover
%%DATADIR%%/unnethack
-@dirrm %%DATADIR%%
@mode 664
%%VARDIR%%/logfile
%%VARDIR%%/perm
%%VARDIR%%/record
%%VARDIR%%/xlogfile
-@mode 775
-@dirrmtry %%VARDIR%%/bones
-@dirrmtry %%VARDIR%%/level
-@dirrmtry %%VARDIR%%/saves
-@unexec rmdir -p %D/%%VARDIR%% 2>/dev/null || true
@owner
@group
@mode
@@ -28,4 +22,7 @@ man/man6/unnethack.6.gz
%%DOCSDIR%%/Guidebook.txt
%%DOCSDIR%%/license
%%PORTDOCS%%%%DOCSDIR%%/sample.unnethackrc
-@dirrm %%DOCSDIR%%
+@dir(games,games,) %%DATADIR%%
+@dir(games,games,775) %%VARDIR%%/bones
+@dir(games,games,775) %%VARDIR%%/level
+@dir(games,games,775) %%VARDIR%%/saves