summaryrefslogtreecommitdiff
path: root/deskutils/xfce4-notifyd/Makefile
blob: 252710ae1caf391dc4bbe806dd6e5d8e10174135 (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
46
47
48
49
50
51
52
53
54
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$

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

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Visually-appealing notification daemon for Xfce

LICENSE=	GPLv3

LIB_DEPENDS=	dbus-glib:${PORTSDIR}/devel/dbus-glib \
		notify:${PORTSDIR}/devel/libnotify

USE_AUTOTOOLS=	libtool
GNU_CONFIGURE=	yes
USE_BZIP2=	yes
USE_GMAKE=	yes
USE_GNOME=	gtk20 gnomehack intltool intlhack desktopfileutils
USE_PKGCONFIG=	build
USE_XFCE=	configenv libexo libmenu libutil xfconf
INSTALLS_ICONS=	yes
USE_XORG=	x11

CONFIGURE_ARGS=	--disable-debug

CONFLICTS=	notification-daemon-[0-9]* xfce4-notification-daemon-[0-9]* \
		xfce4-notifyd-0.1*

MAN1=	xfce4-notifyd-config.1

OPTIONS_DEFINE=	NLS
OPTIONS_DEFAULT=NLS

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT=	yes
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+=	NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+=	NLS="@comment "
.endif

post-install:
	@-update-desktop-database

.include <bsd.port.mk>