summaryrefslogtreecommitdiff
path: root/games/xpat2
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2004-08-01 17:55:05 +0000
committerjschauma <jschauma@pkgsrc.org>2004-08-01 17:55:05 +0000
commit5690deefddb25dcb6502a4041f18af7ab353ee13 (patch)
treec17a5769bedf175c5ab379cea7271e0664dc1541 /games/xpat2
parent6589732dbf2eba0eb03fd01031fd73d4ebaf8fc5 (diff)
downloadpkgsrc-5690deefddb25dcb6502a4041f18af7ab353ee13.tar.gz
Use GAMEOWN, GAMEGRP and GAMEMODE instead of hard coding these values.
First commit to start address PR pkg/26236.
Diffstat (limited to 'games/xpat2')
-rw-r--r--games/xpat2/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/xpat2/Makefile b/games/xpat2/Makefile
index ba666ff0c60..6eda7448873 100644
--- a/games/xpat2/Makefile
+++ b/games/xpat2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/03/08 01:24:49 snj Exp $
+# $NetBSD: Makefile,v 1.11 2004/08/01 17:55:05 jschauma Exp $
# FreeBSD: ports/games/xpat2/Makefile,v 1.11 2000/04/14 12:27:59 asami Exp
DISTNAME= xpat2-1.06
@@ -19,12 +19,12 @@ USE_X11BASE= YES
MAKE_ENV+= XPMDIR="${BUILDLINK_PREFIX.xpm}" XMKMF="${XMKMF}"
-SUPPORT_FILES_PERMS= /dev/null /var/games/xpat.log games games 0644
+SUPPORT_FILES_PERMS= /dev/null /var/games/xpat.log ${GAMEOWN} ${GAMEGRP} ${GAMEMODE}
MAKE_DIRS= /var/games
post-install:
- ${CHOWN} root.games ${PREFIX}/bin/xpat2
- ${CHMOD} 2555 ${PREFIX}/bin/xpat2
+ ${CHOWN} ${GAMEOWN}.${GAMEGRP} ${PREFIX}/bin/xpat2
+ ${CHMOD} ${GAMEMODE} ${PREFIX}/bin/xpat2
.include "../../graphics/xpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"