diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 19:21:37 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 19:21:37 +0000 |
commit | 0bb78c6c9d3855e92497417696475484322d451c (patch) | |
tree | c5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/vba | |
parent | 9bd3464e7e916d97f1e733a71b79c48999897987 (diff) | |
download | pkgsrc-0bb78c6c9d3855e92497417696475484322d451c.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'emulators/vba')
-rw-r--r-- | emulators/vba/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/emulators/vba/Makefile b/emulators/vba/Makefile index 568dea8ad89..d4a2912ad4b 100644 --- a/emulators/vba/Makefile +++ b/emulators/vba/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2007/02/16 01:52:20 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2008/03/03 19:21:38 jlam Exp $ DISTNAME= VisualBoyAdvance-src-1.7.2 PKGNAME= vba-1.7.2 @@ -10,6 +10,8 @@ MAINTAINER= dillo@NetBSD.org HOMEPAGE= http://vba.ngemu.com/ COMMENT= Gameboy advance emulator +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/VisualBoyAdvance-1.7.2 USE_TOOLS+= gmake USE_LIBTOOL= yes @@ -27,10 +29,11 @@ BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm .endif do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/sdl/TestEmu ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/src/sdl/VisualBoyAdvance ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vba - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/vba + ${INSTALL_PROGRAM} ${WRKSRC}/src/sdl/TestEmu ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/src/sdl/VisualBoyAdvance \ + ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/vba + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/vba .include "../../devel/SDL/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" |