Add OPTIONS
PR: ports/97382 Submitted by: Dryice Liu <dryice@dryice.name> (maintainer) Approved by: tmclaugh (mentor)
This commit is contained in:
parent
0f7b8202cc
commit
1bc53736c2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162758
1 changed files with 24 additions and 1 deletions
|
@ -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 <bsd.port.pre.mk>
|
||||
|
||||
.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 <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in a new issue