summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 17:54:26 +0000
committerjoerg <joerg>2009-07-07 17:54:26 +0000
commit7943cf579bae807440480c16c0e78e3dac6ed6d7 (patch)
treed870e79d1d311e5a5e3075c1e9b1ac3e1de16e43 /x11
parent89095f226a1ee7baf08c01721b8fe91b8d3d6288 (diff)
downloadpkgsrc-7943cf579bae807440480c16c0e78e3dac6ed6d7.tar.gz
user-destdir support
Diffstat (limited to 'x11')
-rw-r--r--x11/xdesktopwaves/Makefile15
-rw-r--r--x11/xdg-user-dirs/Makefile4
2 files changed, 12 insertions, 7 deletions
diff --git a/x11/xdesktopwaves/Makefile b/x11/xdesktopwaves/Makefile
index 384514c95cc..8469430135b 100644
--- a/x11/xdesktopwaves/Makefile
+++ b/x11/xdesktopwaves/Makefile
@@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org
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 --git a/x11/xdg-user-dirs/Makefile b/x11/xdg-user-dirs/Makefile
index 0f8cdae3293..d6aea0c245c 100644
--- a/x11/xdg-user-dirs/Makefile
+++ b/x11/xdg-user-dirs/Makefile
@@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org
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