pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/nethack-lib Add handling for the nethack directo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ec4a1ebebd97
branches: trunk
changeset: 462815:ec4a1ebebd97
user: pooka <pooka%pkgsrc.org@localhost>
date: Tue Oct 14 13:42:18 2003 +0000
description:
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:
games/nethack-lib/Makefile | 14 +++++++++++++-
games/nethack-lib/Makefile.common | 4 ++--
2 files changed, 15 insertions(+), 3 deletions(-)
diffs (40 lines):
diff -r 9ba59b502579 -r ec4a1ebebd97 games/nethack-lib/Makefile
--- a/games/nethack-lib/Makefile Tue Oct 14 12:33:07 2003 +0000
+++ b/games/nethack-lib/Makefile Tue Oct 14 13:42:18 2003 +0000
@@ -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 @@
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 -r 9ba59b502579 -r ec4a1ebebd97 games/nethack-lib/Makefile.common
--- a/games/nethack-lib/Makefile.common Tue Oct 14 12:33:07 2003 +0000
+++ b/games/nethack-lib/Makefile.common Tue Oct 14 13:42:18 2003 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index