Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2013 17:26:44 +0000 (UTC)
From:      David Naylor <dbn@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332749 - head/x11-themes/cursor-crystal-theme
Message-ID:  <201311041726.rA4HQiPs064556@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dbn
Date: Mon Nov  4 17:26:43 2013
New Revision: 332749
URL: http://svnweb.freebsd.org/changeset/ports/332749

Log:
  Add stage support to x11-themes/cursor-crystal-theme.
  
  While here move gmake to USES framework.

Modified:
  head/x11-themes/cursor-crystal-theme/Makefile

Modified: head/x11-themes/cursor-crystal-theme/Makefile
==============================================================================
--- head/x11-themes/cursor-crystal-theme/Makefile	Mon Nov  4 17:04:46 2013	(r332748)
+++ head/x11-themes/cursor-crystal-theme/Makefile	Mon Nov  4 17:26:43 2013	(r332749)
@@ -18,10 +18,10 @@ COMMENT=	KDE Crystal style X cursor them
 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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311041726.rA4HQiPs064556>