svn commit: r388449 - head/science/pycdf
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Jun 3 16:51:59 UTC 2015
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 at 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>
More information about the svn-ports-head
mailing list