# $MidnightBSD: trunk/deskutils/xfce4-notifyd/Makefile 17635 2014-09-28 22:29:44Z laffer1 $

PORTNAME=	xfce4-notifyd
PORTVERSION=	0.2.4
CATEGORIES=	deskutils xfce
MASTER_SITES=	XFCE
MASTER_SITE_SUBDIR=	src/apps/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR=	xfce4

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	Visually-appealing notification daemon for Xfce

LICENSE=	gpl3

LIB_DEPENDS=	libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
		libnotify.so:${PORTSDIR}/devel/libnotify

USES=		gmake libtool pkgconfig tar:bzip2
GNU_CONFIGURE=	yes
USE_GNOME=	gtk20 intltool intlhack
USE_XFCE=	configenv libmenu libutil xfconf
INSTALLS_ICONS=	yes
USE_XORG=	x11

CONFLICTS=	notification-daemon-[0-9]* xfce4-notification-daemon-[0-9]*

OPTIONS_DEFINE=	NLS

.include <bsd.mport.options.mk>

.if ${PORT_OPTIONS:MNLS}
USES+=		gettext
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+=	NLS=""
.else
EXTRA_PATCHES=	${FILESDIR}/extra-patch-configure
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+=	NLS="@comment "
.endif

.include <bsd.port.mk>
