1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/math/p5-Math-GMPq/Makefile
Sunpoet Po-Chuan Hsieh b2d1c9878a - Add p5-Math-GMPq 0.35
Math::GMPq is a bigrational module utilising the GNU MP (GMP) library. Basically
this module simply wraps all of the mpq rational functions provided by that
library. See the Math::GMPq test suite for some examples of usage.

IMPORTANT:
If your perl was built with '-Duse64bitint' you need to assign all integers
larger than 52-bit in a 'use integer;' block. Failure to do so can result in the
creation of the variable as an NV (rather than an IV) - with a resultant loss of
precision.

WWW: http://search.cpan.org/dist/Math-GMPq/
2012-06-22 21:29:37 +00:00

28 lines
671 B
Makefile

# New ports collection makefile for: p5-Math-GMPq
# Date created: 2011-11-30
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Math-GMPq
PORTVERSION= 0.35
CATEGORIES= math perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:SISYPHUS
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Perl interface to the GMP library rational (mpq) functions
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp
TEST_DEPENDS= p5-Math-GMP>=0:${PORTSDIR}/math/p5-Math-GMP \
p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod
CONFIGURE_ARGS= INC=-I${LOCALBASE}/include LIBS="-L${LOCALBASE}/lib -lgmp"
PERL_CONFIGURE= yes
MAN3= Math::GMPq.3
.include <bsd.port.mk>