diff options
author | joerg <joerg@pkgsrc.org> | 2006-05-11 14:04:16 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-05-11 14:04:16 +0000 |
commit | 6238363b7f4dfad4c08d9d16ab433a2894b837e8 (patch) | |
tree | 8e2aa27b1ce5c91e0b6b09d77b2cc96f16e7fd0a /games/xemeraldia | |
parent | 7ec90d3d0753b2b286c9ecce197e3fd7356c95e0 (diff) | |
download | pkgsrc-6238363b7f4dfad4c08d9d16ab433a2894b837e8.tar.gz |
Use config file framework for score file, install it with 664.
I haven't changed the package to use setgid game and removed the
other-writeable, since such files should not be created under
${LOCALBASE}. Bump revision.
Diffstat (limited to 'games/xemeraldia')
-rw-r--r-- | games/xemeraldia/Makefile | 10 | ||||
-rw-r--r-- | games/xemeraldia/PLIST | 6 |
2 files changed, 5 insertions, 11 deletions
diff --git a/games/xemeraldia/Makefile b/games/xemeraldia/Makefile index f10446b0cac..bd45d4a34e0 100644 --- a/games/xemeraldia/Makefile +++ b/games/xemeraldia/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.9 2006/02/05 23:09:24 joerg Exp $ +# $NetBSD: Makefile,v 1.10 2006/05/11 14:04:16 joerg Exp $ DISTNAME= xemeraldia-0.3 PKGNAME= xemeraldia-0.31 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= games MASTER_SITES= ftp://ftp.lab.kdd.co.jp/Usenet/fj.sources/1995/mar/ @@ -20,9 +20,7 @@ GAMES_DIR= share/games MAKE_ENV+= GAMES_DIR=${GAMES_DIR:Q} PLIST_SUBST= GAMES_DIR=${GAMES_DIR:Q} -post-install: - @${INSTALL_DATA_DIR} ${PREFIX}/${GAMES_DIR}/xemeraldia - @${TOUCH} ${PREFIX}/${GAMES_DIR}/xemeraldia/xemeraldia.scores - @${CHMOD} 666 ${PREFIX}/${GAMES_DIR}/xemeraldia/xemeraldia.scores +CONF_FILES_PERMS+= /dev/null ${PREFIX}/${GAMES_DIR}/xemeraldia/xemeraldia.scores \ + ${ROOT_USER} games 664 .include "../../mk/bsd.pkg.mk" diff --git a/games/xemeraldia/PLIST b/games/xemeraldia/PLIST index 572a7c3368a..82d13ec46ad 100644 --- a/games/xemeraldia/PLIST +++ b/games/xemeraldia/PLIST @@ -1,8 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2005/12/05 20:50:18 rillig Exp $ +@comment $NetBSD: PLIST,v 1.6 2006/05/11 14:04:16 joerg Exp $ bin/xemeraldia lib/X11/app-defaults/XEmeraldia -@exec ${MKDIR} %D/${GAMES_DIR}/xemeraldia -@exec touch -f %D/${GAMES_DIR}/xemeraldia/xemeraldia.scores -@exec ${CHMOD} 666 %D/${GAMES_DIR}/xemeraldia/xemeraldia.scores -@unexec ${RM} -f %D/${GAMES_DIR}/xemeraldia/xemeraldia.scores @dirrm ${GAMES_DIR}/xemeraldia |