2003-07-13 15:50:19 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2003/07/13 13:52:28 wiz Exp $
|
2003-03-22 02:45:15 +01:00
|
|
|
#
|
2002-06-01 13:43:29 +02:00
|
|
|
|
2003-03-22 02:45:15 +01:00
|
|
|
DISTNAME= sylpheed-0.8.11claws
|
|
|
|
PKGNAME= sylpheed-claws-0.8.11
|
2003-07-13 15:50:19 +02:00
|
|
|
PKGREVISION= 3
|
2002-06-01 13:43:29 +02:00
|
|
|
CATEGORIES= mail news x11
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sylpheed-claws/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2002-12-30 00:45:30 +01:00
|
|
|
MAINTAINER= chris@netbsd.org
|
2002-06-01 13:43:29 +02:00
|
|
|
HOMEPAGE= http://sylpheed-claws.sourceforge.net/
|
|
|
|
COMMENT= X based e-mail and netnews client
|
|
|
|
|
|
|
|
BUILD_USES_MSGFMT= yes
|
|
|
|
|
2002-12-01 16:37:58 +01:00
|
|
|
CONFLICTS= sylpheed-[0-9]*
|
|
|
|
|
2002-09-24 23:58:43 +02:00
|
|
|
USE_BUILDLINK2= yes
|
2003-01-28 23:03:00 +01:00
|
|
|
USE_PKGINSTALL= yes
|
2002-12-01 16:37:58 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2003-03-22 02:45:15 +01:00
|
|
|
USE_X11= yes
|
2002-09-24 23:58:43 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2002-06-01 13:43:29 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2002-12-30 00:45:30 +01:00
|
|
|
# Force gnome detection off to avoid installing some extra files
|
2002-12-26 22:09:11 +01:00
|
|
|
CONFIGURE_ENV+= ac_cv_path_GNOME_CONFIG="no"
|
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-03-22 06:23:32 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-aspell
|
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
|
|
|
|
|
|
|
.if defined(USE_INET6) && ${USE_INET6} == YES
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
|
|
.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"
|
|
|
|
.include "../../graphics/gdk-pixbuf/buildlink2.mk"
|
2002-09-24 23:58:43 +02:00
|
|
|
.include "../../security/gpgme/buildlink2.mk"
|
|
|
|
.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"
|