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/xtux | |
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/xtux')
-rw-r--r-- | games/xtux/Makefile | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/games/xtux/Makefile b/games/xtux/Makefile index 65843dce15f..663eaee193c 100644 --- a/games/xtux/Makefile +++ b/games/xtux/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2007/12/02 00:03:37 wiz Exp $ +# $NetBSD: Makefile,v 1.22 2008/03/04 06:59:06 jlam Exp $ DISTNAME= xtux-arena-src-nov-15 PKGNAME= xtux-0.2000.11.15 @@ -10,21 +10,23 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://xtux.sourceforge.net/ COMMENT= 2D multi-player shootout using images from the Open Software scene +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/xtux INSTALLATION_DIRS= bin do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/xtux - cd ${WRKSRC} && ${PAX} -rw data ${PREFIX}/share/xtux - cd ${WRKSRC} && ${PAX} -rw doc ${PREFIX}/share/xtux - ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${PREFIX}/share/xtux - ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${PREFIX}/share/xtux - ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/xtux - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/xtux - ${INSTALL_DATA} ${WRKSRC}/example-config ${PREFIX}/share/xtux - ${INSTALL_PROGRAM} ${WRKSRC}/tux_serv ${PREFIX}/bin/tux_serv - ${INSTALL_PROGRAM} ${WRKSRC}/xtux ${PREFIX}/bin/xtux + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/xtux + cd ${WRKSRC} && ${PAX} -rw data ${DESTDIR}${PREFIX}/share/xtux + cd ${WRKSRC} && ${PAX} -rw doc ${DESTDIR}${PREFIX}/share/xtux + ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DESTDIR}${PREFIX}/share/xtux + ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DESTDIR}${PREFIX}/share/xtux + ${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/xtux + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/xtux + ${INSTALL_DATA} ${WRKSRC}/example-config ${DESTDIR}${PREFIX}/share/xtux + ${INSTALL_PROGRAM} ${WRKSRC}/tux_serv ${DESTDIR}${PREFIX}/bin/tux_serv + ${INSTALL_PROGRAM} ${WRKSRC}/xtux ${DESTDIR}${PREFIX}/bin/xtux .include "../../x11/libXpm/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |