Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 2015 16:51:58 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r388449 - head/science/pycdf
Message-ID:  <201506031651.t53Gpwkx055652@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Jun  3 16:51:58 2015
New Revision: 388449
URL: https://svnweb.freebsd.org/changeset/ports/388449

Log:
  - Strip library

Modified:
  head/science/pycdf/Makefile

Modified: head/science/pycdf/Makefile
==============================================================================
--- head/science/pycdf/Makefile	Wed Jun  3 16:51:50 2015	(r388448)
+++ head/science/pycdf/Makefile	Wed Jun  3 16:51:58 2015	(r388449)
@@ -3,7 +3,7 @@
 
 PORTNAME=	pycdf
 PORTVERSION=	0.6.3
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	science python
 MASTER_SITES=	SF/pysclint/${PORTNAME}/${PORTNAME}-${PORTVERSION}b
 DISTNAME=	${PORTNAME}-0.6-3b
@@ -11,14 +11,16 @@ DISTNAME=	${PORTNAME}-0.6-3b
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Python Interface to the Unidata NetCDF Library
 
-BUILD_DEPENDS=	${PYNUMPY}
 LIB_DEPENDS=	libnetcdf.so:${PORTSDIR}/science/netcdf
+BUILD_DEPENDS=	${PYNUMPY}
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 LDFLAGS+=	"-L${LOCALBASE}/lib"
 
 USES=		python
 USE_PYTHON=	distutils autoplist
-WRKSRC=		${WRKDIR}/${DISTNAME}
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pycdf/_pycdfext.so
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506031651.t53Gpwkx055652>