1 # Created by: David Naylor <naylor.b.david@gmail.com>
2 # $FreeBSD: x11-themes/cursor-crystal-theme/Makefile 327783 2013-09-20 23:54:03Z bapt $
4 # Note: 1) If port is interupted while compiling, "make clean" must be run before
5 # attempting to recompile.
7 PORTNAME= cursor-crystal-theme
10 CATEGORIES= x11-themes
11 MASTER_SITES= http://www.notmart.org/files/ \
12 http://pinguin.stttelkom.ac.id/gentoo/distfiles/
13 DISTNAME= Crystalcursors
15 MAINTAINER= dbn@FreeBSD.org
16 COMMENT= KDE Crystal style X cursor theme
18 BUILD_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \
19 xcursorgen:${PORTSDIR}/x11/xcursorgen
26 @${REINPLACE_CMD} -e 's|function ||' \
27 ${WRKSRC}/colorize.sh \
28 ${WRKSRC}/left-handed_templates/flopalltheme.sh \
29 ${WRKSRC}/left-handed_templates/floptheme.sh
30 @${REINPLACE_CMD} -e 's|make|$${MAKE}|g' \
31 ${WRKSRC}/blue_src/Makefile \
32 ${WRKSRC}/gray_src/Makefile \
33 ${WRKSRC}/green_src/Makefile \
34 ${WRKSRC}/left-handed_templates/Makefile \
35 ${WRKSRC}/white_src/Makefile
39 -e 's|$$(HOME)/.icons/|${DESTDIR}${PREFIX}/lib/X11/icons|' \
40 -e 's|$$(MAKE) .*install|$$(MAKE) PREFIX=${DESTDIR}${PREFIX}/lib/X11/icons install|g' \
41 -e 's|theme.default .*/default/index.theme|theme.default ${DESTDIR}${PREFIX}/lib/X11/icons/default/index.theme|' \
44 .include <bsd.port.mk>