From 0d3f4fedadc170333801f71e00a7d6ce67dab867 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Mon, 19 Oct 2015 20:20:35 +0000 Subject: [PATCH] - Use USES=localbase - Strip shared library - Bump PORTREVISION for package change --- math/p5-Math-GMPf/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/math/p5-Math-GMPf/Makefile b/math/p5-Math-GMPf/Makefile index 968d4905f8e4..d3fb27a46b12 100644 --- a/math/p5-Math-GMPf/Makefile +++ b/math/p5-Math-GMPf/Makefile @@ -3,7 +3,7 @@ PORTNAME= Math-GMPf PORTVERSION= 0.39 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -18,8 +18,12 @@ 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 -CONFIGURE_ARGS= INC=-I${LOCALBASE}/include LIBS="-L${LOCALBASE}/lib -lgmp" USE_PERL5= configure -USES= perl5 +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