freebsd-ports/math/p5-Math-Prime-Util-GMP/Makefile
Sunpoet Po-Chuan Hsieh fbbe99c118 Add p5-Math-Prime-Util-GMP 0.51
Math::Prime::Util::GMP is a module for number theory in Perl using GMP. This
includes primality tests, getting primes in a range, factoring, and more.

These use GMP directly, so should be quite fast for bignums. This module is
mainly intended to be used within Math::Prime::Util, but most functions can be
easily used in independent C programs. Some, like factoring and primality
proving, have explicit ways of compiling as standalone programs.

WWW: https://metacpan.org/release/Math-Prime-Util-GMP
2018-09-10 20:26:08 +00:00

25 lines
550 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= Math-Prime-Util-GMP
PORTVERSION= 0.51
CATEGORIES= math perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Utilities related to prime numbers and factoring, using GMP
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libgmp.so:math/gmp
USES= localbase perl5
USE_PERL5= configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/Prime/Util/GMP/GMP.so
.include <bsd.port.mk>