diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 06:59:03 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 06:59:03 +0000 |
commit | 0c6a3253fe7d652e4d744555cc7352fffd4d103a (patch) | |
tree | 85dcef76c01a75047f6f6e519e34539fa17ae348 /games/xtris | |
parent | 4e56d99acab2b215405ccc900e56d697c30ae727 (diff) | |
download | pkgsrc-0c6a3253fe7d652e4d744555cc7352fffd4d103a.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'games/xtris')
-rw-r--r-- | games/xtris/Makefile | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/games/xtris/Makefile b/games/xtris/Makefile index 02aa59eee0a..884c0d12998 100644 --- a/games/xtris/Makefile +++ b/games/xtris/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.17 2007/02/02 01:06:57 joerg Exp $ +# $NetBSD: Makefile,v 1.18 2008/03/04 06:59:06 jlam Exp $ # DISTNAME= xtris-1.15 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= games x11 MASTER_SITES= http://www.iagora.com/~espel/xtris/ @@ -10,6 +10,8 @@ MAINTAINER= opp@MuFFiN.Org HOMEPAGE= http://www.iagora.com/~espel/xtris/xtris.html COMMENT= Multi-player version of a popular game for the X Window system +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/xtris USE_X11BASE= yes LIBS.SunOS+= -lsocket -lnsl @@ -17,15 +19,20 @@ MAKE_ENV+= LIBS=${LIBS:Q} .include "options.mk" +SETGIDGAME= yes +SPECIAL_PERMS+= bin/xtris ${SETGID_GAMES_PERMS} +SPECIAL_PERMS+= bin/xtbot ${SETGID_GAMES_PERMS} +SPECIAL_PERMS+= bin/xtserv ${SETGID_GAMES_PERMS} + INSTALLATION_DIRS= bin ${PREFIX}/${PKGMANDIR}/man6 do-install: - ${INSTALL_GAME} ${WRKSRC}/xtris ${PREFIX}/bin/xtris - ${INSTALL_GAME} ${WRKSRC}/xtbot ${PREFIX}/bin/xtbot - ${INSTALL_GAME} ${WRKSRC}/xtserv ${PREFIX}/bin/xtserv - ${INSTALL_MAN} ${WRKSRC}/xtris.6 ${PREFIX}/${PKGMANDIR}/man6/xtris.6 - ${INSTALL_MAN} ${WRKSRC}/xtbot.6 ${PREFIX}/${PKGMANDIR}/man6/xtbot.6 - ${INSTALL_MAN} ${WRKSRC}/xtserv.6 ${PREFIX}/${PKGMANDIR}/man6/xtserv.6 + ${INSTALL_PROGRAM} ${WRKSRC}/xtris ${DESTDIR}${PREFIX}/bin/xtris + ${INSTALL_PROGRAM} ${WRKSRC}/xtbot ${DESTDIR}${PREFIX}/bin/xtbot + ${INSTALL_PROGRAM} ${WRKSRC}/xtserv ${DESTDIR}${PREFIX}/bin/xtserv + ${INSTALL_MAN} ${WRKSRC}/xtris.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/xtris.6 + ${INSTALL_MAN} ${WRKSRC}/xtbot.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/xtbot.6 + ${INSTALL_MAN} ${WRKSRC}/xtserv.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/xtserv.6 .include "../../x11/libX11/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |