From 783fba2442547b96b7352cc61dfd03cb4257f72a Mon Sep 17 00:00:00 2001 From: dbn Date: Mon, 4 Nov 2013 17:26:43 +0000 Subject: Add stage support to x11-themes/cursor-crystal-theme. While here move gmake to USES framework. --- x11-themes/cursor-crystal-theme/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'x11-themes/cursor-crystal-theme') diff --git a/x11-themes/cursor-crystal-theme/Makefile b/x11-themes/cursor-crystal-theme/Makefile index ff6d205eb98c..ff31dda8d0ea 100644 --- a/x11-themes/cursor-crystal-theme/Makefile +++ b/x11-themes/cursor-crystal-theme/Makefile @@ -18,10 +18,10 @@ COMMENT= KDE Crystal style X cursor theme BUILD_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \ xcursorgen:${PORTSDIR}/x11/xcursorgen +MAKE_ENV+= DESTDIR=${STAGEDIR} +USES= gmake USE_BZIP2= yes -USE_GMAKE= yes -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|function ||' \ ${WRKSRC}/colorize.sh \ @@ -36,9 +36,9 @@ post-patch: pre-install: @${REINPLACE_CMD} \ - -e 's|$$(HOME)/.icons/|${DESTDIR}${PREFIX}/lib/X11/icons|' \ - -e 's|$$(MAKE) .*install|$$(MAKE) PREFIX=${DESTDIR}${PREFIX}/lib/X11/icons install|g' \ - -e 's|theme.default .*/default/index.theme|theme.default ${DESTDIR}${PREFIX}/lib/X11/icons/default/index.theme|' \ + -e 's|$$(HOME)/.icons/|${STAGEDIR}${PREFIX}/lib/X11/icons|' \ + -e 's|$$(MAKE) .*install|$$(MAKE) PREFIX=${STAGEDIR}${PREFIX}/lib/X11/icons install|g' \ + -e 's|theme.default .*/default/index.theme|theme.default ${STAGEDIR}${PREFIX}/lib/X11/icons/default/index.theme|' \ ${WRKSRC}/Makefile .include -- cgit