summaryrefslogtreecommitdiff
path: root/math/p5-Math-Prime-Util/Makefile
blob: 34344a48a5e5c5ebd6ab70f0aa8da64ef5915b6d (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
# $NetBSD: Makefile,v 1.4 2013/05/31 12:41:23 wiz Exp $

DISTNAME=	Math-Prime-Util-0.15
PKGNAME=	p5-${DISTNAME}
PKGREVISION=	1
CATEGORIES=	math perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=Math/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://search.cpan.org/dist/Math-Prime-Util/
COMMENT=	Perl5 utilities related to prime numbers
LICENSE=	${PERL5_LICENSE}

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

USE_LANGUAGES+=	c

PERL5_PACKLIST=		auto/Math/Prime/Util/.packlist

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