git: e9290221bb6e - main - textproc/py-myst-parser: Add LINKIFY option

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Jul 2023 21:39:18 UTC
The branch main has been updated by sunpoet:

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

commit e9290221bb6e07131578c8e4f16f6a56f01babe8
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-09 21:25:07 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-09 21:34:41 +0000

    textproc/py-myst-parser: Add LINKIFY option
---
 textproc/py-myst-parser/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/textproc/py-myst-parser/Makefile b/textproc/py-myst-parser/Makefile
index 35938c6756cc..dfb558609122 100644
--- a/textproc/py-myst-parser/Makefile
+++ b/textproc/py-myst-parser/Makefile
@@ -26,4 +26,9 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	LINKIFY
+LINKIFY_DESC=	Linkify extension
+
+LINKIFY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}linkify-it-py>=2.0<3:textproc/py-linkify-it-py@${PY_FLAVOR}
+
 .include <bsd.port.mk>