freebsd-ports/math/p5-Math-GMPf/Makefile
Sunpoet Po-Chuan Hsieh 0d3f4fedad - Use USES=localbase
- Strip shared library
- Bump PORTREVISION for package change
2015-10-19 20:20:35 +00:00

29 lines
804 B
Makefile

# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= Math-GMPf
PORTVERSION= 0.39
PORTREVISION= 2
CATEGORIES= math perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Perl interface to the GMP library floating point (mpf) functions
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
TEST_DEPENDS= p5-Math-GMP>=0:${PORTSDIR}/math/p5-Math-GMP \
p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod
USE_PERL5= configure
USES= localbase perl5
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/GMPf/GMPf.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/GMPf/Random/Random.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/GMPf/V/V.so
.include <bsd.port.mk>