pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/wine DESTDIR support, from Aleksej Saushev.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/83a011c139a4
branches:  trunk
changeset: 543865:83a011c139a4
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Mon Jun 23 16:58:20 2008 +0000

description:
DESTDIR support, from Aleksej Saushev.

diffstat:

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

diffs (27 lines):

diff -r 86eef128d2a0 -r 83a011c139a4 emulators/wine/Makefile
--- a/emulators/wine/Makefile   Mon Jun 23 16:57:08 2008 +0000
+++ b/emulators/wine/Makefile   Mon Jun 23 16:58:20 2008 +0000
@@ -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+=    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 @@
 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"



Home | Main Index | Thread Index | Old Index