Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2024 10:23:37 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: 7d76cc89e622 - main - x11-fonts/py-cffsubr: Adjust 5a1b97e112821ed12840f97e1b6a68e84570da15
Message-ID:  <202405281023.44SANbAP030524@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=7d76cc89e62214bec41010f39d14d678190ea6d4

commit 7d76cc89e62214bec41010f39d14d678190ea6d4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-28 10:01:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-28 10:21:37 +0000

    x11-fonts/py-cffsubr: Adjust 5a1b97e112821ed12840f97e1b6a68e84570da15
---
 x11-fonts/py-cffsubr/Makefile | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/x11-fonts/py-cffsubr/Makefile b/x11-fonts/py-cffsubr/Makefile
index b192826ba70e..bdd725366876 100644
--- a/x11-fonts/py-cffsubr/Makefile
+++ b/x11-fonts/py-cffsubr/Makefile
@@ -21,13 +21,18 @@ RUN_DEPENDS=	tx:x11-fonts/afdko \
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517
 
-# Remove bundled libraries
-EXTRACT_AFTER_ARGS=	--exclude ${DISTNAME}/external \
-			--no-same-owner --no-same-permissions
-
 NO_ARCH=	yes
 PLIST_FILES=	${PYTHON_SITELIBDIR}/cffsubr/tx
 
+# Clean up bundled libraries
+.if !defined(MAINTAINER_MODE)
+EXTRACT_AFTER_ARGS=	--exclude ${DISTNAME}/external \
+			--no-same-owner --no-same-permissions
+.else
+post-patch:
+	@${RM} -r ${WRKSRC}/external/
+.endif
+
 post-install:
 	${LN} -s ${LOCALBASE}/bin/tx ${STAGEDIR}${PYTHON_SITELIBDIR}/cffsubr/tx
 



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