summaryrefslogtreecommitdiff
path: root/games/gtklevel9/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/gtklevel9/Makefile')
-rw-r--r--games/gtklevel9/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/games/gtklevel9/Makefile b/games/gtklevel9/Makefile
index 599872eedf0..0de8fd104ca 100644
--- a/games/gtklevel9/Makefile
+++ b/games/gtklevel9/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/06/11 14:23:23 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2008/03/04 06:59:04 jlam Exp $
DISTNAME= Level9_4.0_Source
PKGNAME= gtklevel9-4.0
@@ -12,6 +12,8 @@ MAINTAINER= dillo@NetBSD.org
HOMEPAGE= http://www.ifarchive.org/if-archive/level9/interpreters/level9/
COMMENT= GTK+ port of the Level 9 text adventure interpreter
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/Gtk
INSTALLATION_DIRS= bin
@@ -19,9 +21,10 @@ BUILD_TARGET= gtklevel9
USE_TOOLS+= pkg-config
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gtklevel9
- ${INSTALL_DATA} ${WRKDIR}/level9.txt ${PREFIX}/share/doc/gtklevel9
- ${INSTALL_PROGRAM} ${WRKSRC}/gtklevel9 ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/gtklevel9
+ ${INSTALL_DATA} ${WRKDIR}/level9.txt \
+ ${DESTDIR}${PREFIX}/share/doc/gtklevel9
+ ${INSTALL_PROGRAM} ${WRKSRC}/gtklevel9 ${DESTDIR}${PREFIX}/bin
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"