summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-11-17 10:27:57 +0000
committerobache <obache@pkgsrc.org>2008-11-17 10:27:57 +0000
commitcee7855a4b76f0e2f4df9c21786a27c1dc946a3e (patch)
tree9699e50733f3a76cc165187c413ab64cc5fff79f /wm
parent5f9a121cb7cfe691196e4c1ddd3092a7e403ca1c (diff)
downloadpkgsrc-cee7855a4b76f0e2f4df9c21786a27c1dc946a3e.tar.gz
Add DESTDIR support, per maintainer request by PR 39930.
Diffstat (limited to 'wm')
-rw-r--r--wm/ctwm/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/wm/ctwm/Makefile b/wm/ctwm/Makefile
index 1a9e01ebac0..1f227365806 100644
--- a/wm/ctwm/Makefile
+++ b/wm/ctwm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2007/02/17 08:27:11 obache Exp $
+# $NetBSD: Makefile,v 1.22 2008/11/17 10:27:57 obache Exp $
#
DISTNAME= ctwm-3.8a
@@ -10,6 +10,8 @@ HOMEPAGE= http://ctwm.free.lp.se/
COMMENT= Window manager with support for multiple virtual screens and Gnome 1.x
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_IMAKE= YES
.include "../../mk/bsd.prefs.mk"
@@ -31,9 +33,9 @@ pre-configure:
EXAMPLEDIR=${PREFIX}/share/examples/ctwm
pre-install:
- ${INSTALL_DATA_DIR} ${EXAMPLEDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EXAMPLEDIR}
.for f in example.ctwmrc levitte.ctwmrc peterc.ctwmrc system.ctwmrc system.ctwmrc.gnome
- ${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLEDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${EXAMPLEDIR}
.endfor
.include "../../graphics/jpeg/buildlink3.mk"