45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# Created by: Franz Klammer <klammer@webonaut.com>
|
|
# $FreeBSD$
|
|
# $MCom: ports/x11/zenity/Makefile,v 1.119 2013/01/09 18:51:14 kwm Exp $
|
|
|
|
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
|
|
|
|
USES= pathfix gettext gmake pkgconfig
|
|
USE_GNOME= gnomeprefix gtk20 gnomedocutils intlhack
|
|
USE_BZIP2= yes
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_OMF= yes
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lintl
|
|
CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}"
|
|
|
|
MAN1= zenity.1
|
|
|
|
CONFLICTS= gtkada-1.2.*
|
|
|
|
OPTIONS_DEFINE= NOTIFY
|
|
OPTIONS_DEFAULT=NOTIFY
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if !defined(WITHOUT_NOTIFY)
|
|
LIB_DEPENDS+= notify:${PORTSDIR}/devel/libnotify
|
|
CONFIGURE_ARGS+= --enable-libnotify
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-libnotify
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|