ports/97382: [maintainer] www/roundup: add options
Dryice Liu
dryice at dryice.name
Wed May 17 03:10:16 UTC 2006
>Number: 97382
>Category: ports
>Synopsis: [maintainer] www/roundup: add options
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed May 17 03:10:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Dryice Liu
>Release: FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD dryice.3322.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Dec 1 15:59:44 CST 2005
>Description:
add options to run depends on various backends
>How-To-Repeat:
>Fix:
--- attached file begins here ---
diff -ruN roundup.old/Makefile roundup/Makefile
--- roundup.old/Makefile Wed May 10 08:54:49 2006
+++ roundup/Makefile Wed May 17 11:03:08 2006
@@ -19,7 +19,30 @@
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+= ${PREFIX}/%%PYTHON_SITELIBDIR%%/sqlite/__init__.py:${PORTSDIR}/databases/py-PySQLite11
+.endif
+
+.if !defined(WITHOUT_METAKIT)
+RUN_DEPENDS+= ${PREFIX}/%%PYTHON_SITELIBDIR%%/metakit.py:${PORTSDIR}/databases/metakit
+.endif
+
+.if !defined(WITHOUT_PGSQL)
+RUN_DEPENDS+= ${PREFIX}/lib/%%PYTHON_VERSION%%/site-packages/psycopgmodule.so:${PORTSDIR}/databases/py-psycopg
+.endif
+
+.if !defined(WITHOUT_MYSQL)
+RUN_DEPENDS+= ${PREFIX}/%%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>
--- attached file ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list