freebsd-ports/x11/zenity/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

46 lines
1.1 KiB
Makefile

# New ports collection makefile for: zenity
# Date created: 01 Mar 2003
# Whom: Franz Klammer <klammer@webonaut.com>
#
# $FreeBSD$
# $MCom: ports/x11/zenity/Makefile,v 1.111 2010/11/16 10:25:21 kwm Exp $
#
PORTNAME= zenity
PORTVERSION= 2.32.1
PORTREVISION= 1
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
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack gtk20 gnomedocutils intlhack
USE_BZIP2= yes
USE_GETTEXT= yes
GNU_CONFIGURE= yes
INSTALLS_OMF= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
MAN1= zenity.1
CONFLICTS= gtkada-1.2.*
OPTIONS= NOTIFY "Enable libnotify support" on
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_NOTIFY)
LIB_DEPENDS+= notify.4:${PORTSDIR}/devel/libnotify
CONFIGURE_ARGS+= --enable-libnotify
.else
CONFIGURE_ARGS+= --disable-libnotify
.endif
.include <bsd.port.post.mk>