# New ports collection makefile for:	textproc/p5-Pod-WSDL
# Date created:				30 September 2006
# Whom:					Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD: ports/textproc/p5-Pod-WSDL/Makefile,v 1.1 2006/09/30 11:23:16 tobez Exp $
#

PORTNAME=	Pod-WSDL
PORTVERSION=	0.04
CATEGORIES=	textproc perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Pod
PKGNAMEPREFIX=	p5-

MAINTAINER=	tobez@FreeBSD.org
COMMENT=	Create WSDL documents from (extended) pod

BUILD_DEPENDS=	${SITE_PERL}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy \
		${SITE_PERL}/XML/Writer.pm:${PORTSDIR}/textproc/p5-XML-Writer \
		${SITE_PERL}/XML/XPath.pm:${PORTSDIR}/textproc/p5-XML-XPath
RUN_DEPENDS=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=	Pod::WSDL.3 \
	Pod::WSDL::AUTOLOAD.3 \
	Pod::WSDL::Attr.3 \
	Pod::WSDL::Doc.3 \
	Pod::WSDL::Fault.3 \
	Pod::WSDL::Method.3 \
	Pod::WSDL::Param.3 \
	Pod::WSDL::Return.3 \
	Pod::WSDL::Type.3 \
	Pod::WSDL::Utils.3 \
	Pod::WSDL::Writer.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500601
IGNORE=		requires perl 5.6.1 or later. Install lang/perl5.8 and try again
.endif

.include <bsd.port.post.mk>
