summaryrefslogtreecommitdiff
path: root/textproc/p5-Pod-Spell/Makefile
blob: 0ebc6d2d64463708557046b27aeb6199186fa914 (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
# $NetBSD: Makefile,v 1.15 2015/06/12 10:51:27 wiz Exp $

DISTNAME=	Pod-Spell-1.17
PKGNAME=	p5-${DISTNAME}
PKGREVISION=	1
CATEGORIES=	devel perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=Pod/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://search.cpan.org/dist/Pod-Spell/
COMMENT=	Formatter for spellchecking Pod
LICENSE=	artistic-2.0

DEPENDS+=	{perl>=5.9.3,p5-Pod-Escapes>=1.01}:../../textproc/p5-Pod-Escapes
DEPENDS+=	p5-Lingua-EN-Inflect>=0:../../textproc/p5-Lingua-EN-Inflect
DEPENDS+=	p5-Class-Tiny>=0:../../devel/p5-Class-Tiny
DEPENDS+=	p5-File-ShareDir>=0:../../devel/p5-File-ShareDir
DEPENDS+=	p5-File-ShareDir-Install>=0:../../devel/p5-File-ShareDir-Install
DEPENDS+=	p5-File-ShareDir-ProjectDistDir>=0:../../devel/p5-File-ShareDir-ProjectDistDir

PERL5_PACKLIST=		auto/Pod/Spell/.packlist

SUBST_CLASSES+=		perl
SUBST_STAGE.perl=	post-patch
SUBST_MESSAGE.perl=	Fixing path to perl
SUBST_FILES.perl+=	bin/podspell
SUBST_SED.perl=		-e "s|/usr/bin/env perl|${PERL5}|"

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