pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/dosbox The package supports installation to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc76e3027a6d
branches:  trunk
changeset: 536522:fc76e3027a6d
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sun Dec 16 14:56:39 2007 +0000

description:
The package supports installation to DESTDIR.

diffstat:

 emulators/dosbox/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r fb0e3f6d36bb -r fc76e3027a6d emulators/dosbox/Makefile
--- a/emulators/dosbox/Makefile Sun Dec 16 14:49:39 2007 +0000
+++ b/emulators/dosbox/Makefile Sun Dec 16 14:56:39 2007 +0000
@@ -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 @@
 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_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"



Home | Main Index | Thread Index | Old Index