summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-19 20:37:08 +0000
committerjoerg <joerg>2010-02-19 20:37:08 +0000
commit78fab11af0ddb2874d5627e708c79dcb0153e0ed (patch)
treeed3011b09b77d7ec785f6ce7ac305b5fcfa69c92
parent1ad842a3a4173946636697b23d762c2bdfc3ed0e (diff)
downloadpkgsrc-78fab11af0ddb2874d5627e708c79dcb0153e0ed.tar.gz
SETGIDGAME. Bump revision.
-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