git: 8fb26126cd4d - main - devel/py-gcsfs: Add GCSFUSE and CRC options

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 29 Sep 2023 16:20:11 UTC
The branch main has been updated by sunpoet:

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

commit 8fb26126cd4d0390d33aeb5c7c3c4010eafc0640
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-29 16:13:57 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-29 16:13:57 +0000

    devel/py-gcsfs: Add GCSFUSE and CRC options
---
 devel/py-gcsfs/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/devel/py-gcsfs/Makefile b/devel/py-gcsfs/Makefile
index ccd18459ab60..be6227481af9 100644
--- a/devel/py-gcsfs/Makefile
+++ b/devel/py-gcsfs/Makefile
@@ -25,4 +25,11 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	GCSFUSE CRC
+GCSFUSE_DESC=	Fuse support
+CRC_DESC=	CRC support
+
+GCSFUSE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}crcmod>=0:devel/py-crcmod@${PY_FLAVOR}
+CRC_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fusepy>=0:devel/py-fusepy@${PY_FLAVOR}
+
 .include <bsd.port.mk>