pkgsrc/mail/claws-mail/Makefile.common

57 lines
1.8 KiB
Makefile

# $NetBSD: Makefile.common,v 1.5 2007/09/18 06:40:36 wiz Exp $
DISTNAME= claws-mail-${CLAWS_VERSION}
CATEGORIES= mail news x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sylpheed-claws/}
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://claws-mail.org/
DISTINFO_FILE= ${.CURDIR}/../../mail/claws-mail/distinfo
PATCHDIR= ${.CURDIR}/../../mail/claws-mail/patches
.include "../../mail/claws-mail/openssl.mk"
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"
#LICENSE= gplv3
CONFIGURE_ARGS+= --enable-aspell
CONFIGURE_ARGS+= --enable-nls
CONFIGURE_ARGS+= --enable-openssl
CONFIGURE_ARGS+= --enable-compface
CONFIGURE_ARGS+= --disable-gpgme
CONFIGURE_ARGS+= --disable-pgpcore-plugin
CONFIGURE_ARGS+= --disable-pgpmime-plugin
CONFIGURE_ARGS+= --disable-pgpinline-plugin
CONFIGURE_ARGS+= --disable-trayicon-plugin
CONFIGURE_ARGS+= --disable-image-viewer-plugin
CONFIGURE_ARGS+= --disable-clamav-plugin
CONFIGURE_ARGS+= --disable-dillo-viewer-plugin
CONFIGURE_ARGS+= --disable-mathml-viewer-plugin
CONFIGURE_ARGS+= --disable-gnomeprint
BUILDLINK_ABI_DEPENDS.libetpan+= libetpan>=0.49
CONFIGURE_ARGS+= --enable-libetpan
.include "../../mail/libetpan/buildlink3.mk"
#.if !empty(PKG_BUILD_OPTIONS.claws-mail:Mbogofilter)
#CONFIGURE_ARGS+= --enable-bogofilter-plugin
#.else
#CONFIGURE_ARGS+= --disable-bogofilter-plugin
#.endif
#.if !empty(PKG_BUILD_OPTIONS.claws-mail:Mspamassassin)
#CONFIGURE_ARGS+= --enable-spamassassin-plugin
#.else
#CONFIGURE_ARGS+= --disable-spamassassin-plugin
#.endif
CONFIGURE_ARGS+= --disable-bogofilter-plugin
CONFIGURE_ARGS+= --disable-spamassassin-plugin
.include "../../mail/claws-mail/Makefile.vers"