aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-Math-Prime-Util/Makefile
blob: 77853d2e9de66480bedc30419f6f595563622710 (plain) (blame)
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
PORTNAME=	Math-Prime-Util
PORTVERSION=	0.73
CATEGORIES=	math perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Utilities related to prime numbers, including fast sieves and factoring
WWW=		https://metacpan.org/release/Math-Prime-Util

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	${RUN_DEPENDS}
LIB_DEPENDS=	libgmp.so:math/gmp
RUN_DEPENDS=	p5-Math-Prime-Util-GMP>=0.50:math/p5-Math-Prime-Util-GMP

USES=		perl5
USE_PERL5=	configure

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/Prime/Util/Util.so

.include <bsd.port.mk>