summaryrefslogtreecommitdiff
path: root/editors/emacs22
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-19 19:46:45 +0000
committerjoerg <joerg>2010-02-19 19:46:45 +0000
commit97bf4bf2401b64449c1734e23092a0c639bde6e4 (patch)
treea3c609cd22f1b3d3802f679b1f529410a31300e0 /editors/emacs22
parent590936029212085a10d9ee1648da801362b989bb (diff)
downloadpkgsrc-97bf4bf2401b64449c1734e23092a0c639bde6e4.tar.gz
Use SETGIDGAME. Bump revision.
Diffstat (limited to 'editors/emacs22')
-rw-r--r--editors/emacs22/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/editors/emacs22/Makefile b/editors/emacs22/Makefile
index 5664b259aed..af6a3bbc443 100644
--- a/editors/emacs22/Makefile
+++ b/editors/emacs22/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.6 2010/01/24 13:26:10 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2010/02/19 19:46:45 joerg Exp $
PKGNAME?= ${DISTNAME}
COMMENT?= GNU editing macros (editor)
DISTNAME= emacs-22.3
-PKGREVISION= 7
+PKGREVISION= 8
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GNU:=emacs/}
@@ -23,6 +23,8 @@ USE_TOOLS+= gmake gzip mktemp:run perl:run pkg-config
GNU_CONFIGURE= yes
INFO_FILES= # PLIST
+SETGIDGAME= yes
+
.include "options.mk"
MAKEFLAGS+= EMACSLOADPATH=${WRKSRC}/lisp
@@ -46,12 +48,12 @@ SUBST_FILES.test_equal= mac/make-package
SUBST_SED.test_equal= -e 's/ == / = /g'
MAKE_DIRS_PERMS+= ${VARBASE}/games/emacs \
- ${GAMEOWN:Q} ${GAMEGRP} ${GAMEDIRMODE:Q}
+ ${GAMES_USER} ${GAMES_GROUP} ${GAMEDIRMODE:Q}
CONF_FILES_PERMS+= /dev/null ${VARBASE}/games/emacs/snake-scores \
- ${GAMEOWN:Q} ${GAMEGRP:Q} ${GAMEDATAMODE:Q}
+ ${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE:Q}
CONF_FILES_PERMS+= /dev/null ${VARBASE}/games/emacs/tetris-scores \
- ${GAMEOWN:Q} ${GAMEGRP:Q} ${GAMEDATAMODE:Q}
-SPECIAL_PERMS+= libexec/emacs/${PKGVERSION_NOREV}/${MACHINE_GNU_PLATFORM}/update-game-score ${GAMEOWN:Q} ${GAMEGRP:Q} ${GAMEMODE:Q}
+ ${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE:Q}
+SPECIAL_PERMS+= libexec/emacs/${PKGVERSION_NOREV}/${MACHINE_GNU_PLATFORM}/update-game-score ${SETGID_GAMES_PERMS}
.if (${OPSYS} == "DragonFly") && exists(/usr/lib/crtn.o)
CPPFLAGS+= -DDFLY_CRT_USRLIB