aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/xfce4-notifyd/Makefile
blob: 96f8bd74266d8e7557ea0052dbbebaeee057d30b (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
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$

PORTNAME=   xfce4-notifyd
PORTVERSION=    0.2.3
PORTREVISION=   1
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

USES=       pkgconfig
USE_AUTOTOOLS=  libtool
GNU_CONFIGURE=  yes
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  gtk20 intltool intlhack desktopfileutils
USE_XFCE=   configenv libmenu libutil xfconf
INSTALLS_ICONS= yes
USE_XORG=   x11
MAKE_JOBS_SAFE= yes

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

MAN1=   xfce4-notifyd-config.1

OPTIONS_DEFINE= NLS

.include <bsd.port.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

post-install:
    @-update-desktop-database

.include <bsd.port.mk>