freebsd-ports/x11-themes/gnome-icons-gartoon-redux/Makefile
Baptiste Daroussin 2c672a4de9 INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
2021-10-10 21:44:42 +02:00

33 lines
810 B
Makefile

# Created by: Jonathan Chen <jonc@chen.org.nz>
PORTNAME= gartoon-redux
PORTVERSION= 1.11
PORTREVISION= 1
CATEGORIES= x11-themes gnome
MASTER_SITES= https://launchpad.net/${PORTNAME}/1.x/${PORTVERSION}/+download/
MAINTAINER= jonc@chen.org.nz
COMMENT= Gartoon Redux Gnome Icon Theme
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gnome perl5
USE_PERL5= build
USE_GNOME= librsvg2:build
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
MAKE_JOBS_UNSAFE= yes
ICONDIR= ${STAGEDIR}${PREFIX}/share/icons/GartoonRedux
do-install:
${MKDIR} ${ICONDIR}/scalable
${CP} -R ${WRKSRC}/build/ ${ICONDIR}
${CP} -R ${WRKSRC}/src/ ${ICONDIR}/scalable
${FIND} ${ICONDIR} -name '0*' -delete
cd ${WRKSRC} && ./install-links.pl --alias-file=src/0ALIAS --icondir=${ICONDIR} 16 22 24 32
.include <bsd.port.mk>