svn commit: r399760 - head/math/p5-Math-GMPz

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Oct 19 20:20:45 UTC 2015


Author: sunpoet
Date: Mon Oct 19 20:20:43 2015
New Revision: 399760
URL: https://svnweb.freebsd.org/changeset/ports/399760

Log:
  - Use USES=localbase
  - Strip shared library
  - Bump PORTREVISION for package change

Modified:
  head/math/p5-Math-GMPz/Makefile

Modified: head/math/p5-Math-GMPz/Makefile
==============================================================================
--- head/math/p5-Math-GMPz/Makefile	Mon Oct 19 20:20:39 2015	(r399759)
+++ head/math/p5-Math-GMPz/Makefile	Mon Oct 19 20:20:43 2015	(r399760)
@@ -3,6 +3,7 @@
 
 PORTNAME=	Math-GMPz
 PORTVERSION=	0.40
+PORTREVISION=	1
 CATEGORIES=	math perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -17,8 +18,12 @@ LIB_DEPENDS=	libgmp.so:${PORTSDIR}/math/
 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/GMPz/GMPz.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/GMPz/Random/Random.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/GMPz/V/V.so
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list