diff options
author | joerg <joerg> | 2009-07-07 19:41:54 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-07-07 19:41:54 +0000 |
commit | c5811f59b82a56ab381b91b807249cb7f7e6bcd0 (patch) | |
tree | d5036505c6d6e2a52d3f16abb19faacb28446099 /wm | |
parent | 2e020e9ecf21137f7ea41995140febce0ed033d5 (diff) | |
download | pkgsrc-c5811f59b82a56ab381b91b807249cb7f7e6bcd0.tar.gz |
user-destdir support
Diffstat (limited to 'wm')
-rw-r--r-- | wm/fluxter/Makefile | 14 | ||||
-rw-r--r-- | wm/fvwm1/Makefile | 12 |
2 files changed, 15 insertions, 11 deletions
diff --git a/wm/fluxter/Makefile b/wm/fluxter/Makefile index d8f52e5a7f4..e78bd3c32a6 100644 --- a/wm/fluxter/Makefile +++ b/wm/fluxter/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2007/10/23 13:20:38 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2009/07/07 19:44:42 joerg Exp $ # DISTNAME= fluxter-0.1.0 @@ -9,6 +9,8 @@ MAINTAINER= mj@turner.org.za HOMEPAGE= http://benedict.isomedia.com/homes/stevencooper/projects/fluxter.html COMMENT= Workspace pager dockapp, particularly useful with Fluxbox +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_LANGUAGES= c c++ USE_TOOLS+= gmake @@ -17,12 +19,12 @@ FLUXBOX_DATA= ${PREFIX}/share/fluxbox DOCDIR= ${PREFIX}/share/doc/${PKGBASE} EXDIR= ${PREFIX}/share/examples/${PKGBASE} +INSTALLATION_DIRS= ${DOCDIR} ${EXDIR} + post-install: - ${RM} ${FLUXBOX_DATA}/README.fluxter - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/data/README.fluxter ${DOCDIR} - ${INSTALL_DATA_DIR} ${EXDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/fluxter.bb ${EXDIR} + ${RM} ${DESTDIR}${FLUXBOX_DATA}/README.fluxter + ${INSTALL_DATA} ${WRKSRC}/data/README.fluxter ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/fluxter.bb ${DESTDIR}${EXDIR} .include "../../x11/libX11/buildlink3.mk" .include "../../mk/bsd.pkg.mk" 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" |