Add MYSQL and POSTGRESQL options

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-07-11 18:10:55 +00:00
parent fcbe69e3fe
commit ea87bb6325
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542024

View File

@ -20,4 +20,11 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
OPTIONS_DEFINE= MYSQL POSTGRESQL
MYSQL_DESC= MySQL support
POSTGRESQL_DESC=PostgreSQL support
MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysql-connector-python>=0:databases/py-mysql-connector-python@${PY_FLAVOR}
POSTGRESQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR}
.include <bsd.port.mk>