summaryrefslogtreecommitdiff
path: root/emulators/wine
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2008-06-23 16:58:20 +0000
committerdholland <dholland@pkgsrc.org>2008-06-23 16:58:20 +0000
commit4ed11ac7c778d59f9f2ded3c63b940ba0ef6ee96 (patch)
tree95f55b62bc2d828d9b29cc17516a221c7302ceb5 /emulators/wine
parent263ec937a6e3297e83c94d0b2be60bcdaecaf502 (diff)
downloadpkgsrc-4ed11ac7c778d59f9f2ded3c63b940ba0ef6ee96.tar.gz
DESTDIR support, from Aleksej Saushev.
Diffstat (limited to 'emulators/wine')
-rw-r--r--emulators/wine/Makefile6
1 files changed, 4 insertions, 2 deletions
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"