aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/bmpx/Makefile
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2006-07-17 18:18:09 +0800
committernovel <novel@FreeBSD.org>2006-07-17 18:18:09 +0800
commit032d003679036a0d4fa968b71ed4e266cf5cf714 (patch)
treebf64ccec23e6dc26f6923cc60fc99d18fd9d2038 /multimedia/bmpx/Makefile
parent53288154bbf5faf7a9cff01fc02d144e9a2490cf (diff)
downloadfreebsd-ports-gnome-032d003679036a0d4fa968b71ed4e266cf5cf714.tar.gz
freebsd-ports-gnome-032d003679036a0d4fa968b71ed4e266cf5cf714.tar.zst
freebsd-ports-gnome-032d003679036a0d4fa968b71ed4e266cf5cf714.zip
- Add WITHOUT_LIBNOTIFY knob which allows to disable libnotify support
- In case when libnotify support is enabled, add RUN_DEPEND on deskutils/notification-daemon [1] - Bump PORTREVISION Reported by: [LoN]Kamikaze [1]
Diffstat (limited to 'multimedia/bmpx/Makefile')
-rw-r--r--multimedia/bmpx/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/multimedia/bmpx/Makefile b/multimedia/bmpx/Makefile
index 2c588f49d73b..ce0d0093d968 100644
--- a/multimedia/bmpx/Makefile
+++ b/multimedia/bmpx/Makefile
@@ -7,6 +7,7 @@
PORTNAME= bmpx
PORTVERSION= 0.20.2
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://files.beep-media-player.org/releases/${PORTVERSION:C/\.[0-9]*$//}/
@@ -19,7 +20,6 @@ LIB_DEPENDS= tag.5:${PORTSDIR}/audio/taglib \
neon.25:${PORTSDIR}/www/neon \
glademm-2.4.1:${PORTSDIR}/devel/libglademm24 \
gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
- notify.2:${PORTSDIR}/devel/libnotify \
boost_date_time.3:${PORTSDIR}/devel/boost \
dbus-1.2:${PORTSDIR}/devel/dbus
@@ -57,6 +57,14 @@ USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
+.if !defined(WITHOUT_LIBNOTIFY)
+CONFIGURE_ARGS+= --enable-libnotify
+LIB_DEPENDS+= notify.2:${PORTSDIR}/devel/libnotify
+RUN_DEPENDS+= ${X11BASE}/libexec/notification-daemon:${PORTSDIR}/deskutils/notification-daemon
+.else
+CONFIGURE_ARGS+= --disable-libnotify
+.endif
+
.include <bsd.port.pre.mk>
post-extract: