Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2023 18:10:31 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: 5f369cb4b991 - main - x11-fonts/py-cffsubr: Use tx from x11-fonts/afdko as embedded tx (built from external/afdko)
Message-ID:  <202304181810.33IIAVc2089425@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=5f369cb4b991964caee14c0474a99e9b9a091752

commit 5f369cb4b991964caee14c0474a99e9b9a091752
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-18 17:59:34 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-18 18:05:14 +0000

    x11-fonts/py-cffsubr: Use tx from x11-fonts/afdko as embedded tx (built from external/afdko)
    
    - Update RUN_DEPENDS: afdko is already RUN_DEPENDS of py-afdko
    - Bump PORTREVISION for package change
    
    PR:             270135
    Reported by:    Ting-Wei Lan <lantw44@gmail.com>
---
 x11-fonts/py-cffsubr/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/x11-fonts/py-cffsubr/Makefile b/x11-fonts/py-cffsubr/Makefile
index ea17300fe146..060e09c772ee 100644
--- a/x11-fonts/py-cffsubr/Makefile
+++ b/x11-fonts/py-cffsubr/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	cffsubr
 PORTVERSION=	0.2.9.post1
+PORTREVISION=	1
 CATEGORIES=	x11-fonts python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,16 +13,21 @@ LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}afdko>=0:x11-fonts/py-afdko@${PY_FLAVOR} \
+RUN_DEPENDS=	tx:x11-fonts/afdko \
+		${PYTHON_PKGNAMEPREFIX}afdko>=0:x11-fonts/py-afdko@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}fonttools>=4.10.2:print/py-fonttools@${PY_FLAVOR}
 
 USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
+PLIST_FILES=	${PYTHON_SITELIBDIR}/cffsubr/tx
 
 post-patch:
 # Clean up bundled libraries
 	@${RM} -r ${WRKSRC}/external/
 
+post-install:
+	${LN} -s ${LOCALBASE}/bin/tx ${STAGEDIR}${PYTHON_SITELIBDIR}/cffsubr/tx
+
 .include <bsd.port.mk>



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