pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b2bb709af586
branches:  trunk
changeset: 395261:b2bb709af586
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 07 19:34:24 2009 +0000

description:
user-destdir support

diffstat:

 wm/qvwm/Makefile           |   6 ++++--
 wm/waimea/Makefile         |   4 +++-
 wm/waimea/distinfo         |   3 ++-
 wm/waimea/patches/patch-aa |  13 +++++++++++++
 4 files changed, 22 insertions(+), 4 deletions(-)

diffs (73 lines):

diff -r bb3678150789 -r b2bb709af586 wm/qvwm/Makefile
--- a/wm/qvwm/Makefile  Tue Jul 07 19:32:48 2009 +0000
+++ b/wm/qvwm/Makefile  Tue Jul 07 19:34:24 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2009/05/01 13:29:07 zafer Exp $
+# $NetBSD: Makefile,v 1.35 2009/07/07 19:34:28 joerg Exp $
 #
 
 DISTNAME=      qvwm-1.1.12
@@ -11,6 +11,8 @@
 HOMEPAGE=      http://www.csg.is.titech.ac.jp/~kourai/qvwm/
 COMMENT=       Windows 95/98/NT like window manager for X11
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE= yes
 USE_TOOLS+=    gmake rm lex
 CONFIGURE_ENV+=        PATH_RM=${TOOLS_RM:Q}
@@ -20,7 +22,7 @@
 CONFIGURE_ARGS+=       --with-imlib
 
 post-install:
-       ${MV} ${PREFIX}/${PKGMANDIR}/man1/qvwm.1x ${PREFIX}/${PKGMANDIR}/man1/qvwm.1
+       ${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/qvwm.1x ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/qvwm.1
 
 .include "options.mk"
 .include "../../audio/esound/buildlink3.mk"
diff -r bb3678150789 -r b2bb709af586 wm/waimea/Makefile
--- a/wm/waimea/Makefile        Tue Jul 07 19:32:48 2009 +0000
+++ b/wm/waimea/Makefile        Tue Jul 07 19:34:24 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2007/01/14 09:10:45 joerg Exp $
+# $NetBSD: Makefile,v 1.32 2009/07/07 19:34:24 joerg Exp $
 #
 
 DISTNAME=      waimea-0.4.0
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://sourceforge.net/projects/waimea/
 COMMENT=       Fast and highly customizable virtual window manager
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE= YES
 USE_LANGUAGES= c c++
 USE_TOOLS+=    gmake perl:run pkg-config
diff -r bb3678150789 -r b2bb709af586 wm/waimea/distinfo
--- a/wm/waimea/distinfo        Tue Jul 07 19:32:48 2009 +0000
+++ b/wm/waimea/distinfo        Tue Jul 07 19:34:24 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:43:55 wiz Exp $
+$NetBSD: distinfo,v 1.3 2009/07/07 19:34:24 joerg Exp $
 
 SHA1 (waimea-0.4.0.tar.gz) = b2dc5e829aad8681bab9313bd336b79875154531
 RMD160 (waimea-0.4.0.tar.gz) = 5694d832cb3cd51d6f3473c73eb70f803825c1a3
 Size (waimea-0.4.0.tar.gz) = 242526 bytes
+SHA1 (patch-aa) = f6cdb4054bb3f86f90a942cbaaad3a46bd42c6e2
diff -r bb3678150789 -r b2bb709af586 wm/waimea/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/waimea/patches/patch-aa        Tue Jul 07 19:34:24 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2009/07/07 19:34:24 joerg Exp $
+
+--- data/actions/Makefile.in.orig      2009-07-07 21:32:01.000000000 +0200
++++ data/actions/Makefile.in
+@@ -228,7 +228,7 @@ uninstall-am: uninstall-actionsDATA unin
+ 
+ 
+ install-data-local:
+-      cd $(pkgdatadir)/actions && \
++      cd ${DESTDIR}$(pkgdatadir)/actions && \
+       ln -sf action.sloppy-focus action
+ 
+ uninstall-local:



Home | Main Index | Thread Index | Old Index