1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/x11-themes/cursor-crystal-theme/Makefile
Koop Mast 289883b11b Update ImageMagick to 6.9.10.14 [1]
* Add PKGNAMESUFFIX and rename the directory. This was done to show
  that IM6 is not the "main" version. But still fully supported by upstream.
* Convert a number of options to optionhelpers.
* Add option for ISO/IEC 23008-12:2017 HEIF suport
* Add comment to pkg-descr explaining IM6's "legacy" tag.
* Add comment to the patch-config_policy.xml file why it still needed.

Please note that IM7 is not a drop in replacement due to library API and
command arguments changes. And as a result ports need to decide for themself
which version to use.

Chase these changes in all the ports that using IM6.

PR:		225102 (based on, only the version update) [1]
Submitted by:	Pascal Christen <pascal.christen@hostpoint.ch>
2018-11-10 19:57:07 +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/ImageMagick6 \
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>