From 2541d60dc860164a3a27f23e2022a923b3372c8c Mon Sep 17 00:00:00 2001 From: dholland Date: Mon, 23 Jun 2008 16:58:20 +0000 Subject: DESTDIR support, from Aleksej Saushev. --- emulators/wine/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'emulators') diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile index 156cd036f55..f6d43110dc0 100644 --- a/emulators/wine/Makefile +++ b/emulators/wine/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.143 2008/06/22 23:38:18 dholland Exp $ +# $NetBSD: Makefile,v 1.144 2008/06/23 16:58:20 dholland Exp $ DISTNAME= wine-1.0 CATEGORIES= emulators @@ -16,6 +16,8 @@ ONLY_FOR_PLATFORM= NetBSD-1.5Z*-i386 NetBSD-1.6*-i386 NetBSD-[2-9]*-i386 ONLY_FOR_PLATFORM+= FreeBSD-*-i386 Linux-*-i386 SunOS-*-i386 Darwin-*-i386 ONLY_FOR_PLATFORM+= *-*-x86_64 +PKG_DESTDIR_SUPPORT= user-destdir + USE_DIRS+= xdg-1.1 USE_LANGUAGES= c USE_LIBTOOL= yes @@ -39,7 +41,7 @@ LIBS+= ${LDFLAGS} post-install: .for tool in fnt2bdf ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/tools/${tool} \ - ${PREFIX}/bin + ${DESTDIR}${PREFIX}/bin .endfor .include "../../devel/ncurses/buildlink3.mk" -- cgit v1.2.3