1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/deskutils/xfce4-notification-daemon/Makefile
Olivier Duchateau edee314615 - Bump PORTREVISION after update of x11/libxfce4util, and x11-wm/xfce4-panel
While I'm here,
- Finish to convert USES
- Trim Makefile header
- Remove ABI version in LIB_DEPENDS
- Remove desktopfileutils, because MimeType entry is not present in desktop file
2013-05-08 16:05:21 +00:00

75 lines
1.9 KiB
Makefile

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= notification-daemon
PORTVERSION= 0.3.7
PORTREVISION= 19
CATEGORIES= deskutils xfce
MASTER_SITES= CRITICAL/
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= sexy:${PORTSDIR}/x11-toolkits/libsexy \
dbus-glib-1:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS= dbus-daemon:${PORTSDIR}/devel/dbus
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
USE_BZIP2= yes
USE_GNOME= librsvg2
USE_GMAKE= yes
USE_LDCONFIG= yes
USE_XFCE= configenv libutil libgui
MAKE_JOBS_SAFE= yes
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/xfce4 \
--libexecdir=${PREFIX}/libexec/xfce4 \
--with-dbus-services=${PREFIX}/share/dbus-1/services
CONFLICTS= notification-daemon-[0-9]* xfce4-notifyd-[0-9]* 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
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.am \
${WRKSRC}/src/daemon/Makefile.in \
${WRKSRC}/src/themes/bubble/Makefile.am \
${WRKSRC}/src/themes/bubble/Makefile.in \
${WRKSRC}/src/themes/standard/Makefile.am \
${WRKSRC}/src/themes/standard/Makefile.in
.if empty(PORT_OPTIONS:MNLS)
@${REINPLACE_CMD} -e 's|\(USE_NLS=\)yes|\1no|' ${WRKSRC}/configure
.endif
.include <bsd.port.mk>