e891034572
- Add some metadata to Makefile.PL. - Fix the LNGAMMA_BUG workaround in mpfr.c, and change test 69 in t/test1.t to test for correct behaviour of mpfr_lngamma(). - Add Rmpfr_set_NV - and use it in new(). - Remove Rmpfr_sprintf_ret and Rmpfr_snprintf_ret. - No longer include inttypes.h on the basis of USE_LONG_DOUBLE being defined. (Was harmless ... but didn't make much sense.) - Define PERL_NO_GET_CONTEXT. - Tweaks to Math::MPFR::gmp_v() and Math::MPFR::V::gmp_v()
33 lines
931 B
Makefile
33 lines
931 B
Makefile
# Created by: Wen Heping <wenheping@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Math-MPFR
|
|
PORTVERSION= 3.22
|
|
CATEGORIES= math perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:SISYPHUS
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Perl interface to MPFR Library
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
|
|
libmpfr.so:${PORTSDIR}/math/mpfr
|
|
TEST_DEPENDS= p5-Math-GMP>=0:${PORTSDIR}/math/p5-Math-GMP \
|
|
p5-Math-GMPf>=0:${PORTSDIR}/math/p5-Math-GMPf \
|
|
p5-Math-GMPq>=0:${PORTSDIR}/math/p5-Math-GMPq \
|
|
p5-Math-GMPz>=0:${PORTSDIR}/math/p5-Math-GMPz
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
MAKE_ENV= INC="-I${LOCALBASE}/include"
|
|
|
|
post-stage:
|
|
${STRIP_CMD} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Math/MPFR/Prec/Prec.so
|
|
${STRIP_CMD} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Math/MPFR/V/V.so
|
|
${STRIP_CMD} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Math/MPFR/MPFR.so
|
|
|
|
.include <bsd.port.mk>
|