aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-cdecimal
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-01-24 21:56:00 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-01-24 21:56:00 +0800
commit62b63ba06437dc3aeb4b0fd60fd13e7f347a0739 (patch)
treef1ba811611a40eaf0ee090c54a6efdbd04d72c09 /math/py-cdecimal
parentd210443a6faf3362c0ee509b00bee4ed22fea486 (diff)
downloadfreebsd-ports-gnome-62b63ba06437dc3aeb4b0fd60fd13e7f347a0739.tar.gz
freebsd-ports-gnome-62b63ba06437dc3aeb4b0fd60fd13e7f347a0739.tar.zst
freebsd-ports-gnome-62b63ba06437dc3aeb4b0fd60fd13e7f347a0739.zip
- Add LICENSE_FILE
- Strip library
Diffstat (limited to 'math/py-cdecimal')
-rw-r--r--math/py-cdecimal/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/math/py-cdecimal/Makefile b/math/py-cdecimal/Makefile
index 94c39814697a..445e6c880a24 100644
--- a/math/py-cdecimal/Makefile
+++ b/math/py-cdecimal/Makefile
@@ -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@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>