summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorobache <obache>2008-11-17 10:27:57 +0000
committerobache <obache>2008-11-17 10:27:57 +0000
commit65a44322a8cefca69f24f6c60764deea052cd0a4 (patch)
tree9699e50733f3a76cc165187c413ab64cc5fff79f /wm
parentab3317ac59e60c81061151a6b8e483084039e51f (diff)
downloadpkgsrc-65a44322a8cefca69f24f6c60764deea052cd0a4.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"