1 # Created by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
7 MASTER_SITES= SF/${PORTNAME}-dialog/
9 MAINTAINER= danilo@FreeBSD.org
10 COMMENT= Display GNOME dialogs from the command line
14 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
15 libfreetype.so:print/freetype2
17 USES= gettext gmake pkgconfig tar:xz
18 USE_GNOME= cairo intltool
22 CONFIGURE_ENV+= DATADIRNAME=share
23 CONFIGURE_ARGS+= --disable-html
25 OPTIONS_DEFINE= NLS ICONBROWSER
26 ICONBROWSER_DESC= Build YAD icon browser
30 OPTIONS_SINGLE_GTK= GTK2 GTK3
34 NLS_CONFIGURE_OFF= --disable-nls
35 GTK2_CONFIGURE_ON= --with-gtk=gtk2
37 GTK3_CONFIGURE_ON= --with-gtk=gtk3
39 ICONBROWSER_CONFIGURE_ENABLE= icon-browser
41 .include <bsd.port.options.mk>
44 .if empty(PORT_OPTIONS:MNLS)
45 @${REINPLACE_CMD} -e '/^SUBDIRS =/ s/ po//' ${WRKSRC}/Makefile
48 .include <bsd.port.mk>