summaryrefslogtreecommitdiffstats
path: root/x11/zenity3/Makefile
blob: b197abbf65865baa2f5fddd57963ed1b01c18a8a (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
# New ports collection makefile for:    zenity
# Date created:             01 Mar 2003
# Whom:                 Franz Klammer <klammer@webonaut.com>
#
# $FreeBSD$
#   $MCom: ports/x11/zenity3/Makefile,v 1.1 2010/07/14 10:49:24 kwm Exp $
#

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

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

LICENSE=    LGPL20
LICENSE_FILE=   ${WRKSRC}/COPYING
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix gnomehack gtk30 gnomedocutils intlhack
USE_XORG=   x11
USE_BZIP2=  yes
USE_GETTEXT=    yes
GNU_CONFIGURE=  yes
INSTALLS_OMF=   yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
        LDFLAGS="-L${LOCALBASE}/lib" LIBS="${PTHREAD_LIBS}"

MAN1=       zenity.1

CONFLICTS=  gtkada-1.2.*

OPTIONS=    NOTIFY "Enable libnotify support" on

.include <bsd.port.options.mk>

.if !defined(WITHOUT_NOTIFY)
LIB_DEPENDS+=       notify.1:${PORTSDIR}/devel/libnotify
CONFIGURE_ARGS+=    --enable-libnotify
.else
CONFIGURE_ARGS+=    --disable-libnotify
.endif

.include <bsd.port.mk>