pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/66666242820a
branches:  trunk
changeset: 395186:66666242820a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 07 17:54:26 2009 +0000

description:
user-destdir support

diffstat:

 x11/xdesktopwaves/Makefile |  15 +++++++++------
 x11/xdg-user-dirs/Makefile |   4 +++-
 2 files changed, 12 insertions(+), 7 deletions(-)

diffs (54 lines):

diff -r acce16439e11 -r 66666242820a x11/xdesktopwaves/Makefile
--- a/x11/xdesktopwaves/Makefile        Tue Jul 07 17:49:00 2009 +0000
+++ b/x11/xdesktopwaves/Makefile        Tue Jul 07 17:54:26 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2007/01/26 23:24:02 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2009/07/07 17:56:35 joerg Exp $
 #
 
 DISTNAME=      xdesktopwaves-1.1
@@ -10,18 +10,21 @@
 HOMEPAGE=      http://xdesktopwaves.sourceforge.net/
 COMMENT=       Simulates water waves on the X Windows desktop
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_DIRS+=             xdg-1.1
 
 MAKE_FLAGS+=           CFLAGS=${CFLAGS:M*:Q}
 MAKE_FLAGS+=           LFLAGS=${LDFLAGS:M*:Q}
 
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 share/doc/xdesktopwaves
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 share/doc/xdesktopwaves \
+                       share/pixmaps
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/xdesktopwaves ${PREFIX}/bin/
-       ${INSTALL_MAN} ${WRKSRC}/xdesktopwaves.1 ${PREFIX}/${PKGMANDIR}/man1/
-       ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xdesktopwaves/
-       ${INSTALL_DATA} ${WRKSRC}/xdesktopwaves.xpm ${PREFIX}/share/pixmaps/
+       ${INSTALL_PROGRAM} ${WRKSRC}/xdesktopwaves ${DESTDIR}${PREFIX}/bin/
+       ${INSTALL_MAN} ${WRKSRC}/xdesktopwaves.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
+       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xdesktopwaves/
+       ${INSTALL_DATA} ${WRKSRC}/xdesktopwaves.xpm ${DESTDIR}${PREFIX}/share/pixmaps/
 
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../x11/xextproto/buildlink3.mk"
diff -r acce16439e11 -r 66666242820a x11/xdg-user-dirs/Makefile
--- a/x11/xdg-user-dirs/Makefile        Tue Jul 07 17:49:00 2009 +0000
+++ b/x11/xdg-user-dirs/Makefile        Tue Jul 07 17:54:26 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2009/06/04 11:40:24 hasso Exp $
+# $NetBSD: Makefile,v 1.3 2009/07/07 17:54:26 joerg Exp $
 #
 
 DISTNAME=      xdg-user-dirs-0.10
@@ -9,6 +9,8 @@
 HOMEPAGE=      http://www.freedesktop.org/wiki/Software/xdg-user-dirs
 COMMENT=       Tool to manage "well known" user directories
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE=         yes
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            msgfmt



Home | Main Index | Thread Index | Old Index