diff --git a/www/roundup/Makefile b/www/roundup/Makefile index 523ac396a003..2d966c553354 100644 --- a/www/roundup/Makefile +++ b/www/roundup/Makefile @@ -19,7 +19,30 @@ USE_PYTHON= 2.3+ USE_PYDISTUTILS= yes USE_GETTEXT= yes +OPTIONS= SQLITE "Support Sqlite as backend" on +OPTIONS+= METAKIT "Support metakit as backend" off +OPTIONS+= PGSQL "Support posggresql as backend" off +OPTIONS+= MYSQL "Support mysql as backend" off + +.include + +.if !defined(WITHOUT_SQLITE) +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/sqlite/__init__.py:${PORTSDIR}/databases/py-PySQLite11 +.endif + +.if defined(WITH_METAKIT) +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/metakit.py:${PORTSDIR}/databases/metakit +.endif + +.if defined(WITH_PGSQL) +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopgmodule.so:${PORTSDIR}/databases/py-psycopg +.endif + +.if defined(WITH_MYSQL) +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/MySQLdb/__init__.py:${PORTSDIR}/databases/py-MySQLdb +.endif + MAN1= roundup-admin.1 roundup-demo.1 roundup-mailgw.1 \ roundup-server.1 -.include +.include