PORTNAME=	ez-pine-gpg
DISTVERSION=	0.4h
PORTREVISION=	2
CATEGORIES=	mail
MASTER_SITES=	http://business-php.com/opensource/ez-pine-gpg/
DISTNAME=	${PORTNAME}_v${DISTVERSION}

MAINTAINER=	mbeis@xs4all.nl
COMMENT=	Set of scripts to use gpg with Pine
WWW=		http://business-php.com/opensource/ez-pine-gpg/

LICENSE=	GPLv2+

RUN_DEPENDS=	gpg:security/gnupg

USES=		tar:tgz
WRKSRC=		${WRKDIR}/${PORTNAME}
NO_BUILD=	yes

OPTIONS_DEFINE=	DOCS

do-install:
	(cd ${WRKSRC} && ${SETENV} DESTDIR="${STAGEDIR}" ./install ${PREFIX}/bin)

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
