svn commit: r381394 - head/astro/py-astLib

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Mar 16 14:07:57 UTC 2015


Author: amdmi3
Date: Mon Mar 16 14:07:55 2015
New Revision: 381394
URL: https://svnweb.freebsd.org/changeset/ports/381394
QAT: https://qat.redports.org/buildarchive/r381394/

Log:
  - Add LICENSE_FILE
  - Strip libraries

Modified:
  head/astro/py-astLib/Makefile

Modified: head/astro/py-astLib/Makefile
==============================================================================
--- head/astro/py-astLib/Makefile	Mon Mar 16 14:07:22 2015	(r381393)
+++ head/astro/py-astLib/Makefile	Mon Mar 16 14:07:55 2015	(r381394)
@@ -3,6 +3,7 @@
 
 PORTNAME=	astLib
 PORTVERSION=	0.8.0
+PORTREVISION=	1
 CATEGORIES=	astro python
 MASTER_SITES=	SF
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,6 +12,7 @@ MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Astronomy modules for Python
 
 LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYNUMPY} \
 		${PKGNAMEPREFIX}scipy>=0.7.0:${PORTSDIR}/science/py-scipy \
@@ -24,4 +26,7 @@ PORTSCOUT=	skipv:0.15,0.17,0.17.1 # inco
 USES=		python
 USE_PYTHON=	autoplist distutils
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyWCSTools/*.so
+
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list