Add support for libnotify which will actually fix the pointyhat build.

Reported by:	pointyhat via kris
Approved by:	portmgr (implicit)
This commit is contained in:
Joe Marcus Clarke 2007-05-20 00:37:05 +00:00
parent 5c263a96d2
commit bc52100481
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=191555

View File

@ -8,7 +8,7 @@
PORTNAME= balsa
PORTVERSION= 2.3.15
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= mail gnome
MASTER_SITES= http://www.theochem.kth.se/~pawsa/balsa/
DISTNAME= balsa-${PORTVERSION}
@ -48,6 +48,7 @@ MAN1= balsa.1
OPTIONS= LDAP "Enable LDAP support" on \
GTKSPELL "Spell checking support" on \
GTKSV "Enable GtkSourceview support" on \
NOTIFY "Enable libnotify support" on \
GPG "Enable GnuPG support" off
.include <bsd.port.pre.mk>
@ -72,6 +73,13 @@ USE_GNOME+= gtksourceview
CONFIGURE_ARGS+=--with-gtksourceview
.endif
.if !defined(WITHOUT_NOTIFY)
LIB_DEPENDS+= notify.1:${PORTSDIR}/devel/libnotify
CONFIGURE_ARGS+=--with-libnotify=yes
.else
CONFIGURE_ARGS+=--with-libnotify=no
.endif
.if ${PREFIX}==${LOCALBASE}
PLIST_SUB+= GTKICON="@comment "
.else