[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / adwaita-icon-theme

File: [cvs.NetBSD.org] / pkgsrc / graphics / adwaita-icon-theme / Makefile (download)

Revision 1.27, Thu Jul 15 10:46:39 2021 UTC (4 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, HEAD
Changes since 1.26: +3 -3 lines

adwaita-icon-theme: update to 40.1.1.

Changes not found.

# $NetBSD: Makefile,v 1.27 2021/07/15 10:46:39 wiz Exp $

DISTNAME=		adwaita-icon-theme-40.1.1
CATEGORIES=		graphics gnome
MASTER_SITES=		${MASTER_SITE_GNOME:=sources/adwaita-icon-theme/${PKGVERSION_NOREV:R:R}/}
EXTRACT_SUFX=		.tar.xz

MAINTAINER=		prlw1@cam.ac.uk
HOMEPAGE=		https://www.gnome.org/
COMMENT=		Standard GNOME icons
LICENSE=		cc-by-sa-v3.0 OR gnu-lgpl-v3

GNU_CONFIGURE=		yes
USE_TOOLS+=		gmake pkg-config
# otherwise it creates lots of superfluous lib/locale dirs
USE_PKGLOCALEDIR=	yes
TOOLS_NOOP+=		gtk-update-icon-cache

CONFIGURE_ENV+=		ac_cv_path_GTK_ENCODE_SYMBOLIC_SVG="false"

PKGCONFIG_OVERRIDE+=	adwaita-icon-theme.pc.in

# should be created by the upstream installation Makefile targets,
# but isn't
INSTALLATION_DIRS+=	share/icons/Adwaita/96x96/places

ICON_THEMES=		yes

.include "../../mk/bsd.prefs.mk"

.for s in 96 256
PRINT_PLIST_AWK+=	{gsub("^share/icons/Adwaita/${s}x${s}/places/start-here.png","@comment this is in PLIST.NetBSD, do not add here: &");}
.endfor

post-install:
.if ${OPSYS} == "NetBSD"
.  for s in 16 22 24 32 48 96 256
	${INSTALL_DATA} ${FILESDIR}/netbsd-${s}.png \
	    ${DESTDIR}${PREFIX}/share/icons/Adwaita/${s}x${s}/places/start-here.png
.  endfor
.endif

BUILDLINK_DEPMETHOD.gettext-lib=        build
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"