diff options
author | pooka <pooka@pkgsrc.org> | 2003-10-14 13:42:18 +0000 |
---|---|---|
committer | pooka <pooka@pkgsrc.org> | 2003-10-14 13:42:18 +0000 |
commit | 5651a629725c4ef873af3ea4d9c167f1b7ddd34b (patch) | |
tree | 0501bab8df4c039677abe0170e978b45b37c55fa /games | |
parent | 6282c470de205a341c2d21a97f5ffeb05fde0b56 (diff) | |
download | pkgsrc-5651a629725c4ef873af3ea4d9c167f1b7ddd34b.tar.gz |
Add handling for the nethack directories plus record and logfile to make
them have the correct permission bits set when using binary packages.
Thanks go to Damian Sweeney for noticing the problem and at least
grant, salo and wiz for beating me with a cluestick so that I could
fix it.
manually bump version to 3.4.2nb1
Diffstat (limited to 'games')
-rw-r--r-- | games/nethack-lib/Makefile | 14 | ||||
-rw-r--r-- | games/nethack-lib/Makefile.common | 4 |
2 files changed, 15 insertions, 3 deletions
diff --git a/games/nethack-lib/Makefile b/games/nethack-lib/Makefile index c73b4b89147..4de8466b406 100644 --- a/games/nethack-lib/Makefile +++ b/games/nethack-lib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2003/07/21 16:49:57 martti Exp $ +# $NetBSD: Makefile,v 1.15 2003/10/14 13:42:18 pooka Exp $ # .include "../nethack-lib/Makefile.common" @@ -13,4 +13,16 @@ CONFIGURE_SCRIPT= ./sys/unix/setup.sh ALL_TARGET= datastuff INSTALL_TARGET= manpages install-dat +USE_PKGINSTALL= yes + +SUPPORT_FILES_PERMS+= /dev/null ${PREFIX}/share/${NETHACK_DIR}/record \ + ${ROOT_USER} games 664 +SUPPORT_FILES_PERMS+= /dev/null ${PREFIX}/share/${NETHACK_DIR}/logfile \ + ${ROOT_USER} games 664 + +MAKE_DIRS_PERMS+= ${PREFIX}/share/${NETHACK_DIR} \ + ${ROOT_USER} games 775 +MAKE_DIRS_PERMS+= ${PREFIX}/share/${NETHACK_DIR}/save \ + ${ROOT_USER} games 770 + .include "../../mk/bsd.pkg.mk" diff --git a/games/nethack-lib/Makefile.common b/games/nethack-lib/Makefile.common index 9b0ca7db8cf..ce94aea6634 100644 --- a/games/nethack-lib/Makefile.common +++ b/games/nethack-lib/Makefile.common @@ -1,8 +1,8 @@ -# $NetBSD: Makefile.common,v 1.13 2003/09/02 00:30:54 pooka Exp $ +# $NetBSD: Makefile.common,v 1.14 2003/10/14 13:42:18 pooka Exp $ # NETHACK_BASEVER= 3.4.2 -NETHACK_VERSION= ${NETHACK_BASEVER} +NETHACK_VERSION= ${NETHACK_BASEVER}nb1 NETHACK_DISTVER= 342 NETHACK_DIR= nethackdir340 |