diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-05-28 10:01:00 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-05-28 10:21:37 +0000 |
commit | 7d76cc89e62214bec41010f39d14d678190ea6d4 (patch) | |
tree | d38d190f4668f095eb587a4e457ecb2440b7b762 /x11-fonts | |
parent | c00fd3f2ccd461e8499b0e93d384f2e7daf950da (diff) | |
download | ports-7d76cc89e62214bec41010f39d14d678190ea6d4.tar.gz ports-7d76cc89e62214bec41010f39d14d678190ea6d4.zip |
x11-fonts/py-cffsubr: Adjust 5a1b97e112821ed12840f97e1b6a68e84570da15
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/py-cffsubr/Makefile | 13 |
1 files 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 |