summaryrefslogtreecommitdiff
path: root/textproc/p5-Text-RecordParser/Makefile
blob: 407dfcda33be803652428feb7e51469b03b5f984 (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
# $NetBSD: Makefile,v 1.9 2012/10/25 06:56:28 asau Exp $
#

DISTNAME=	Text-RecordParser-v1.5.0
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

# 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	blib/script/tab2graph
REPLACE_PERL+=		bin/tablify	blib/script/tablify
REPLACE_PERL+=		bin/tabmerge	blib/script/tabmerge

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