2004-02-26 15:07:23 +01:00
|
|
|
# $NetBSD: Makefile,v 1.30 2004/02/26 14:07:23 minskim Exp $
|
2003-03-22 02:45:15 +01:00
|
|
|
#
|
2002-06-01 13:43:29 +02:00
|
|
|
|
2004-01-01 22:39:02 +01:00
|
|
|
.include "Makefile.common"
|
|
|
|
|
|
|
|
PKGNAME= sylpheed-claws-${SYLPHEED_VERSION}
|
2002-06-01 13:43:29 +02:00
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= chris@NetBSD.org
|
2002-06-01 13:43:29 +02:00
|
|
|
COMMENT= X based e-mail and netnews client
|
|
|
|
|
2003-09-28 13:38:51 +02:00
|
|
|
CONFLICTS= sylpheed-[0-9]* sylpheed-gtk2-[0-9]*
|
2002-12-01 16:37:58 +01:00
|
|
|
|
2004-01-01 22:39:02 +01:00
|
|
|
BUILD_USES_MSGFMT= YES
|
2003-12-11 16:22:28 +01:00
|
|
|
USE_PKGINSTALL= YES
|
2004-02-14 19:26:26 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= sylpheed-claws.pc.in
|
2003-12-11 16:22:28 +01:00
|
|
|
|
2003-09-03 20:19:42 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-aspell
|
2002-06-01 13:43:29 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-nls
|
2002-12-30 19:45:57 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-openssl
|
2002-09-24 23:58:43 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-gpgme
|
2002-07-26 11:02:35 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-compface
|
2003-09-03 20:19:42 +02:00
|
|
|
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-spamassassin-plugin
|
|
|
|
CONFIGURE_ARGS+= --disable-mathml-viewer-plugin
|
2002-12-08 01:15:22 +01:00
|
|
|
|
|
|
|
PKG_SYSCONFSUBDIR= sylpheed
|
2002-07-29 10:10:49 +02:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
2002-06-01 13:43:29 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2002-12-08 01:15:22 +01:00
|
|
|
BUILD_DEFS+= USE_INET6 USE_OPENLDAP
|
2002-06-01 13:43:29 +02:00
|
|
|
|
2004-02-26 15:07:23 +01:00
|
|
|
.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
|
2002-06-01 13:43:29 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
2004-02-26 15:07:23 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
2002-06-01 13:43:29 +02:00
|
|
|
.endif
|
|
|
|
|
2002-09-24 23:58:43 +02:00
|
|
|
FACES_IS_INSTALLED!= ${PKG_INFO} -e faces || ${ECHO}
|
|
|
|
.if empty(FACES_IS_INSTALLED)
|
|
|
|
. include "../../graphics/compface/buildlink2.mk"
|
|
|
|
.else
|
|
|
|
. include "../../mail/faces/buildlink2.mk"
|
|
|
|
.endif
|
2002-12-08 01:15:22 +01:00
|
|
|
|
|
|
|
.if defined(USE_OPENLDAP) && ${USE_OPENLDAP} == YES
|
|
|
|
CONFIGURE_ARGS+= --enable-ldap
|
|
|
|
.include "../../databases/openldap/buildlink2.mk"
|
|
|
|
.endif
|
|
|
|
|
2002-12-30 00:45:30 +01:00
|
|
|
EGDIR= ${PREFIX}/share/examples/sylpheed
|
|
|
|
CONF_FILES= ${EGDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/mime.types ${EGDIR}
|
2003-03-22 02:45:15 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/sylpheed*.png ${PREFIX}/share/sylpheed
|
2002-12-08 01:15:22 +01:00
|
|
|
|
|
|
|
.include "../../converters/libiconv/buildlink2.mk"
|
2003-12-14 18:56:39 +01:00
|
|
|
.include "../../security/gpgme03/buildlink2.mk"
|
2002-09-24 23:58:43 +02:00
|
|
|
.include "../../security/openssl/buildlink2.mk"
|
2003-03-22 06:23:32 +01:00
|
|
|
.include "../../textproc/aspell/buildlink2.mk"
|
2002-09-24 23:58:43 +02:00
|
|
|
.include "../../x11/gtk/buildlink2.mk"
|
2002-07-29 10:10:49 +02:00
|
|
|
|
2002-06-01 13:43:29 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|