summaryrefslogtreecommitdiff
path: root/japanese/p5-WWW-MobileCarrierJP/Makefile
blob: afdf2cc099443cfaec78bf4f7ca5a26c68be0167 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Created by: Masahiro Teramoto <markun@onohara.to>
# $FreeBSD$

PORTNAME=	WWW-MobileCarrierJP
PORTVERSION=	0.63
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

USES=		perl5
USE_PERL5=	configure

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>