mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
1e6d4fb8ee
Trac 0.10.2 is a bug fix release and fixes few bugs introduced in the 0.10.1 release. A brief summary of major changes: * Fixes deadlock when using authz_file config option (#3996). * Makes the CSRF code play nice with the XmlRpcPlugin (#4122). * Fixes Timeline breakage after svn commit when using sqlite (#4120). The complete list of closed tickets can be found here: http://trac.edgewall.org/query?status=closed&milestone=0.10.2 PR: ports/105505 Submitted by: Li-Wen Hsu <lwhsu_AT_lwhsu dot org>
58 lines
1.7 KiB
Makefile
58 lines
1.7 KiB
Makefile
# New ports collection makefile for: trac
|
|
# Date created: 17 April 2004
|
|
# Whom: Kuei-Feng Li <thinker@branda.to>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= trac
|
|
PORTVERSION= 0.10.2
|
|
CATEGORIES= www devel python
|
|
MASTER_SITES= http://ftp.edgewall.com/pub/trac/ \
|
|
ftp://ftp.edgewall.com/pub/trac/
|
|
|
|
MAINTAINER= clsung@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
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
OPTIONS= SILVERCITY "Use Silvercity for syntax highlighting" On \
|
|
DOCUTILS "Allow additional text markup" On
|
|
CONFLICTS= ja-trac-*
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
|
|
MAN1= trac-admin.1 tracd.1
|
|
|
|
# This target is only meant to be used by the port maintainer.
|
|
x-generate-plist:
|
|
(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
|
|
| ${SED} -E \
|
|
's,.*share/nls/.+$$,,g \
|
|
;s,@dirrm share/man(/.*)?$$,,g \
|
|
;s,${PYTHON_SITELIBDIR:S,^${PYTHONBASE}/,,},%%PYTHON_SITELIBDIR%%,g \
|
|
;s,share/trac,%%DATADIR%%,g \
|
|
;s,@dirrm (%%PYTHON_SITELIBDIR%%|${PYTHON_LIBDIR:S,${PYTHONBASE}/,,})$$,,g \
|
|
' | ${TR} -s '\n') > temp-pkg-plist
|
|
|
|
post-install:
|
|
@${ECHO_CMD}
|
|
@${CAT} ${PKGMESSAGE}
|
|
@${ECHO_CMD}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_SILVERCITY)
|
|
RUN_DEPENDS+= ${PREFIX}/bin/source2html.py:${PORTSDIR}/textproc/silvercity
|
|
.endif
|
|
|
|
.if defined(WITH_DOCUTILS)
|
|
RUN_DEPENDS+= ${PREFIX}/bin/rst2html:${PORTSDIR}/textproc/py-docutils
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|