svn commit: r398254 - head/math/py-gsl

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Oct 1 07:04:42 UTC 2015


Author: amdmi3
Date: Thu Oct  1 07:04:41 2015
New Revision: 398254
URL: https://svnweb.freebsd.org/changeset/ports/398254

Log:
  - Add LICENSE_FILE
  - Strip library
  
  Approved by:	portmgr blanket

Modified:
  head/math/py-gsl/Makefile

Modified: head/math/py-gsl/Makefile
==============================================================================
--- head/math/py-gsl/Makefile	Thu Oct  1 07:04:30 2015	(r398253)
+++ head/math/py-gsl/Makefile	Thu Oct  1 07:04:41 2015	(r398254)
@@ -3,6 +3,7 @@
 
 PORTNAME=	gsl
 PORTVERSION=	2.1.1
+PORTREVISION=	1
 CATEGORIES=	math python
 MASTER_SITES=	SF/py${PORTNAME}/py${PORTNAME}/py${PORTNAME}-${PORTVERSION}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,6 +14,7 @@ MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Python interface to GNU Scientific Library
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	${PYNUMPY}
 RUN_DEPENDS=	${PYNUMPY}
@@ -21,4 +23,9 @@ LIB_DEPENDS=	libgsl.so:${PORTSDIR}/math/
 USES=		python
 USE_PYTHON=	autoplist distutils
 
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pygsl/*.so \
+		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pygsl/statistics/*.so \
+		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pygsl/testing/*.so
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list