ports/109998: [PATCH] www/trac: add knobs for pgsql and subversion RCS

Radim Kolar SF.NET hsn at sendmail.cz
Tue Mar 6 15:40:06 UTC 2007


>Number:         109998
>Category:       ports
>Synopsis:       [PATCH] www/trac: add knobs for pgsql and subversion RCS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 06 15:40:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar SF.NET
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD sanatana.dharma 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Sun Jan 14 11:36:17 CET 2007
>Description:
add knobs for compiling with pgsql backend and add knob for compiling without
subversion for sites who doesn't use it

Port maintainer (clsung at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- trac-0.10.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/trac/Makefile /home/hsn/hacked/trac/Makefile
--- /usr/ports/www/trac/Makefile	Wed Dec 13 13:18:40 2006
+++ /home/hsn/hacked/trac/Makefile	Tue Mar  6 14:35:01 2007
@@ -14,13 +14,13 @@
 MAINTAINER=	clsung at FreeBSD.org
 COMMENT=	An enhanced wiki and issue tracking system for software projects
 
-BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite20 \
-		${PYTHON_SITELIBDIR}/neo_cgi.so:${PORTSDIR}/www/clearsilver-python \
-		${PYTHON_SITELIBDIR}/svn/__init__.py:${PORTSDIR}/devel/subversion-python
+BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/neo_cgi.so:${PORTSDIR}/www/clearsilver-python
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 OPTIONS=	SILVERCITY "Use Silvercity for syntax highlighting" On \
-		DOCUTILS   "Allow additional text markup" On
+		DOCUTILS   "Allow additional text markup" On \
+		PGSQL	   "Use PostgreSQL instead of SQLite3" Off \
+		SUBVERSION "Support for subversion RCS" On
 CONFLICTS=	ja-trac-*
 
 USE_PYTHON=	yes
@@ -52,6 +52,16 @@
 
 .if defined(WITH_DOCUTILS)
 RUN_DEPENDS+=	${PREFIX}/bin/rst2html:${PORTSDIR}/textproc/py-docutils
+.endif
+
+.if defined(WITH_PGSQL)
+RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/psycopg2/__init__.py:${PORTSDIR}/databases/py-psycopg2
+.else
+RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite20
+.endif
+
+.if !defined(WITHOUT_SUBVERSION)
+RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/svn/__init__.py:${PORTSDIR}/devel/subversion-python
 .endif
 
 .include <bsd.port.post.mk>
--- trac-0.10.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list