summaryrefslogtreecommitdiff
path: root/math/p5-Excel-Template/Makefile
blob: 967051d3cab34280f48a0ea9eb0b9dbdb7d31b32 (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
# $NetBSD: Makefile,v 1.10 2015/06/12 10:50:28 wiz Exp $

DISTNAME=	Excel-Template-0.33
PKGNAME=	p5-${DISTNAME}
PKGREVISION=	4
CATEGORIES=	math perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=Excel/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://search.cpan.org/dist/Excel-Template/
COMMENT=	Perl module for templating Excel files
LICENSE=	${PERL5_LICENSE}

DEPENDS+=	p5-IO-stringy-[0-9]*:../../devel/p5-IO-stringy
DEPENDS+=	p5-Spreadsheet-WriteExcel>=0.42:../../math/p5-Spreadsheet-WriteExcel
DEPENDS+=	p5-XML-Parser>=0.01:../../textproc/p5-XML-Parser

BUILD_DEPENDS+=	p5-Test-Deep>=0.095:../../devel/p5-Test-Deep
BUILD_DEPENDS+=	p5-Test-Exception>=0.21:../../devel/p5-Test-Exception

PERL5_PACKLIST=		auto/Excel/Template/.packlist
PERL5_MODULE_TYPE=	Module::Install::Bundled

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

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