summaryrefslogtreecommitdiff
path: root/games/svb
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2004-08-04 03:06:55 +0000
committerjschauma <jschauma@pkgsrc.org>2004-08-04 03:06:55 +0000
commit4d11093c8c960e60de6f9b4f1446bfe4e1836d0f (patch)
tree1807dc7a6e27fdda0dead808809715fb340226be /games/svb
parent4f6c915de993ac59c11513182937a0faadc1cbbd (diff)
downloadpkgsrc-4d11093c8c960e60de6f9b4f1446bfe4e1836d0f.tar.gz
Use INSTALL_GAME_DATA as well as GAMEOWN, GAMEGRP and GAMEMODE instead
of hardcoding the values. Partially addresses PR pkg/26236.
Diffstat (limited to 'games/svb')
-rw-r--r--games/svb/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/svb/Makefile b/games/svb/Makefile
index 45acf29139d..a96d978b42a 100644
--- a/games/svb/Makefile
+++ b/games/svb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2004/01/20 12:15:41 agc Exp $
+# $NetBSD: Makefile,v 1.9 2004/08/04 03:08:01 jschauma Exp $
DISTNAME= svb
PKGNAME= svb-1.0
@@ -14,11 +14,9 @@ USE_IMAKE= yes
NO_INSTALL_MANPAGES= yes
post-install:
- ${TOUCH} /var/games/svb.scorefile
- ${CHOWN} games:games /var/games/svb.scorefile
- ${CHMOD} 664 /var/games/svb.scorefile
- ${CHOWN} bin:games ${PREFIX}/bin/svb
- ${CHMOD} 2755 ${PREFIX}/bin/svb
+ ${INSTALL_GAME_DATA} /dev/null /var/games/svb.scorefile
+ ${CHOWN} ${GAMEOWN}:${GAMEGRP} ${PREFIX}/bin/svb
+ ${CHMOD} ${GAMEMODE} ${PREFIX}/bin/svb
${INSTALL_MAN} ${WRKSRC}/svb.man ${PREFIX}/man/man6/svb.6
.include "../../mk/bsd.pkg.mk"