diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2006-07-17 10:18:09 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2006-07-17 10:18:09 +0000 |
commit | 6d1f03407f26c4f8c12edd31812871208e33887d (patch) | |
tree | 9754ae544a8f4f187c04669819ceade295cf94c5 /multimedia/bmpx | |
parent | 8e16deea6ea9859527e5be6f0eb679be07a723ee (diff) | |
download | ports-6d1f03407f26c4f8c12edd31812871208e33887d.tar.gz ports-6d1f03407f26c4f8c12edd31812871208e33887d.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]
Notes
Notes:
svn path=/head/; revision=168066
Diffstat (limited to 'multimedia/bmpx')
-rw-r--r-- | multimedia/bmpx/Makefile | 10 |
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: |