summaryrefslogtreecommitdiffstats
path: root/mail/mail-notification/Makefile
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-28 01:14:34 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-28 01:14:34 +0800
commitb8cefccbf48878d3527391bc2538cb2d8b43b0b4 (patch)
treee646990f22da96086f9c60ae5e3a88d4b4438b87 /mail/mail-notification/Makefile
parent1e92436fab29624e273754f0421786629a5973ed (diff)
downloadmarcuscom-ports-b8cefccbf48878d3527391bc2538cb2d8b43b0b4.tar.gz
marcuscom-ports-b8cefccbf48878d3527391bc2538cb2d8b43b0b4.tar.zst
marcuscom-ports-b8cefccbf48878d3527391bc2538cb2d8b43b0b4.zip
-USE_X_PREFIX -> USE_XLIB.
-X11BASE -> LOCALBASE, evolution lives in LOCALBASE. -Bump the PORTREVISION. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6857 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail/mail-notification/Makefile')
-rw-r--r--mail/mail-notification/Makefile98
1 files changed, 98 insertions, 0 deletions
diff --git a/mail/mail-notification/Makefile b/mail/mail-notification/Makefile
new file mode 100644
index 000000000..c0d382f05
--- /dev/null
+++ b/mail/mail-notification/Makefile
@@ -0,0 +1,98 @@
+# New ports collection makefile for: mail-notification
+# Date created: 18 Sep 2003
+# Whom: Jean-Yves Lefort <jylefort@brutele.be>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mail-notification
+PORTVERSION= 3.0
+PORTREVISION= 1
+CATEGORIES= mail ipv6
+MASTER_SITES= ${MASTER_SITE_SAVANNAH}
+MASTER_SITE_SUBDIR= mailnotify
+
+MAINTAINER= jylefort@FreeBSD.org
+COMMENT= A mail notification for freedesktop.org-compliant system trays
+
+USE_XLIB= yes
+USE_GNOME= gnomeprefix gnomehack eel2
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+GCONF_SCHEMAS= mail-notification.schemas
+INSTALLS_OMF= yes
+
+OPTIONS= MBOX "mbox support" on \
+ MH "MH support" on \
+ MAILDIR "Maildir support" on \
+ POP3 "POP3 support" on \
+ IMAP "IMAP support" on \
+ SSL "SSL/TLS support" on \
+ SASL "SASL authentication support" on \
+ GMAIL "Gmail support" on \
+ EVOLUTION "Evolution support" off \
+ SYLPHEED "Sylpheed support" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_MBOX)
+CONFIGURE_ARGS+=--disable-mbox
+.endif
+.if defined(WITHOUT_MH)
+CONFIGURE_ARGS+=--disable-mh
+.endif
+.if defined(WITHOUT_MAILDIR)
+CONFIGURE_ARGS+=--disable-maildir
+.endif
+.if defined(WITHOUT_POP3)
+CONFIGURE_ARGS+=--disable-pop3
+.endif
+.if defined(WITHOUT_IMAP)
+CONFIGURE_ARGS+=--disable-imap
+.endif
+.if defined(WITHOUT_POP3) && defined(WITHOUT_IMAP)
+# only POP3 and IMAP use SSL and SASL
+WITHOUT_SSL= yes
+WITHOUT_SASL= yes
+.endif
+.if defined(WITHOUT_GMAIL)
+CONFIGURE_ARGS+=--disable-gmail
+PLIST_SUB+= GMAIL="@comment "
+.else
+PLIST_SUB+= GMAIL=""
+.endif
+.if defined(WITHOUT_EVOLUTION)
+CONFIGURE_ARGS+=--disable-evolution
+PLIST_SUB+= EVOLUTION="@comment "
+.else
+BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/evolution-plugin-2.6.pc:${PORTSDIR}/mail/evolution
+RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/evolution-plugin-2.6.pc:${PORTSDIR}/mail/evolution
+PLIST_SUB+= EVOLUTION=""
+.endif
+.if defined(WITHOUT_SYLPHEED)
+CONFIGURE_ARGS+=--disable-sylpheed
+.endif
+.if defined(WITH_MBOX) \
+ || defined(WITH_MH) \
+ || defined(WITH_MAILDIR) \
+ || defined(WITH_POP3) \
+ || defined(WITH_IMAP) \
+ || defined(WITH_SYLPHEED)
+LIB_DEPENDS+= gmime-2.0.4:${PORTSDIR}/mail/gmime2
+.endif
+.if defined(WITHOUT_SSL)
+CONFIGURE_ARGS+=--disable-ssl
+.else
+# we can't use USE_OPENSSL=yes after including bsd.port.pre.mk
+.include "${PORTSDIR}/Mk/bsd.openssl.mk"
+.endif
+.if defined(WITHOUT_SASL)
+CONFIGURE_ARGS+=--disable-sasl
+.else
+LIB_DEPENDS+= sasl2:${PORTSDIR}/security/cyrus-sasl2
+.endif
+
+.include <bsd.port.post.mk>