summaryrefslogtreecommitdiff
path: root/emulators/dega/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/dega/Makefile')
-rw-r--r--emulators/dega/Makefile6
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"