summaryrefslogtreecommitdiff
path: root/games/scummvm-tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/scummvm-tools/Makefile')
-rw-r--r--games/scummvm-tools/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/games/scummvm-tools/Makefile b/games/scummvm-tools/Makefile
index a44a3a122a8..f892ac458ca 100644
--- a/games/scummvm-tools/Makefile
+++ b/games/scummvm-tools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/02/22 19:30:03 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/04 06:59:06 jlam Exp $
#
DISTNAME= scummvm-tools-0.9.0
@@ -10,6 +10,8 @@ MAINTAINER= dillo@NetBSD.org
HOMEPAGE= http://scummvm.sourceforge.net/
COMMENT= Conversion and compression tools for ScummVM
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/tools-0.9.0
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
@@ -26,10 +28,10 @@ do-install:
extract_mm_c64 extract_mm_nes extract_scumm_mac \
extract_simon1_amiga extract_zak_c64; \
do \
- ${INSTALL_PROGRAM} ${WRKSRC}/$$f ${LOCALBASE}/bin; \
+ ${INSTALL_PROGRAM} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/bin; \
done
- ${INSTALL_DATA_DIR} ${LOCALBASE}/share/doc/scummvm-tools
- ${INSTALL_DATA} ${WRKSRC}/README ${LOCALBASE}/share/doc/scummvm-tools
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/scummvm-tools
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/scummvm-tools
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"