# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: DESCRIPTION="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system." HOMEPAGE="http://trac.edgewall.com/" SRC_URI="http://ftp.edgewall.com/pub/trac/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" inherit distutils DEPEND=">=dev-lang/python-2.1 >=dev-util/subversion-1.0.0 >=dev-python/pysqlite-0.4.3 >=net-www/clearsilver-0.9.3 >=net-www/apache-2" DOCS="AUTHORS COPYING ChangeLog INSTALL PKG-INFO README RELEASE THANKS UPGRADE" src_install () { distutils_src_install dodoc ${DOCS} keepdir /var/lib/trac fowners apache:root /var/lib/trac } pkg_postinst() { einfo einfo "You might want to run:" einfo "\"trac-admin /var/lib/trac/mydatabase.db initdb\"" einfo "if this is a new install." einfo "Then you'll have to configure Apache to make trac available." einfo "See /usr/share/doc/trac-${PV}/INSTALL.gz" einfo einfo "Remember, such databases must be readable and writable by the apache user." einfo }