PORTNAME=	LMAP-CID2SPF
PORTVERSION=	0.9
PORTREVISION=	2
CATEGORIES=	mail perl5
MASTER_SITES=	http://www.baschny.de/spf/
PKGNAMEPREFIX=	p5-

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Module to convert between Microsoft's Caller-ID and SPF		#'
WWW=		http://www.baschny.de/spf/

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-XML-Parser>=0:textproc/p5-XML-Parser

USES=		perl5 shebangfix
USE_PERL5=	configure

SHEBANG_FILES=	cid2spf

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/LMAP
	cd ${WRKSRC} && ${INSTALL_SCRIPT} cid2spf ${STAGEDIR}${PREFIX}/bin
	cd ${WRKSRC} && ${INSTALL_DATA} CID2SPF.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/LMAP

.include <bsd.port.mk>
