misc/gnome-icon-theme: fix build after gtk-update-icon-cache removal

Same fix as 7e81141577

While here, add LICENSEs

Approved by: fluffy (mentor), bapt (portmgr)
Differential Revision: https://reviews.freebsd.org/D32461
This commit is contained in:
Charlie Li 2021-10-11 23:53:21 -04:00
parent 238bc06902
commit 2b12503f70
No known key found for this signature in database
GPG key ID: FEB7852BE29B3E87

View file

@ -11,15 +11,21 @@ DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Collection of icons for the GNOME desktop
LICENSE= LGPL3 CC-BY-SA-3.0
LICENSE_COMB= dual
LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING_LGPL
LICENSE_FILE_CC-BY-SA-3.0= ${WRKSRC}/COPYING_CCBYSA3
BUILD_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme \
icon-naming-utils>=0.8.7:x11-themes/icon-naming-utils
RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme \
gnome-icon-theme-symbolic>=0:x11-themes/gnome-icon-theme-symbolic
GNU_CONFIGURE= yes
USES= gettext-tools gmake gnome pathfix pkgconfig tar:xz
USES= gettext-tools gmake gnome localbase pathfix pkgconfig tar:xz
USE_GNOME= intlhack
CONFIGURE_ARGS= --enable-icon-mapping
CONFIGURE_ENV= ac_cv_path_GTK_UPDATE_ICON_CACHE=/usr/bin/true
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib