summaryrefslogtreecommitdiff
path: root/textproc/p5-Text-RecordParser/Makefile
blob: 22f20b116afd74b10cf5bb3d4d82f11d9c7f29c4 (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
# $NetBSD: Makefile,v 1.26 2021/05/24 19:54:45 wiz Exp $
#

DISTNAME=	Text-RecordParser-1.6.5
PKGNAME=	p5-${DISTNAME}
PKGREVISION=	7
CATEGORIES=	textproc perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=Text/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://metacpan.org/release/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

USE_LANGUAGES=		# empty
PERL5_PACKLIST=		auto/Text/RecordParser/.packlist

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"