diff options
author | dbn <dbn@FreeBSD.org> | 2013-11-05 01:26:43 +0800 |
---|---|---|
committer | dbn <dbn@FreeBSD.org> | 2013-11-05 01:26:43 +0800 |
commit | 783fba2442547b96b7352cc61dfd03cb4257f72a (patch) | |
tree | 72c70ab33512aa680e46b2e277c22c693d9e712c /x11-themes/cursor-crystal-theme | |
parent | d405a1ce50ea4c2d6ad84b12bfc59e0e73c5bdc4 (diff) | |
download | freebsd-ports-gnome-783fba2442547b96b7352cc61dfd03cb4257f72a.tar.gz freebsd-ports-gnome-783fba2442547b96b7352cc61dfd03cb4257f72a.tar.zst freebsd-ports-gnome-783fba2442547b96b7352cc61dfd03cb4257f72a.zip |
Add stage support to x11-themes/cursor-crystal-theme.
While here move gmake to USES framework.
Diffstat (limited to 'x11-themes/cursor-crystal-theme')
-rw-r--r-- | x11-themes/cursor-crystal-theme/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
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 <bsd.port.mk> |