summaryrefslogtreecommitdiff
path: root/devel/p5-Module-Build/Makefile
blob: 18ac23de61a525e5df18d6f98b6a42fa74a10d94 (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.58 2019/08/11 13:19:48 wiz Exp $

DISTNAME=	Module-Build-0.4224
PKGNAME=	p5-${DISTNAME}0
PKGREVISION=	2
CATEGORIES=	devel perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=Module/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://metacpan.org/release/Module-Build
COMMENT=	Build and install Perl modules
LICENSE=	${PERL5_LICENSE}

#DEPENDS+=	p5-ExtUtils-CBuilder>=0.27:../../devel/p5-ExtUtils-CBuilder
#DEPENDS+=	p5-ExtUtils-ParseXS>=2.21:../../devel/p5-ExtUtils-ParseXS
# needed for tests
BUILD_DEPENDS+=	p5-CPAN-Meta>=2.142060:../../devel/p5-CPAN-Meta
# one test not skipped if,
# (but getting cyclic dependency if enabled as BUILD_DEPENDS)
#DEPENDS+=	p5-PAR-Dist-[0-9]*:../../devel/p5-PAR-Dist
DEPENDS+=	p5-inc-latest-[0-9]*:../../devel/p5-inc-latest

.include "options.mk"

USE_LANGUAGES=	c       # For the tests
#BUILDING_MODULE_BUILD=	yes
PERL5_MODULE_TYPE=	Module::Build
PERL5_PACKLIST=		auto/Module/Build/.packlist
# For the tests:
USE_TOOLS+=		perl

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