summaryrefslogtreecommitdiff
path: root/emulators/dosbox
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
commit585891f5ab4968b5a206374920be8478ce87ebe8 (patch)
tree5de91f20eaa589e2d2de95617a0e10a74cbadd57 /emulators/dosbox
parentba00bc1fa1766811308a19ead25e5e8cc888e3db (diff)
downloadpkgsrc-585891f5ab4968b5a206374920be8478ce87ebe8.tar.gz
The package supports installation to DESTDIR.
Diffstat (limited to 'emulators/dosbox')
-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"