summaryrefslogtreecommitdiff
path: root/wm/uwm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 19:32:25 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 19:32:25 +0000
commit0bc592b5db91b344231e37b448219aa35ec319f5 (patch)
treea094765dbaaafcbc96388f4fc087487520ab1cc0 /wm/uwm
parent958d27b03cd5568a7a9ead5518ef21c35205705a (diff)
downloadpkgsrc-0bc592b5db91b344231e37b448219aa35ec319f5.tar.gz
user-destdir support
Diffstat (limited to 'wm/uwm')
-rw-r--r--wm/uwm/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/wm/uwm/Makefile b/wm/uwm/Makefile
index cf2fa891618..1d01cd6c359 100644
--- a/wm/uwm/Makefile
+++ b/wm/uwm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/10/03 07:55:24 obache Exp $
+# $NetBSD: Makefile,v 1.13 2009/07/07 19:32:25 joerg Exp $
DISTNAME= X.V11R3uwm
PKGNAME= uwm-19881027
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://www.x.org/
COMMENT= X11R3 window manager
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/X.V11R3/clients/uwm
USE_IMAKE= yes
USE_TOOLS+= yacc
@@ -21,9 +23,10 @@ post-patch:
${SED} -e 's#/usr/lib/X11#${PREFIX}/lib/X11#g' <${WRKSRC}/uwm.man.src \
>${WRKSRC}/uwm.man
+INSTALLATION_DIRS= lib/X11/uwm
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/uwm
- ${INSTALL_DATA} ${WRKSRC}/default.uwmrc ${PREFIX}/lib/X11/uwm/system.uwmrc
+ ${INSTALL_DATA} ${WRKSRC}/default.uwmrc ${DESTDIR}${PREFIX}/lib/X11/uwm/system.uwmrc
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"