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/912a7b6863ef
branches:  trunk
changeset: 559120:912a7b6863ef
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 68d3e29f2230 -r 912a7b6863ef 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