summaryrefslogtreecommitdiff
path: root/games/quakedata/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/quakedata/Makefile')
-rw-r--r--games/quakedata/Makefile9
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"