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/dega | |
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/dega')
-rw-r--r-- | emulators/dega/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/emulators/dega/Makefile b/emulators/dega/Makefile index b16da4d233a..3326027d9f0 100644 --- a/emulators/dega/Makefile +++ b/emulators/dega/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/06/12 16:28:06 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/03 19:21:38 jlam Exp $ # DISTNAME= dega-1.07 @@ -12,6 +12,8 @@ COMMENT= Sega Game Gear, Sega Mark III and Sega Master System emulator BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c c++ USE_TOOLS+= gmake @@ -21,7 +23,7 @@ ONLY_FOR_PLATFORM= *-*-i386 INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/dega ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/dega ${DESTDIR}${PREFIX}/bin .include "../../devel/SDL/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |