summaryrefslogtreecommitdiff
path: root/www/p5-Rose-HTML-Objects/Makefile
blob: 9eb5d3446d48d1e42265f39f3bce1c4171a89385 (plain)
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
# $NetBSD: Makefile,v 1.11 2010/08/21 16:37:04 seb Exp $

DISTNAME=	Rose-HTML-Objects-0.6061
PKGNAME=	p5-${DISTNAME:S/6061/606.1/}
PKGREVISION=	1
CATEGORIES=	devel perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=Rose/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://search.cpan.org/dist/Rose-HTML-Objects/
COMMENT=	Object-oriented interfaces for HTML
LICENSE=	${PERL5_LICENSE}

DEPENDS+=	p5-Clone-PP>=0:../../devel/p5-Clone-PP
DEPENDS+=	p5-DateTime>=0.20:../../time/p5-DateTime
DEPENDS+=	p5-Email-Valid>=0:../../mail/p5-Email-Valid
DEPENDS+=	{perl>=5.10,p5-Encode>=0}:../../textproc/p5-Encode
DEPENDS+=	p5-HTML-Parser>=0:../../www/p5-HTML-Parser
DEPENDS+=	p5-IO-String>=1.08:../../devel/p5-IO-String
DEPENDS+=	p5-Image-Size>=0:../../graphics/p5-Image-Size
DEPENDS+=	p5-URI>=0:../../www/p5-URI
DEPENDS+=	{perl>=5.10,p5-Scalar-List-Utils>=0}:../../devel/p5-Scalar-List-Utils
DEPENDS+=	p5-Rose-DateTime>=0.532:../../time/p5-Rose-DateTime
DEPENDS+=	p5-Rose-Object>=0.85.4:../../devel/p5-Rose-Object
DEPENDS+=	p5-Rose-URI>=0.021:../../www/p5-Rose-URI
DEPENDS+=	{perl>=5.10,p5-Scalar-List-Utils-[0-9]*}:../../devel/p5-Scalar-List-Utils
DEPENDS+=	p5-URI-[0-9]*:../../www/p5-URI

# For tests:
BUILD_DEPENDS+=	p5-Test-Memory-Cycle>=0:../../devel/p5-Test-Memory-Cycle

USE_LANGUAGES=	# empty
PERL5_PACKLIST=		auto/Rose/HTML/Objects/.packlist

PKG_DESTDIR_SUPPORT=    user-destdir

post-extract:
	${FIND} ${WRKSRC} -name "*.pm" -type f -exec ${CHMOD} -x {} \;

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"