summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-19 20:37:08 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-19 20:37:08 +0000
commit20bc5d02b22f480d48cd9460ceb98ebb10686ff7 (patch)
treeed3011b09b77d7ec785f6ce7ac305b5fcfa69c92 /editors
parenta89a63929d8d3e0997599cfc815fdbb23ebae372 (diff)
downloadpkgsrc-20bc5d02b22f480d48cd9460ceb98ebb10686ff7.tar.gz
SETGIDGAME. Bump revision.
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs-snapshot/Makefile3
-rw-r--r--editors/emacs-snapshot/Makefile.common10
2 files changed, 8 insertions, 5 deletions
diff --git a/editors/emacs-snapshot/Makefile b/editors/emacs-snapshot/Makefile
index d0f231e8b52..cda48fff7cb 100644
--- a/editors/emacs-snapshot/Makefile
+++ b/editors/emacs-snapshot/Makefile
@@ -1,5 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2010/02/19 19:04:11 minskim Exp $
+# $NetBSD: Makefile,v 1.11 2010/02/19 20:37:08 joerg Exp $
+PKGREVISION= 4
CONFLICTS+= emacs-nox11-[0-9]*
.include "../../editors/emacs-snapshot/Makefile.common"
diff --git a/editors/emacs-snapshot/Makefile.common b/editors/emacs-snapshot/Makefile.common
index 705b402bdb1..1657340a432 100644
--- a/editors/emacs-snapshot/Makefile.common
+++ b/editors/emacs-snapshot/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2010/02/19 19:04:11 minskim Exp $
+# $NetBSD: Makefile.common,v 1.3 2010/02/19 20:37:08 joerg Exp $
DISTNAME= emacs-snapshot_20100217.orig
PKGNAME= ${DISTNAME:S/snapshot_/${EMACS_VERSION}./:S/.orig//}
@@ -11,6 +11,7 @@ COMMENT= GNU editing macros (development version)
LICENSE= gnu-gpl-v3
PKG_DESTDIR_SUPPORT= user-destdir
+SETGIDGAME= yes
CONFLICTS+= emacs-nox11-[0-9]*
@@ -36,11 +37,12 @@ PLIST_SUBST+= EMACS_VERSION=${EMACS_VERSION}
REPLACE_PERL= lib-src/grep-changelog
CHECK_INTERPRETER_SKIP= bin/grep-changelog
-MAKE_DIRS_PERMS+= ${VARBASE}/games/emacs ${GAMEOWN} ${GAMEGRP} ${GAMEDIRMODE}
+MAKE_DIRS_PERMS+= ${VARBASE}/games/emacs ${GAMES_USER} ${GAMES_GROUP} ${GAMEDIRMODE}
CONF_FILES_PERMS+= /dev/null ${VARBASE}/games/emacs/snake-scores \
- ${GAMEOWN} ${GAMEGRP} ${GAMEDATAMODE}
+ ${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}
CONF_FILES_PERMS+= /dev/null ${VARBASE}/games/emacs/tetris-scores \
- ${GAMEOWN} ${GAMEGRP} ${GAMEDATAMODE}
+ ${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}
+SPECIAL_PERMS+= libexec/emacs/${EMACS_VERSION}/${MACHINE_GNU_PLATFORM}/update-game-score ${SETGID_GAMES_PERMS}
# build PATH in the dumped emacs is not a problem
CHECK_WRKREF_SKIP+= bin/emacs