aboutsummaryrefslogtreecommitdiff
path: root/mail/mail-notification/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-notification/Makefile')
-rw-r--r--mail/mail-notification/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/mail/mail-notification/Makefile b/mail/mail-notification/Makefile
index c20ed31ddb08..7ce2cf1be6a3 100644
--- a/mail/mail-notification/Makefile
+++ b/mail/mail-notification/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mail-notification
-PORTVERSION= 0.4.0
+PORTVERSION= 0.5.0
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= mailnotify
@@ -17,6 +17,7 @@ COMMENT= A mail notification for freedesktop.org-compliant system trays
USE_X_PREFIX= yes
USE_GNOME= gnomeprefix gnomehack eel2
GNU_CONFIGURE= yes
+USE_GMAKE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@@ -24,7 +25,8 @@ OPTIONS= MBOX "mbox support" on \
MH "MH support" on \
MAILDIR "Maildir support" on \
POP3 "POP3 support" on \
- SYLPHEED "Sylpheed support" on
+ SYLPHEED "Sylpheed support" on \
+ GMAIL "Gmail support" on
.include <bsd.port.pre.mk>
@@ -45,5 +47,10 @@ LIB_DEPENDS+= gnet-2.0:${PORTSDIR}/net/gnet2
.if defined(WITHOUT_SYLPHEED)
CONFIGURE_ARGS+= --disable-sylpheed
.endif
+.if defined(WITHOUT_GMAIL)
+CONFIGURE_ARGS+= --disable-gmail
+.else
+LIB_DEPENDS+= soup-2.0:${PORTSDIR}/devel/libsoup
+.endif
.include <bsd.port.post.mk>