pkgsrc/mail/mail-notification/Makefile
jlam 7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00

66 lines
1.9 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2005/08/10 20:56:19 jlam Exp $
#
DISTNAME= mail-notification-1.0
PKGREVISION= 2
CATEGORIES= mail gnome
MASTER_SITES= http://savannah.nongnu.org/download/mailnotify/
MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= http://www.nongnu.org/mailnotify/
COMMENT= Status icon that provides new mail notifications
GNU_CONFIGURE= YES
USE_DIRS+= gnome2-1.5
USE_TOOLS+= gmake pkg-config
USE_PKGINSTALL= YES
USE_PKGLOCALEDIR= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
GCONF2_SCHEMAS= mail-notification.schemas
EGDIR= ${PREFIX}/share/examples/mail-notification
CONF_FILES= ${EGDIR}/sound/events/mail-notification.soundlist \
${PKG_SYSCONFDIR}/sound/events/mail-notification.soundlist
PKG_OPTIONS_VAR= PKG_OPTIONS.mail-notification
PKG_SUPPORTED_OPTIONS= inet6 sasl ssl
PKG_OPTIONS_LEGACY_OPTS+= ipv6:inet6
.include "../../mk/bsd.prefs.mk"
.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-sasl2/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/eel2/buildlink3.mk"
.include "../../devel/GConf2/schemas.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libbonobo/buildlink3.mk"
.include "../../devel/libglade2/buildlink3.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../net/libsoup/buildlink3.mk"
.include "../../net/ORBit2/buildlink3.mk"
.include "../../sysutils/gnome-vfs2/buildlink3.mk"
.include "../../textproc/intltool/buildlink3.mk"
.include "../../textproc/scrollkeeper/omf.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"