git: 6b0f06d75b1d - main - net/py-errbot: Add IRC, SLACK_RTM, TELEGRAM and XMPP options

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 25 Mar 2022 13:44:52 UTC
The branch main has been updated by sunpoet:

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

commit 6b0f06d75b1da4fcf9147a8382fbfddaf63f183a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:01:07 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:07 +0000

    net/py-errbot: Add IRC, SLACK_RTM, TELEGRAM and XMPP options
---
 net/py-errbot/Makefile | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/net/py-errbot/Makefile b/net/py-errbot/Makefile
index ef6775f80016..664ff28a462c 100644
--- a/net/py-errbot/Makefile
+++ b/net/py-errbot/Makefile
@@ -30,4 +30,17 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	IRC SLACK_RTM TELEGRAM XMPP
+IRC_DESC=	IRC messaging support
+SLACK-RTM_DESC=	Slack messaging support
+TELEGRAM_DESC=	Telegram messaging support
+XMPP_DESC=	XMPP messaging support
+
+IRC_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}irc>=0:irc/py-irc@${PY_FLAVOR}
+SLACK-RTM_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}slackclient>=2.0:net-im/py-slackclient@${PY_FLAVOR}
+TELEGRAM_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-telegram-bot>=0:net-im/py-python-telegram-bot@${PY_FLAVOR}
+XMPP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0:devel/py-pyasn1-modules@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}slixmpp>=0:net-im/py-slixmpp@${PY_FLAVOR}
+
 .include <bsd.port.mk>