summaryrefslogblamecommitdiffstats
path: root/x11/zenity3/Makefile
blob: da1b439bdde23b62657a2692cb6f70322d300bea (plain) (tree)
1
2
3
4
5
6

                                                  
                                                                               

                      
                     








                                                           
                                                    
 
                       
                                     
                                          

                   
                   
                                      
                                  
                               






                            



                              
                                                          





                                           
# Created by: Franz Klammer <klammer@webonaut.com>
# $FreeBSD$
#   $MCom: ports/trunk/x11/zenity3/Makefile 18610 2013-06-30 16:33:05Z marcus $

PORTNAME=   zenity
PORTVERSION=    3.6.0
CATEGORIES= x11 gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Display GNOME dialogs from the command line

LICENSE=    LGPL20

BUILD_DEPENDS=  itstool:${PORTSDIR}/textproc/itstool

LATEST_LINK=    zenity3
USES=       gettext gmake pathfix
USE_GNOME=  gnomeprefix gtk30 intlhack
USE_XORG=   x11
USE_XZ=     yes
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ENV=  LIBS="-pthread"

MAN1=       zenity.1

CONFLICTS=  gtkada-1.2.*

OPTIONS_DEFINE= NOTIFY
OPTIONS_DEFAULT=NOTIFY

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNOTIFY}
LIB_DEPENDS+=       notify:${PORTSDIR}/devel/libnotify
CONFIGURE_ARGS+=    --enable-libnotify
.else
CONFIGURE_ARGS+=    --disable-libnotify
.endif

.include <bsd.port.mk>