summaryrefslogtreecommitdiff
path: root/wm/fvwm1
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 19:41:54 +0000
committerjoerg <joerg>2009-07-07 19:41:54 +0000
commitc5811f59b82a56ab381b91b807249cb7f7e6bcd0 (patch)
treed5036505c6d6e2a52d3f16abb19faacb28446099 /wm/fvwm1
parent2e020e9ecf21137f7ea41995140febce0ed033d5 (diff)
downloadpkgsrc-c5811f59b82a56ab381b91b807249cb7f7e6bcd0.tar.gz
user-destdir support
Diffstat (limited to 'wm/fvwm1')
-rw-r--r--wm/fvwm1/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/wm/fvwm1/Makefile b/wm/fvwm1/Makefile
index 062854af2f2..725bc587b97 100644
--- a/wm/fvwm1/Makefile
+++ b/wm/fvwm1/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2009/05/19 08:59:36 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2009/07/07 19:41:54 joerg Exp $
DISTNAME= fvwm-1.24r
PKGNAME= ${DISTNAME:S/fvwm/fvwm1/}
@@ -11,6 +11,8 @@ HOMEPAGE= http://www.fvwm.org/
COMMENT= Virtual window manager for X
LICENSE= gnu-gpl-v2
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= xpmroot-2.*:../../x11/xpmroot
CONFLICTS= fvwm2-* fvwm>=1
@@ -37,14 +39,14 @@ post-patch:
${SED} -e 's#$${PREFIX}#${PREFIX}#g' \
-e 's#$${X11BASE}#${X11BASE}#g' configure.h.old >configure.h
+INSTALLATION_DIRS= lib/X11/fvwm/pixmaps lib/X11/fvwm/bitmaps
+
post-install:
- @${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/fvwm/pixmaps
- @${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/fvwm/bitmaps
${INSTALL_DATA} ${WRKSRC}/fvwm_icons/*.xpm \
- ${PREFIX}/lib/X11/fvwm/pixmaps
+ ${DESTDIR}${PREFIX}/lib/X11/fvwm/pixmaps
${INSTALL_DATA} ${WRKSRC}/fvwm_icons/*.xbm \
${WRKSRC}/fvwm_icons/*.bitmap ${WRKSRC}/fvwm_icons/*.icon \
- ${PREFIX}/lib/X11/fvwm/bitmaps
+ ${DESTDIR}${PREFIX}/lib/X11/fvwm/bitmaps
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"