pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/xemeraldia Use config file framework for score f...
details: https://anonhg.NetBSD.org/pkgsrc/rev/37973facd8b4
branches: trunk
changeset: 512555:37973facd8b4
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu May 11 14:04:16 2006 +0000
description:
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:
games/xemeraldia/Makefile | 10 ++++------
games/xemeraldia/PLIST | 6 +-----
2 files changed, 5 insertions(+), 11 deletions(-)
diffs (39 lines):
diff -r e51ea902ddd7 -r 37973facd8b4 games/xemeraldia/Makefile
--- a/games/xemeraldia/Makefile Thu May 11 13:55:38 2006 +0000
+++ b/games/xemeraldia/Makefile Thu May 11 14:04:16 2006 +0000
@@ -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 @@
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 -r e51ea902ddd7 -r 37973facd8b4 games/xemeraldia/PLIST
--- a/games/xemeraldia/PLIST Thu May 11 13:55:38 2006 +0000
+++ b/games/xemeraldia/PLIST Thu May 11 14:04:16 2006 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index