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/adom | |
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/adom')
-rw-r--r-- | games/adom/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/adom/Makefile b/games/adom/Makefile index c86abc31cae..7d63d169007 100644 --- a/games/adom/Makefile +++ b/games/adom/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/07/29 05:19:25 jlam Exp $ +# $NetBSD: Makefile,v 1.15 2008/03/04 06:59:03 jlam Exp $ DISTNAME= adom-111-elf PKGNAME= adom-1.1.1 @@ -13,13 +13,15 @@ COMMENT= Ancient Domains of Mystery - yet another roguelike game EMUL_PLATFORMS= linux-i386 EMUL_MODULES.linux= base +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/adom BUILD_DIRS= # empty INSTALLATION_DIRS= bin share/doc/adom do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/adom ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/*.* ${PREFIX}/share/doc/adom + ${INSTALL_PROGRAM} ${WRKSRC}/adom ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/*.* ${DESTDIR}${PREFIX}/share/doc/adom .include "../../mk/bsd.pkg.mk" |