1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/math/p5-Math-MPFR/Makefile
Sunpoet Po-Chuan Hsieh fa771b7f67 - Update to 3.25
- Strip shared library

Changes:	http://search.cpan.org/dist/Math-MPFR/CHANGES
2015-07-08 20:31:45 +00:00

35 lines
1020 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= Math-MPFR
PORTVERSION= 3.25
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-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/MPFR/MPFR.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/MPFR/Prec/Prec.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/MPFR/Random/Random.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/MPFR/V/V.so
.include <bsd.port.mk>