[BACK]Return to Makefile.common CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mail / claws-mail

File: [cvs.NetBSD.org] / pkgsrc / mail / claws-mail / Makefile.common (download)

Revision 1.25, Mon Nov 21 18:20:43 2022 UTC (2 months, 2 weeks ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, HEAD
Changes since 1.24: +3 -1 lines

*: Re-apply SunOS linker argument removals.

These are currently duplicated in mk/platform/SunOS.mk but the generic
removals will be removed soon in favour of per-package removals, due to
flags getting leaked into installed files.

# $NetBSD: Makefile.common,v 1.25 2022/11/21 18:20:43 jperkin Exp $

# used by mail/claws-mail/plugins.mk

.include "../../mail/claws-mail/Makefile.vers"

DISTNAME=	claws-mail-${CLAWS_VERSION}
CATEGORIES=	mail news x11
MASTER_SITES=	https://www.claws-mail.org/download.php?file=releases/
EXTRACT_SUFX=	.tar.xz

HOMEPAGE=	https://claws-mail.org/
LICENSE=	gnu-gpl-v3

DISTINFO_FILE=	${.CURDIR}/../../mail/claws-mail/distinfo
PATCHDIR=	${.CURDIR}/../../mail/claws-mail/patches

USE_TOOLS+=		gmake pkg-config
USE_LANGUAGES+=		c
USE_LIBTOOL=		YES
USE_PKGLOCALEDIR=	YES

GNU_CONFIGURE=		YES
# Force gnome detection off to avoid installing some extra files
CONFIGURE_ENV+=		ac_cv_path_GNOME_CONFIG="no"

CONFIGURE_ARGS+=	--enable-enchant
CONFIGURE_ARGS+=	--enable-nls
CONFIGURE_ARGS+=	--enable-compface
CONFIGURE_ARGS+=	--disable-manual
CONFIGURE_ARGS+=	--disable-pgpcore-plugin
CONFIGURE_ARGS+=	--disable-pgpmime-plugin
CONFIGURE_ARGS+=	--disable-pgpinline-plugin
BUILDLINK_ABI_DEPENDS.libetpan+=	libetpan>=0.57
CONFIGURE_ARGS+=	--enable-libetpan
CONFIGURE_ARGS+=	--disable-bogofilter-plugin
CONFIGURE_ARGS+=	--disable-spamassassin-plugin

CONFIGURE_ARGS+=	--disable-acpi_notifier-plugin
CONFIGURE_ARGS+=	--disable-address_keeper-plugin
CONFIGURE_ARGS+=	--disable-archive-plugin
CONFIGURE_ARGS+=	--disable-att_remover-plugin
CONFIGURE_ARGS+=	--disable-attachwarner-plugin
CONFIGURE_ARGS+=	--disable-bsfilter-plugin
CONFIGURE_ARGS+=	--disable-clamd-plugin
CONFIGURE_ARGS+=	--disable-dillo-plugin
CONFIGURE_ARGS+=	--disable-fancy-plugin
CONFIGURE_ARGS+=	--disable-fetchinfo-plugin
CONFIGURE_ARGS+=	--disable-gdata-plugin
CONFIGURE_ARGS+=	--disable-libravatar-plugin
CONFIGURE_ARGS+=	--disable-litehtml_viewer-plugin
CONFIGURE_ARGS+=	--disable-mailmbox-plugin
CONFIGURE_ARGS+=	--disable-managesieve-plugin
CONFIGURE_ARGS+=	--disable-newmail-plugin
CONFIGURE_ARGS+=	--disable-notification-plugin
CONFIGURE_ARGS+=	--disable-pdf_viewer-plugin
CONFIGURE_ARGS+=	--disable-python-plugin
CONFIGURE_ARGS+=	--disable-rssyl-plugin
CONFIGURE_ARGS+=	--disable-smime-plugin
CONFIGURE_ARGS+=	--disable-spam_report-plugin
CONFIGURE_ARGS+=	--disable-tnef_parse-plugin
CONFIGURE_ARGS+=	--disable-perl-plugin
CONFIGURE_ARGS+=	--disable-vcalendar-plugin

BUILDLINK_TRANSFORM.SunOS+=	rm:-Wl,--export-dynamic

.include "../../devel/glib2/buildlink3.mk"
.include "../../mail/libetpan/buildlink3.mk"
#.include "../../net/libsoup/buildlink3.mk"
.include "../../security/gnutls/buildlink3.mk"
.include "../../textproc/enchant2/buildlink3.mk"
.include "../../x11/gtk3/buildlink3.mk"