summaryrefslogtreecommitdiffstats
path: root/x11/zenity/Makefile
blob: c08a6bfb7846147e52927cd0c9c30939c001e41d (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
# Created by: Franz Klammer <klammer@webonaut.com>
# $FreeBSD$
#   $MCom$

PORTNAME=   zenity
PORTVERSION=    2.32.1
PORTREVISION=   2
CATEGORIES= x11 gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

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

BUILD_DEPENDS=  rarian-sk-config:${PORTSDIR}/textproc/rarian
RUN_DEPENDS=    rarian-sk-config:${PORTSDIR}/textproc/rarian

CONFLICTS=  gtkada-1.2.* zenity3-*

USE_GNOME=  gnomeprefix gtk20 gnomedocutils intlhack
USES=       gettext gmake pathfix pkgconfig tar:bzip2
GNU_CONFIGURE=  yes
INSTALLS_OMF=   yes
CPPFLAGS+=  -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+=   -L${LOCALBASE}/lib

OPTIONS_DEFINE= NOTIFY
OPTIONS_DEFAULT=NOTIFY

.include <bsd.port.options.mk>

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

.include <bsd.port.mk>