1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/x11-themes/cursor-crystal-theme/Makefile
Baptiste Daroussin 42b2ed0e2f Move all X cursors from ${PREFIX}/lib/X11/icons to ${PREFIX}/share/icons
It improves consistency, lots of cursors were already installed in that
directory. The same change was already done for regular fonts.
2017-08-17 08:26:25 +00:00

45 lines
1.3 KiB
Makefile

# Created by: David Naylor <naylor.b.david@gmail.com>
# $FreeBSD$
PORTNAME= cursor-crystal-theme
DISTVERSION= 1.1.1
PORTREVISION= 6
CATEGORIES= x11-themes
MASTER_SITES= http://www.notmart.org/files/ \
http://pinguin.stttelkom.ac.id/gentoo/distfiles/
DISTNAME= Crystalcursors
MAINTAINER= dbn@FreeBSD.org
COMMENT= KDE Crystal style X cursor theme
LICENSE= LGPL21
BUILD_DEPENDS= convert:graphics/ImageMagick \
xcursorgen:x11/xcursorgen
USES= gmake tar:bzip2
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-build:
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} clean ${MAKE_ARGS})
pre-install:
@${REINPLACE_CMD} \
-e 's|$$(HOME)/.icons/|${STAGEDIR}${PREFIX}/share/icons|' \
-e 's|$$(MAKE) .*install|$$(MAKE) PREFIX=${STAGEDIR}${PREFIX}/share/icons install|g' \
-e 's|theme.default .*/default/index.theme|theme.default ${STAGEDIR}${PREFIX}/share/icons/default/index.theme|' \
${WRKSRC}/Makefile
.include <bsd.port.mk>