aboutsummaryrefslogtreecommitdiff
path: root/www/p5-WWW-HatenaStar/Makefile
blob: 0a26afce0c9119848849d4d2b797ddee4239d0f3 (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
# Created by: Masahiro Teramoto <markun@onohara.to>
# $FreeBSD$

PORTNAME=	WWW-HatenaStar
PORTVERSION=	0.04
PORTREVISION=	1
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	markun@onohara.to
COMMENT=	Perl interface to Hatena::Star

BUILD_DEPENDS=	p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \
		p5-YAML-Syck>=0:${PORTSDIR}/textproc/p5-YAML-Syck \
		p5-URI>=0:${PORTSDIR}/net/p5-URI \
		p5-WWW-HatenaLogin>=0:${PORTSDIR}/www/p5-WWW-HatenaLogin \
		p5-WWW-Mechanize>=0:${PORTSDIR}/www/p5-WWW-Mechanize
RUN_DEPENDS:=	${BUILD_DEPENDS}

USES=		perl5
USE_PERL5=	configure

post-patch:
	@${REINPLACE_CMD} -e "s|WWW::HatenaLogin|'WWW::HatenaLogin'|" \
	    ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>