summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authordholland <dholland>2008-06-23 16:58:20 +0000
committerdholland <dholland>2008-06-23 16:58:20 +0000
commitebd8c7159b612eaa3d49b93b1719ad068431070e (patch)
tree95f55b62bc2d828d9b29cc17516a221c7302ceb5 /emulators
parent7b4b307da34ee138dd10ad868722f50cdc19acf1 (diff)
downloadpkgsrc-ebd8c7159b612eaa3d49b93b1719ad068431070e.tar.gz
DESTDIR support, from Aleksej Saushev.
Diffstat (limited to 'emulators')
-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"