svn commit: r407123 - head/math/py-cdecimal

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Jan 24 13:56:02 UTC 2016


Author: amdmi3
Date: Sun Jan 24 13:56:00 2016
New Revision: 407123
URL: https://svnweb.freebsd.org/changeset/ports/407123

Log:
  - Add LICENSE_FILE
  - Strip library

Modified:
  head/math/py-cdecimal/Makefile

Modified: head/math/py-cdecimal/Makefile
==============================================================================
--- head/math/py-cdecimal/Makefile	Sun Jan 24 13:54:10 2016	(r407122)
+++ head/math/py-cdecimal/Makefile	Sun Jan 24 13:56:00 2016	(r407123)
@@ -3,6 +3,7 @@
 
 PORTNAME=	cdecimal
 PORTVERSION=	2.3
+PORTREVISION=	1
 CATEGORIES=	math
 MASTER_SITES=	http://www.bytereef.org/software/mpdecimal/releases/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,12 @@ MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Fast drop-in replacement for the Decimal module
 
 LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 USES=		python
 USE_PYTHON=	distutils autoplist
 
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/cdecimal.so
+
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list