summaryrefslogtreecommitdiffstats
path: root/x11/zenity3/Makefile
blob: cd74e2f1233c12d41711d8efebefaf1344df9ddb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Created by: Franz Klammer <klammer@webonaut.com>
# $FreeBSD$
#   $MCom: ports/x11/zenity3/Makefile,v 1.7 2013/01/09 18:51:14 kwm Exp $

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 pathfix
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix gtk30 gnomedocutils 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>