diff options
author | jlam <jlam> | 2008-03-03 19:21:37 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 19:21:37 +0000 |
commit | 4bec39ccba022dfbd2daa6f6d25f7e86d987b4b7 (patch) | |
tree | c5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/dega | |
parent | 9bb1fb4eb3cd00b14bf35efc1f775513b341c2e6 (diff) | |
download | pkgsrc-4bec39ccba022dfbd2daa6f6d25f7e86d987b4b7.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" |