summaryrefslogtreecommitdiff
path: root/textproc/p5-Text-RecordParser/Makefile
blob: 999bbbae0387641a479a1cbb8a424879a70c2135 (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
42
43
44
45
46
47
# $NetBSD: Makefile,v 1.15 2014/05/29 23:37:43 wiz Exp $
#

DISTNAME=	Text-RecordParser-v1.6.3
PKGNAME=	p5-${DISTNAME:S/v1/1/}
PKGREVISION=	2
CATEGORIES=	textproc perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=Text/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://search.cpan.org/dist/Text-RecordParser/
COMMENT=	Perl5 extension to read record-oriented files
LICENSE=	gnu-gpl-v2

DEPENDS+=	p5-Class-Accessor>=0:../../devel/p5-Class-Accessor
DEPENDS+=	p5-IO-stringy-[0-9]*:../../devel/p5-IO-stringy
DEPENDS+=	p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils
DEPENDS+=	p5-Readonly-[0-9]*:../../devel/p5-Readonly
DEPENDS+=	p5-Pod-Readme>=0:../../textproc/p5-Pod-Readme
DEPENDS+=	p5-Pod-Markdown>=0:../../textproc/p5-Pod-Markdown
DEPENDS+=	p5-Text-Autoformat-[0-9]*:../../textproc/p5-Text-Autoformat

BUILD_DEPENDS+=	p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception

# Recommended dependencies
DEPENDS+=	p5-GraphViz-[0-9]*:../../graphics/p5-GraphViz
DEPENDS+=	p5-Readonly-XS-[0-9]*:../../devel/p5-Readonly-XS
DEPENDS+=	p5-Text-TabularDisplay>=1.22:../../textproc/p5-Text-TabularDisplay

PKG_INSTALLATION_TYPES=	overwrite pkgviews

USE_LANGUAGES=		# empty
PERL5_PACKLIST=		auto/Text/RecordParser/.packlist
PERL5_MODULE_TYPE=	Module::Build

USE_TOOLS+=perl

REPLACE_PERL+=		bin/tab2graph
REPLACE_PERL+=		bin/tablify
REPLACE_PERL+=		bin/tabmerge

# File is unwriteable but is generated during the build.
post-extract:
	${RM} -f ${WRKSRC}/README.md

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