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/gtklevel9 | |
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/gtklevel9')
-rw-r--r-- | games/gtklevel9/Makefile | 11 |
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" |