summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2007-12-16 14:56:39 +0000
committerheinz <heinz@pkgsrc.org>2007-12-16 14:56:39 +0000
commit4ff1f42d59357f2544db21910aef1b9d201e5d9b (patch)
tree5de91f20eaa589e2d2de95617a0e10a74cbadd57 /emulators
parent8c13046f61be829a559fcbd0ff8fcd39230b649a (diff)
downloadpkgsrc-4ff1f42d59357f2544db21910aef1b9d201e5d9b.tar.gz
The package supports installation to DESTDIR.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/dosbox/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile
index cd11715c0b7..690595f9822 100644
--- a/emulators/dosbox/Makefile
+++ b/emulators/dosbox/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2007/08/27 06:37:01 xtraeme Exp $
+# $NetBSD: Makefile,v 1.23 2007/12/16 14:56:39 heinz Exp $
DISTNAME= dosbox-0.72
CATEGORIES= emulators
@@ -8,6 +8,8 @@ MAINTAINER= cube@cubidou.net
HOMEPAGE= http://dosbox.sourceforge.net/
COMMENT= Multi-platform DOS emulator using SDL
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
CPPFLAGS.SunOS+= -DDISABLE_JOYSTICK
@@ -19,7 +21,7 @@ SUBST_FILES.fixme= docs/dosbox.1
SUBST_SED.fixme= -e s,/usr/share/,${PREFIX}/share/,g
post-install:
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dosbox
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/dosbox
.include "../../audio/SDL_sound/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"