pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/rxvt-unicode +PKG_DESTDIR_SUPPORT, plus set USE_TO...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3ea526e80c87
branches:  trunk
changeset: 393268:3ea526e80c87
user:      abs <abs%pkgsrc.org@localhost>
date:      Tue May 19 07:00:36 2009 +0000

description:
+PKG_DESTDIR_SUPPORT, plus set USE_TOOLS+=perl:run

diffstat:

 x11/rxvt-unicode/Makefile |  14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r e8b3129588eb -r 3ea526e80c87 x11/rxvt-unicode/Makefile
--- a/x11/rxvt-unicode/Makefile Tue May 19 06:59:48 2009 +0000
+++ b/x11/rxvt-unicode/Makefile Tue May 19 07:00:36 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2009/03/06 00:20:27 snj Exp $
+# $NetBSD: Makefile,v 1.25 2009/05/19 07:00:36 abs Exp $
 
 DISTNAME=              rxvt-unicode-9.06
 CATEGORIES=            x11
@@ -13,16 +13,20 @@
 GNU_CONFIGURE=         yes
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            pkg-config
+USE_TOOLS+=            perl:run
 USE_FEATURES+=         snprintf
 
 CONFIGURE_ENV+=                ac_cv_path_TIC=no
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+INSTALLATION_DIRS+=    share/doc/rxvt-unicode share/examples/rxvt-unicode
+
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rxvt-unicode
-       ${INSTALL_DATA} ${WRKSRC}/README.FAQ ${PREFIX}/share/doc/rxvt-unicode
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/rxvt-unicode
+       ${INSTALL_DATA} ${WRKSRC}/README.FAQ \
+               ${DESTDIR}${PREFIX}/share/doc/rxvt-unicode
 .for t in rxvt-unicode.termcap rxvt-unicode.terminfo
-       ${INSTALL_DATA} ${WRKSRC}/doc/etc/${t} ${PREFIX}/share/examples/rxvt-unicode
+       ${INSTALL_DATA} ${WRKSRC}/doc/etc/${t} \
+               ${DESTDIR}${PREFIX}/share/examples/rxvt-unicode
 .endfor
 
 .include "options.mk"



Home | Main Index | Thread Index | Old Index