svn commit: r332749 - head/x11-themes/cursor-crystal-theme

David Naylor dbn at FreeBSD.org
Mon Nov 4 17:26:44 UTC 2013


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>


More information about the svn-ports-head mailing list