# Created by: Chris Piazza <cpiazza@FreeBSD.org>
# $FreeBSD: tags/RELEASE_10_0_0/mail/bbmail/Makefile 327742 2013-09-20 19:59:12Z bapt $

PORTNAME=	bbmail
PORTVERSION=	0.9.3
CATEGORIES=	mail
MASTER_SITES=	SF/bbtools/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A tool intended for Blackbox that checks for new mail

BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/libbt.pc:${PORTSDIR}/x11-wm/blackbox

USES=		pkgconfig
USE_XORG=	xext
GNU_CONFIGURE=	yes

MAN1=		bbmail.1
PLIST_FILES=	bin/bbmail share/bbtools/bbmail.rc

NO_STAGE=	yes
post-install:
	@${ECHO_CMD} "@unexec rmdir %D/share/bbtools 2>/dev/null || true" \
		>> ${TMPPLIST}

.include <bsd.port.mk>
