1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/x11/yad/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

55 lines
1.4 KiB
Makefile

# Created by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
PORTNAME= yad
PORTVERSION= 7.3
DISTVERSIONPREFIX= v
CATEGORIES= x11 gnome
MAINTAINER= danilo@FreeBSD.org
COMMENT= Display GNOME dialogs from the command line
LICENSE= GPLv3
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
RUN_DEPENDS= ${LOCALBASE}/lib/X11/rgb.txt:x11/rgb
USES= autoreconf gettext gnome gmake pkgconfig
USE_GNOME= cairo gtk30 intltool
GNU_CONFIGURE= yes
INSTALLS_OMF= yes
CONFIGURE_ENV+= DATADIRNAME=share
CONFIGURE_ARGS+= --with-rgb=${LOCALBASE}/lib/X11/rgb.txt
GLIB_SCHEMAS= yad.gschema.xml
USE_GITHUB= yes
GH_ACCOUNT= v1cont
OPTIONS_DEFINE= HTML ICONBROWSER NLS PFD GTKSOURCEVIEW SPELL
HTML_DESC= Build with HTML widget
ICONBROWSER_DESC= Build YAD icon browser
PFD_DESC= Build PFD fontnames transformation utility
GTKSOURCEVIEW_DESC= Build with GtkSourceView support
SPELL_DESC= Build with Spell check support
OPTIONS_DEFAULT= SPELL
OPTIONS_SUB= yes
HTML_CONFIGURE_ENABLE= html
HTML_LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk3 \
libsoup-2.4.so:devel/libsoup \
libjavascriptcoregtk-4.0.so:www/webkit2-gtk3
ICONBROWSER_CONFIGURE_ENABLE= icon-browser
PFD_CONFIGURE_ENABLE= pfd
GTKSOURCEVIEW_CONFIGURE_ENABLE= sourceview
GTKSOURCEVIEW_USE= GNOME=gtksourceview3
SPELL_CONFIGURE_ENABLE= spell
SPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell \
libenchant-2.so:textproc/enchant2
.include <bsd.port.mk>