# New ports collection makefile for:	p5-Finance-Currency-Convert-WebserviceX
# Date Created:				27 Dec 2005
# Whom:					Zach Thompson <hideo@lastamericanempire.com>
#
# $FreeBSD$
#

PORTNAME=	Finance-Currency-Convert-WebserviceX
PORTVERSION=	0.05
CATEGORIES=	finance perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Finance
PKGNAMEPREFIX=	p5-

MAINTAINER=	hideo@lastamericanempire.com
COMMENT=	Lightweight currency conversion using WebserviceX.NET

BUILD_DEPENDS=	${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=		Finance::Currency::Convert::WebserviceX.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
post-patch:
	@${PERL} -pi -e	'$$_ = "" if /^use warnings/o' \
		${WRKSRC}/Makefile.PL \
		${WRKSRC}/lib/Finance/Currency/Convert/WebserviceX.pm
.endif

.include <bsd.port.post.mk>