Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2021 03:52:56 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bbe176fd66f9 - main - textproc/py-cmarkgfm: Strip shared library
Message-ID:  <202109210352.18L3qucZ034991@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit bbe176fd66f9c290b28efb918e9bad8a8328afa3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-09-21 03:16:07 +0000
Commit:     Po-Chuan Hsieh <sunpoet@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109210352.18L3qucZ034991>