b59cec2092
The cursor theme based on the KDE crystal theme. This cursor is on kde-look.org and distributed with openSUSE (which has it as default). The port does install the "blue" theme as default (and thus could possibly conflict with future cursor ports, no current ports install a default theme). PR: ports/116672 Submitted by: David Naylor <dragonsa@highveldmail.co.za>
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# New ports collection makefile for: cursor-crystal-theme
|
|
# Date created: 6 Jun 2007
|
|
# Whom: David Naylor <dragonsa@highveldmail.co.za>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# Note: 1) If port is interupted while compiling, "make clean" must be run before
|
|
# attempting to recompile.
|
|
|
|
PORTNAME= cursor-crystal-theme
|
|
DISTVERSION= 1.1.1
|
|
CATEGORIES= x11-themes
|
|
MASTER_SITES= http://www.notmart.org/files/ \
|
|
http://pinguin.stttelkom.ac.id/gentoo/distfiles/
|
|
DISTNAME= Crystalcursors
|
|
|
|
MAINTAINER= dragonsa@highveldmail.co.za
|
|
COMMENT= KDE Crystal style X cursor theme
|
|
|
|
BUILD_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \
|
|
xcursorgen:${PORTSDIR}/x11/xcursorgen
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_X_PREFIX= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|function ||' \
|
|
${WRKSRC}/colorize.sh \
|
|
${WRKSRC}/left-handed_templates/flopalltheme.sh \
|
|
${WRKSRC}/left-handed_templates/floptheme.sh
|
|
@${REINPLACE_CMD} -e 's|make|$${MAKE}|g' \
|
|
${WRKSRC}/blue_src/Makefile \
|
|
${WRKSRC}/gray_src/Makefile \
|
|
${WRKSRC}/green_src/Makefile \
|
|
${WRKSRC}/left-handed_templates/Makefile \
|
|
${WRKSRC}/white_src/Makefile
|
|
|
|
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|' \
|
|
${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.mk>
|