git: bbe176fd66f9 - main - textproc/py-cmarkgfm: Strip shared library

Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue Sep 21 03:53:04 UTC 2021


The branch main has been updated by sunpoet:

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

commit bbe176fd66f9c290b28efb918e9bad8a8328afa3
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-09-21 03:16:07 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-09-21 03:44:57 +0000

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

diff --git a/textproc/py-cmarkgfm/Makefile b/textproc/py-cmarkgfm/Makefile
index 5ccc527a0be9..53b7a7d76777 100644
--- a/textproc/py-cmarkgfm/Makefile
+++ b/textproc/py-cmarkgfm/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	cmarkgfm
 PORTVERSION=	0.6.0
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -18,4 +19,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR}
 USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
 
+post-install:
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
+
 .include <bsd.port.mk>


More information about the dev-commits-ports-main mailing list