summaryrefslogtreecommitdiff
path: root/wm/mlvwm
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-02-23 03:52:30 +0000
committerobache <obache@pkgsrc.org>2008-02-23 03:52:30 +0000
commitc689cdf11c89d6b20c0e6aee43741369d29bf245 (patch)
tree0301bbfe47c2f509b6b940059ff817a439f6eb37 /wm/mlvwm
parenta85bb3713b3b470fd86d19f8c21625d2cfed0a3e (diff)
downloadpkgsrc-c689cdf11c89d6b20c0e6aee43741369d29bf245.tar.gz
Add DESTDIR support.
Diffstat (limited to 'wm/mlvwm')
-rw-r--r--wm/mlvwm/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/wm/mlvwm/Makefile b/wm/mlvwm/Makefile
index 469403e62f9..8c75a1d903f 100644
--- a/wm/mlvwm/Makefile
+++ b/wm/mlvwm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2008/02/23 02:24:05 obache Exp $
+# $NetBSD: Makefile,v 1.9 2008/02/23 03:52:30 obache Exp $
#
DISTNAME= mlvwm091
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www2u.biglobe.ne.jp/~y-miyata/mlvwm.html
COMMENT= Macintosh Like Virtual Window Manager
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_IMAKE= yes
EGDIR= ${PREFIX}/share/examples/mlvwm
@@ -18,12 +20,12 @@ INSTALLATION_DIRS= share/doc/mlvwm share/examples/mlvwm share/mlvwm
post-install:
.for f in README CONFIGURATION
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/mlvwm
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/mlvwm
.endfor
.for f in Mlvwmrc Mlvwmrc-Xterm
- ${INSTALL_DATA} ${WRKSRC}/sample_rc/${f} ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sample_rc/${f} ${DESTDIR}${EGDIR}
.endfor
- ${INSTALL_DATA} ${WRKSRC}/pixmap/*.xpm ${PREFIX}/share/mlvwm
+ ${INSTALL_DATA} ${WRKSRC}/pixmap/*.xpm ${DESTDIR}${PREFIX}/share/mlvwm
SUBST_CLASSES+= xpm
SUBST_STAGE.xpm= post-configure