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/quakedata/Makefile | |
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/quakedata/Makefile')
-rw-r--r-- | games/quakedata/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/games/quakedata/Makefile b/games/quakedata/Makefile index 97eb7c294c4..2bc620375d9 100644 --- a/games/quakedata/Makefile +++ b/games/quakedata/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2007/11/17 13:40:16 wiz Exp $ +# $NetBSD: Makefile,v 1.22 2008/03/04 06:59:05 jlam Exp $ DISTNAME= quake106 PKGNAME= quakedata-1.0 @@ -20,6 +20,8 @@ NO_SRC_ON_CDROM= ${RESTRICTED} NO_BIN_ON_CDROM= ${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} +PKG_DESTDIR_SUPPORT= user-destdir + EXTRACT_ELEMENTS= resource.* EXTRACT_OPTS_ZIP= -qo @@ -32,7 +34,8 @@ post-extract: cd ${WRKDIR} && ${LHA} xfq resource.exe id1/pak0.pak do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/quake/id1 - ${INSTALL_DATA} ${WRKSRC}/id1/pak0.pak ${PREFIX}/share/quake/id1 + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/quake/id1 + ${INSTALL_DATA} ${WRKSRC}/id1/pak0.pak \ + ${DESTDIR}${PREFIX}/share/quake/id1 .include "../../mk/bsd.pkg.mk" |