pkgsrc/mail/mail-notification/Makefile
2008-07-14 12:55:56 +00:00

66 lines
1.9 KiB
Makefile

# $NetBSD: Makefile,v 1.44 2008/07/14 12:56:08 joerg Exp $
#
DISTNAME= mail-notification-5.0
PKGREVISION= 2
CATEGORIES= mail gnome
MASTER_SITES= http://savannah.nongnu.org/download/mailnotify/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://www.nongnu.org/mailnotify/
COMMENT= Status icon that provides new mail notifications
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
USE_DIRS+= gnome2-1.5
USE_TOOLS+= gmake intltool msgfmt pkg-config
USE_PKGLOCALEDIR= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
GCONF_SCHEMAS= mail-notification.schemas
PKG_OPTIONS_VAR= PKG_OPTIONS.mail-notification
PKG_SUPPORTED_OPTIONS= inet6 sasl ssl
PKG_SUGGESTED_OPTIONS= ssl
.include "../../mk/bsd.options.mk"
# Whether to add IPv6 support.
.if empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --disable-ipv6
.endif
# Whether to add SASL2 support.
.if !empty(PKG_OPTIONS:Msasl)
. include "../../security/cyrus-sasl/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-sasl
.endif
# Whether to add SSL support.
.if !empty(PKG_OPTIONS:Mssl)
. include "../../security/openssl/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-ssl
.endif
.include "../../devel/eel/buildlink3.mk"
.include "../../devel/GConf/schemas.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libbonobo/buildlink3.mk"
.include "../../devel/libglade/buildlink3.mk"
.include "../../devel/libgnome/buildlink3.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../mail/gmime/buildlink3.mk"
.include "../../net/ORBit2/buildlink3.mk"
.include "../../sysutils/gnome-vfs/buildlink3.mk"
.include "../../sysutils/libnotify/buildlink3.mk"
.include "../../textproc/scrollkeeper/omf.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"