2012-12-12 10:04:05 +01:00
|
|
|
# Created by: Wen Heping <wenheping@gmail.com>
|
2009-02-09 21:12:58 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= Math-MPFR
|
2020-07-24 09:26:07 +02:00
|
|
|
PORTVERSION= 4.14
|
2009-02-09 21:12:58 +01:00
|
|
|
CATEGORIES= math perl5
|
|
|
|
MASTER_SITES= CPAN
|
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2010-06-11 10:56:17 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2013-03-29 01:44:53 +01:00
|
|
|
COMMENT= Perl interface to MPFR Library
|
2009-02-09 21:12:58 +01:00
|
|
|
|
2017-09-15 10:58:46 +02:00
|
|
|
LICENSE= ART10 GPLv1+
|
2013-12-01 22:05:30 +01:00
|
|
|
LICENSE_COMB= dual
|
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS= libgmp.so:math/gmp \
|
|
|
|
libmpfr.so:math/mpfr
|
|
|
|
TEST_DEPENDS= p5-Math-GMP>=0:math/p5-Math-GMP \
|
|
|
|
p5-Math-GMPf>=0:math/p5-Math-GMPf \
|
|
|
|
p5-Math-GMPq>=0:math/p5-Math-GMPq \
|
|
|
|
p5-Math-GMPz>=0:math/p5-Math-GMPz
|
2009-02-09 21:12:58 +01:00
|
|
|
|
2016-11-19 18:11:10 +01:00
|
|
|
USES= localbase perl5
|
2018-10-28 20:58:09 +01:00
|
|
|
USE_PERL5= configure
|
2009-02-09 21:12:58 +01:00
|
|
|
|
2018-03-06 21:32:02 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's| -lquadmath||' ${WRKSRC}/Makefile.PL
|
|
|
|
|
2015-07-08 22:31:45 +02:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/MPFR/MPFR.so
|
2014-11-26 14:08:24 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/MPFR/Prec/Prec.so
|
2015-07-08 22:31:45 +02:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/MPFR/Random/Random.so
|
2014-11-26 14:08:24 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/MPFR/V/V.so
|
2014-07-30 12:55:21 +02:00
|
|
|
|
2009-02-09 21:12:58 +01:00
|
|
|
.include <bsd.port.mk>
|