git: 690fefbde21b - main - textproc/py-cchardet: Strip shared library

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 Aug 2022 10:32:38 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=690fefbde21b87289df6989c871f6c721e4ee3bb

commit 690fefbde21b87289df6989c871f6c721e4ee3bb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-08-27 10:24:57 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-08-27 10:24:57 +0000

    textproc/py-cchardet: Strip shared library
    
    - Bump PORTREVISION for package change
---
 textproc/py-cchardet/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/textproc/py-cchardet/Makefile b/textproc/py-cchardet/Makefile
index 7ec974e1b627..25a68fcc68b3 100644
--- a/textproc/py-cchardet/Makefile
+++ b/textproc/py-cchardet/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	cchardet
 PORTVERSION=	2.1.7
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,4 +17,7 @@ BUILD_DEPENDS=	cmake:devel/cmake
 USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
 
+post-install:
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
+
 .include <bsd.port.mk>