summaryrefslogtreecommitdiff
path: root/www/p5-HTML-Tree/Makefile
blob: fce6a65b4341c9c89c7c122b33350f15bcb35839 (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
# $NetBSD: Makefile,v 1.35 2014/05/29 23:38:07 wiz Exp $

DISTNAME=		HTML-Tree-5.03
PKGNAME=		p5-${DISTNAME}
PKGREVISION=		2
SVR4_PKGNAME=		p5htr
CATEGORIES=		www perl5
MASTER_SITES=		${MASTER_SITE_PERL_CPAN:=HTML/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://search.cpan.org/dist/HTML-Tree/
COMMENT=		Perl5 modules for manipulating HTML syntax trees
LICENSE=		${PERL5_LICENSE}

DEPENDS+=		p5-HTML-Parser>=3.46:../../www/p5-HTML-Parser
DEPENDS+=		p5-HTML-Tagset>=3.02:../../www/p5-HTML-Tagset
# recommended, but result in circular dependency
#DEPENDS+=		p5-HTML-Format-[0-9]*:../../www/p5-HTML-Format
# recommended
DEPENDS+=		p5-URI-[0-9]*:../../www/p5-URI

# Build dependencies Encode, Test::More and base are in Perl5 core ...
BUILD_DEPENDS+=		p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
BUILD_DEPENDS+=		p5-Test-LeakTrace-[0-9]*:../../devel/p5-Test-LeakTrace

PKG_INSTALLATION_TYPES=	overwrite pkgviews

PERL5_MODULE_TYPE=	Module::Build
USE_LANGUAGES=		# empty
PERL5_PACKLIST=		auto/HTML/Tree/.packlist

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