1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/x11/yad/Makefile
Danilo Egea Gondolfo c463b1d3d4 - Update to 0.40.0
2017-12-26 21:32:54 +00:00

49 lines
1.0 KiB
Makefile

# Created by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
# $FreeBSD$
PORTNAME= yad
PORTVERSION= 0.40.0
CATEGORIES= x11 gnome
MASTER_SITES= SF/${PORTNAME}-dialog/
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
USES= gettext gmake pkgconfig tar:xz
USE_GNOME= cairo intltool
GNU_CONFIGURE= yes
INSTALLS_OMF= yes
INSTALLS_ICONS= yes
CONFIGURE_ENV+= DATADIRNAME=share
CONFIGURE_ARGS+= --disable-html
OPTIONS_DEFINE= NLS ICONBROWSER
ICONBROWSER_DESC= Build YAD icon browser
OPTIONS_SUB= yes
OPTIONS_SINGLE= GTK
OPTIONS_SINGLE_GTK= GTK2 GTK3
OPTIONS_DEFAULT= GTK2
NLS_CONFIGURE_OFF= --disable-nls
GTK2_CONFIGURE_ON= --with-gtk=gtk2
GTK2_USE= GNOME=gtk20
GTK3_CONFIGURE_ON= --with-gtk=gtk3
GTK3_USE= GNOME=gtk30
ICONBROWSER_CONFIGURE_ENABLE= icon-browser
.include <bsd.port.options.mk>
post-configure:
.if empty(PORT_OPTIONS:MNLS)
@${REINPLACE_CMD} -e '/^SUBDIRS =/ s/ po//' ${WRKSRC}/Makefile
.endif
.include <bsd.port.mk>