summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjschauma <jschauma>2004-08-01 17:55:05 +0000
committerjschauma <jschauma>2004-08-01 17:55:05 +0000
commit615db1bf82f6dbfeda1a2eb5007f598ae3a5d567 (patch)
treec17a5769bedf175c5ab379cea7271e0664dc1541 /games
parentf47ed6960809f68d85b67b478e2f259cf8f9eb8b (diff)
downloadpkgsrc-615db1bf82f6dbfeda1a2eb5007f598ae3a5d567.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')
-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"