aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-06-04 00:51:58 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-06-04 00:51:58 +0800
commit9acd0ebfd015b5dc9972500f8910678ff413e7b6 (patch)
treeeb448b4ebc207d209dd7f33bd7afbd6d9a442c71 /science
parent6fc3439e585b062ab5ae1734d1c5360308813855 (diff)
downloadfreebsd-ports-gnome-9acd0ebfd015b5dc9972500f8910678ff413e7b6.tar.gz
freebsd-ports-gnome-9acd0ebfd015b5dc9972500f8910678ff413e7b6.tar.zst
freebsd-ports-gnome-9acd0ebfd015b5dc9972500f8910678ff413e7b6.zip
- Strip library
Diffstat (limited to 'science')
-rw-r--r--science/pycdf/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/science/pycdf/Makefile b/science/pycdf/Makefile
index 3b45a95f8eb9..f3f842962a96 100644
--- a/science/pycdf/Makefile
+++ b/science/pycdf/Makefile
@@ -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>