summaryrefslogtreecommitdiff
path: root/wm
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
commit676f86250ed17b73ff50a3fd3064d72643ad03c4 (patch)
tree0301bbfe47c2f509b6b940059ff817a439f6eb37 /wm
parent9b5574f72a1c833df0497008367e9f5cd0047add (diff)
downloadpkgsrc-676f86250ed17b73ff50a3fd3064d72643ad03c4.tar.gz
Add DESTDIR support.
Diffstat (limited to 'wm')
-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