Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 2015 13:30:44 +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: r382094 - head/math/py-numarray
Message-ID:  <201503241330.t2ODUiLs071129@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Mar 24 13:30:44 2015
New Revision: 382094
URL: https://svnweb.freebsd.org/changeset/ports/382094
QAT: https://qat.redports.org/buildarchive/r382094/

Log:
  - Add LICENSE
  - Strip libraries

Modified:
  head/math/py-numarray/Makefile

Modified: head/math/py-numarray/Makefile
==============================================================================
--- head/math/py-numarray/Makefile	Tue Mar 24 13:30:42 2015	(r382093)
+++ head/math/py-numarray/Makefile	Tue Mar 24 13:30:44 2015	(r382094)
@@ -3,6 +3,7 @@
 
 PORTNAME=	numarray
 PORTVERSION=	1.5.2
+PORTREVISION=	1
 CATEGORIES=	math python
 MASTER_SITES=	SF/numpy/Old%20Numarray/${PORTVERSION}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,6 +11,8 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Numeric array manipulation extension module for Python
 
+LICENSE=	BSD3CLAUSE
+
 USES=		python
 USE_PYTHON=	distutils autoplist
 
@@ -20,10 +23,12 @@ OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-configure:
 	cd ${WRKSRC} && \
-	${PYTHON_CMD} generate.py && \
-	${PYTHON_CMD} Include/numarray/genapis.py
+		${PYTHON_CMD} generate.py && \
+		${PYTHON_CMD} Include/numarray/genapis.py
 
 post-install:
+	${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/numarray -name "*.so" -exec \
+		${STRIP_CMD} {} \;
 	@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR}
 	@${TAR} -C ${WRKSRC}/Doc -cf- .|${TAR} -C ${STAGEDIR}${DOCSDIR} -xf-
 	@${TAR} -C ${WRKSRC}/Examples -cf- .|${TAR} -C ${STAGEDIR}${EXAMPLESDIR} -xf-



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