From 585891f5ab4968b5a206374920be8478ce87ebe8 Mon Sep 17 00:00:00 2001 From: heinz Date: Sun, 16 Dec 2007 14:56:39 +0000 Subject: The package supports installation to DESTDIR. --- emulators/dosbox/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'emulators/dosbox') 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" -- cgit v1.2.3