# New ports collection makefile for:	p5-WWW-MobileCarrierJP
# Date created:		2009-04-13
# Whom:			Masahiro Teramoto <markun@onohara.to>
#
# $FreeBSD: ports/japanese/p5-WWW-MobileCarrierJP/Makefile,v 1.22 2012/03/05 15:25:11 swills Exp $
#

PORTNAME=	WWW-MobileCarrierJP
PORTVERSION=	0.62
CATEGORIES=	japanese www perl5
MASTER_SITES=	CPAN

MAINTAINER=	markun@onohara.to
COMMENT=	Scrape Japanese mobile carrier information

LICENSE=	ART10 GPLv1
LICENSE_COMB=	dual

RUN_DEPENDS=	p5-Moose>=0.60:${PORTSDIR}/devel/p5-Moose \
		p5-Filter>=0:${PORTSDIR}/devel/p5-Filter \
		p5-HTML-Selector-XPath>=0.03:${PORTSDIR}/www/p5-HTML-Selector-XPath \
		p5-HTML-TableExtract>=2.10:${PORTSDIR}/www/p5-HTML-TableExtract \
		p5-Web-Scraper>=0.24:${PORTSDIR}/www/p5-Web-Scraper \
		p5-libwww>=5.834:${PORTSDIR}/www/p5-libwww \
		p5-URI>=0:${PORTSDIR}/net/p5-URI \
		p5-parent>=0:${PORTSDIR}/devel/p5-parent \
		p5-CAM-PDF>=0:${PORTSDIR}/textproc/p5-CAM-PDF
BUILD_DEPENDS=	${RUN_DEPENDS}

TEST_DEPENDS=	p5-LWP-Online>=1.07:${PORTSDIR}/www/p5-LWP-Online \
		p5-Test-Base>0:${PORTSDIR}/devel/p5-Test-Base

USE_PERL5=	5.8.1+
PERL_CONFIGURE=	yes

MAN1=		www-mobilecarrierjp-dump_all.pl.1
MAN3=		WWW::MobileCarrierJP::EZWeb::PictogramInfo.3 \
		WWW::MobileCarrierJP::EZWeb::DeviceID.3 \
		WWW::MobileCarrierJP::DoCoMo::Display.3 \
		WWW::MobileCarrierJP::AirHPhone::CIDR.3 \
		WWW::MobileCarrierJP::EZWeb::CIDR.3 \
		WWW::MobileCarrierJP::DoCoMo::Flash.3 \
		WWW::MobileCarrierJP::DoCoMo::PictogramInfo.3 \
		WWW::MobileCarrierJP::DoCoMo::UserAgent.3 \
		WWW::MobileCarrierJP::EZWeb::Model.3 \
		WWW::MobileCarrierJP::DoCoMo::CIDR.3 \
		WWW::MobileCarrierJP::DoCoMo::HTMLVersion.3 \
		WWW::MobileCarrierJP::DoCoMo::Java.3 \
		WWW::MobileCarrierJP::Softbank::Java.3 \
		WWW::MobileCarrierJP::Softbank::Flash.3 \
		WWW::MobileCarrierJP::Softbank::Service.3 \
		WWW::MobileCarrierJP::Softbank::CIDR.3 \
		WWW::MobileCarrierJP::Softbank::HTTPHeader.3 \
		WWW::MobileCarrierJP::Softbank::Display.3 \
		WWW::MobileCarrierJP::Softbank::PictogramInfo.3 \
		WWW::MobileCarrierJP::ThirdForce::UserAgent.3 \
		WWW::MobileCarrierJP.3

.include <bsd.port.pre.mk>

PKGNAMEPREFIX:=	${PKGNAMEPREFIX}p5-

.if ${PERL_LEVEL} < 501400
TEST_DEPENDS+=	p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple
.endif

.include <bsd.port.post.mk>
