2004-04-20 18:08:54 +00:00
|
|
|
# New ports collection makefile for: trac
|
|
|
|
# Date created: 17 April 2004
|
|
|
|
# Whom: Kuei-Feng Li <thinker@branda.to>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= trac
|
2005-06-21 20:25:49 +00:00
|
|
|
PORTVERSION= 0.8.4
|
2005-07-17 21:10:06 +00:00
|
|
|
PORTREVISION= 1
|
2004-04-20 18:08:54 +00:00
|
|
|
CATEGORIES= www devel python
|
|
|
|
MASTER_SITES= http://ftp.edgewall.com/pub/trac/ \
|
|
|
|
ftp://ftp.edgewall.com/pub/trac/
|
|
|
|
|
2005-07-17 21:11:40 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-04-20 18:08:54 +00:00
|
|
|
COMMENT= An enhanced wiki and issue tracking system for software projects
|
|
|
|
|
2005-03-14 01:32:06 +00:00
|
|
|
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/sqlite/main.py:${PORTSDIR}/databases/py-PySQLite10 \
|
2004-04-20 18:08:54 +00:00
|
|
|
${PYTHON_SITELIBDIR}/neo_cgi.so:${PORTSDIR}/www/clearsilver-python \
|
|
|
|
${PYTHON_SITELIBDIR}/svn/__init__.py:${PORTSDIR}/devel/subversion-python
|
2005-07-17 21:10:06 +00:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2004-04-20 18:08:54 +00:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
|
2005-03-01 22:05:24 +00:00
|
|
|
MAN1= trac-admin.1 tracd.1 tracdb2env.1
|
|
|
|
|
2004-04-20 18:08:54 +00:00
|
|
|
# This target is only meant to be used by the port maintainer.
|
|
|
|
x-generate-plist:
|
2005-02-03 16:22:10 +00:00
|
|
|
(${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,@dirrm (%%PYTHON_SITELIBDIR%%|${PYTHON_LIBDIR:S,${PYTHONBASE}/,,})$$,,g \
|
|
|
|
' | ${TR} -s '\n') > temp-pkg-plist
|
2004-04-20 18:08:54 +00:00
|
|
|
|
2004-07-13 00:34:25 +00:00
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2004-04-20 18:08:54 +00:00
|
|
|
.include <bsd.port.mk>
|