# New ports collection makefile for:	sylpheed-claws-maildir
# Date created:	3 April 2006
# Whom:	Pawel Pekala <c0rn@o2.pl>
#
# $FreeBSD: ports/mail/sylpheed-claws-maildir/Makefile,v 1.4 2006/10/05 09:28:22 miwi Exp $
#

PORTNAME=	maildir
PORTVERSION=	0.24.2
CATEGORIES=	mail
MASTER_SITES=	http://sylpheed-claws.net/downloads/plugins/
PKGNAMEPREFIX=	sylpheed-claws-

MAINTAINER=	c0rn@o2.pl
COMMENT=	Maildir++ plugin for sylpheed-claws

BUILD_DEPENDS=	sylpheed-claws>=2.5:${PORTSDIR}/mail/sylpheed-claws
RUN_DEPENDS=	sylpheed-claws>=2.5:${PORTSDIR}/mail/sylpheed-claws

USE_GMAKE=	yes
USE_X_PREFIX=	yes
USE_AUTOTOOLS=	autoconf:259
USE_BDB=	yes

CONFIGURE_ENV=	CFLAGS="-I${BDB_INCLUDE_DIR}" \
	LDFLAGS="-l${BDB_LIB_NAME} -L${BDB_LIB_DIR}"

PLIST_FILES=	lib/sylpheed-claws/plugins/maildir.a \
	lib/sylpheed-claws/plugins/maildir.la \
	lib/sylpheed-claws/plugins/maildir.so

.include <bsd.port.mk>
