Add an autocheck on libnotify if it exists. Current, it will depend on

libnotify if it is present. Also, added a new knob, WITH_NOTIFY. Bump the
PORTREVISION.

Reported by:	tmclaugh
This commit is contained in:
Jeremy Messenger 2006-07-07 03:37:42 +00:00
parent fc86b31b20
commit 8535752efe

View file

@ -8,6 +8,7 @@
PORTNAME= evolution
PORTVERSION= 2.6.2
PORTREVISION= 1
CATEGORIES= mail gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
@ -72,6 +73,11 @@ WITH_DBUS= yes
WITH_GSTREAMER= yes
.endif
.if exists(${LOCALBASE}/libdata/pkgconfig/libnotify.pc) || \
defined(WITH_NOTIFY)
LIB_DEPENDS+= notify:${PORTSDIR}/devel/libnotify
.endif
.if defined(WITH_PILOT)
LIB_DEPENDS+= gpilotdconduit.2:${PORTSDIR}/palm/gnome-pilot
CONFIGURE_ARGS+= --with-pisock=${LOCALBASE} \