summaryrefslogtreecommitdiff
path: root/devel/p5-Software-License/Makefile
blob: eb95357483b26727a392c583b401ebb5cc9cdf87 (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
# $NetBSD: Makefile,v 1.27 2019/11/03 10:16:03 rillig Exp $

DISTNAME=	Software-License-0.103014
# put a period in the center of 6 digit, for example, 0.103004 -> 0.103.004
PKGNAME=	p5-${DISTNAME:C/\.([0-9][0-9][0-9])([0-9][0-9][0-9])/.\1.\2/}
PKGREVISION=	1
CATEGORIES=	devel perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=../by-authors/id/L/LE/LEONT/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://metacpan.org/release/Software-License
COMMENT=	Perl 5 module which provide templated software licenses
LICENSE=	${PERL5_LICENSE}

#BUILD_DEPENDS+=	{perl>=5.10.1,p5-Test-Simple>=0.88}:../../devel/p5-Test-Simple
DEPENDS+=		p5-Data-Section-[0-9]*:../../devel/p5-Data-Section
DEPENDS+=		p5-Sub-Install-[0-9]*:../../devel/p5-Sub-Install
DEPENDS+=		p5-Text-Template-[0-9]*:../../textproc/p5-Text-Template

# for make test
BUILD_DEPENDS+=	p5-Try-Tiny-[0-9]*:../../devel/p5-Try-Tiny

PERL5_PACKLIST=		auto/Software/License/.packlist
PERL5_MODULE_TYPE=	Module::Install::Bundled

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