freebsd-ports/deskutils/xfce4-notification-daemon/Makefile
Olivier Duchateau 86e4cb7cb0 The FreeBSD Xfce team proudly presents Xfce 4.12.
Announce: http://www.xfce.org/about/news/?post=1425081600

Global changes:
- Switch to USES= xfce (D677)
- Reorganize options helper
- Fix USES= gettext-* when NLS option is not set [1], [2]
- Add LICENSE (when missing)

Update:
- to 4.12 (core components)
- audio/xfce4-mpc-plugin to 0.4.5
- deskutils/xfce4-tumbler to 0.1.31
- deskutils/xfce4-xkb-plugin to 0.7.1
- editors/mousepad to 0.4.0
- graphics/ristretto to 0.8.0
- multimedia/xfce4-parole to 0.8.0
- sysutils/garcon to 0.4.0
- sysutils/xfce4-diskperf-plugin to 2.5.5 [3]
- sysutils/xfce4-fsguard-plugin to 1.0.2
- sysutils/xfce4-power-manager to 1.4.3
- sysutils/xfce4-wavelan-plugin to 0.5.12
- x11/libexo to 0.10.3
- x11-fm/thunar to 1.6.6
- x11-themes/gtk-xfce-engine to 3.2.0

PR:		196003 [1], 197251 [2], 198132
Differential Revision:	https://reviews.freebsd.org/D677
Submitted by:	Kamil Szczesny [1], amdmi3@ [2], myself
Exp-run by:	antoine@
Approved by:	danilo@ (maintainer) [3]
Tested by:	Ivan <enitarzi@gmail.com>
2015-03-05 22:52:30 +00:00

71 lines
1.8 KiB
Makefile

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= notification-daemon
PORTVERSION= 0.3.7
PORTREVISION= 22
CATEGORIES= deskutils xfce
MASTER_SITES= LOCAL/ehaupt/
PKGNAMEPREFIX= xfce4-
DISTNAME= ${PORTNAME}-xfce-${PORTVERSION}
DIST_SUBDIR= xfce4
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Port of Gnome's notification-daemon for the Xfce desktop
LICENSE= GPLv2
BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
LIB_DEPENDS= libsexy.so:${PORTSDIR}/x11-toolkits/libsexy \
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS= dbus-daemon:${PORTSDIR}/devel/dbus
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
USES= gmake libtool pkgconfig gettext-tools xfce tar:bzip2
USE_GNOME= librsvg2
USE_LDCONFIG= yes
USE_XFCE= libgui
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/xfce4 \
--libexecdir=${PREFIX}/libexec/xfce4 \
--with-dbus-services=${PREFIX}/share/dbus-1/services
CONFLICTS= notify-osd-[0-9]*
OPTIONS_DEFINE= GRADIENT CLOSE NLS
GRADIENT_DESC= Show a gradient look in the default theme
CLOSE_DESC= Show the close button in the default theme
OPTIONS_DEFAULT=CLOSE NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext-runtime
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
.endif
.if ${PORT_OPTIONS:MGRADIENT}
CONFIGURE_ARGS+= --enable-gradient-look
.endif
.if ${PORT_OPTIONS:MCLOSE}
CONFIGURE_ARGS+= --disable-close-button
.endif
post-patch:
@${REINPLACE_CMD} -e 's|\(notification-daemon-xfce\)-1.0|\1|' \
${WRKSRC}/src/daemon/Makefile.in \
${WRKSRC}/src/themes/bubble/Makefile.in \
${WRKSRC}/src/themes/standard/Makefile.in
@${REINPLACE_CMD} '/GTK_LIBS =/s/$$/ -lgmodule-2.0 -lX11/' \
${WRKSRC}/src/daemon/Makefile.in
.if empty(PORT_OPTIONS:MNLS)
@${REINPLACE_CMD} -e 's|\(USE_NLS=\)yes|\1no|' ${WRKSRC}/configure
.endif
.include <bsd.port.mk>