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
commita21d375bde80f4e8c45283f25667b1002f0aa3e1 (patch)
treec17a5769bedf175c5ab379cea7271e0664dc1541 /games/xpat2
parent4f2a01f4b7baa1fb3642a1e246c5a9e351da9863 (diff)
downloadpkgsrc-a21d375bde80f4e8c45283f25667b1002f0aa3e1.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"