summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-06-08 15:50:14 +0000
committerjoerg <joerg@pkgsrc.org>2006-06-08 15:50:14 +0000
commit4613bc005a7addb42967a7571a27b2371ffdf42c (patch)
tree47368ba1158b7a85323ea5e59acf2e15916f82ef /games
parent4934d361479c741a2478c24eb7dc51c9c35ad121 (diff)
downloadpkgsrc-4613bc005a7addb42967a7571a27b2371ffdf42c.tar.gz
Use INSTALLATION_DIRS and config file framework. Bump revision.
Diffstat (limited to 'games')
-rw-r--r--games/xbomb/Makefile20
-rw-r--r--games/xbomb/PLIST7
2 files changed, 8 insertions, 19 deletions
diff --git a/games/xbomb/Makefile b/games/xbomb/Makefile
index 4e79b20bba8..9e7518a5dff 100644
--- a/games/xbomb/Makefile
+++ b/games/xbomb/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2006/02/05 23:09:24 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2006/06/08 15:50:14 joerg Exp $
DISTNAME= xbomb-2.1a
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= games x11
MASTER_SITES= http://www.gedanken.demon.co.uk/download-xbomb/ \
ftp://ftp.demon.co.uk/pub/unix/xwindows/games/ \
@@ -22,17 +22,11 @@ SCORE_GROUP= games
PKG_USERS= ${SCORE_USER}:${SCORE_GROUP}
PKG_GROUPS= ${SCORE_GROUP}
-PLIST_SUBST+= SCORE_PATH=${SCORE_PATH:Q}
-PLIST_SUBST+= GAME_DIR="${INSTALL} -d -o ${SCORE_USER} -g ${SCORE_GROUP} -m 775"
+INSTALLATION_DIRS= bin man/man6 lib/X11/app-defaults
+CONF_FILES_PERMS+= /dev/null ${SCORE_PATH}/xbomb3.hi ${GAMEOWN} ${GAMEGRP} ${GAMEDATAMODE}
+CONF_FILES_PERMS+= /dev/null ${SCORE_PATH}/xbomb4.hi ${GAMEOWN} ${GAMEGRP} ${GAMEDATAMODE}
+CONF_FILES_PERMS+= /dev/null ${SCORE_PATH}/xbomb6.hi ${GAMEOWN} ${GAMEGRP} ${GAMEDATAMODE}
-.include "../../mk/x11.buildlink3.mk"
-
-post-install:
- ${INSTALL_DATA_DIR} ${SCORE_PATH}
-.for score in . xbomb3.hi xbomb4.hi xbomb6.hi
- ${TOUCH} ${SCORE_PATH}/${score}
-.endfor
- ${CHMOD} -R 775 ${SCORE_PATH}
- ${CHOWN} -R ${SCORE_USER}:${SCORE_GROUP} ${SCORE_PATH}
+.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/xbomb/PLIST b/games/xbomb/PLIST
index c202adb45eb..3266f84a471 100644
--- a/games/xbomb/PLIST
+++ b/games/xbomb/PLIST
@@ -1,9 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/14 12:28:02 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/06/08 15:50:14 joerg Exp $
bin/xbomb
man/man6/xbomb.6
lib/X11/app-defaults/XBomb
-@exec ${GAME_DIR} ${SCORE_PATH}
-@exec ${GAME_DIR} ${SCORE_PATH}/xbomb3.hi
-@exec ${GAME_DIR} ${SCORE_PATH}/xbomb4.hi
-@exec ${GAME_DIR} ${SCORE_PATH}/xbomb6.hi
-@unexec echo Delete ${SCORE_PATH}/ if you do not need your hiscores anymore.