summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-08-15 15:47:05 +0000
committerStuart Herbert <stuart@gentoo.org>2004-08-15 15:47:05 +0000
commitc95eb2dc7505de1f27ff63a4ffd7a762b1b663ba (patch)
treec1509810f6366740f378518fe5994d365f5fff97 /www-apps/trac/trac-0.7.1.ebuild
parentMoved from net-www/tikiwiki to www-apps/tikiwiki (diff)
downloadhistorical-c95eb2dc7505de1f27ff63a4ffd7a762b1b663ba.tar.gz
historical-c95eb2dc7505de1f27ff63a4ffd7a762b1b663ba.tar.bz2
historical-c95eb2dc7505de1f27ff63a4ffd7a762b1b663ba.zip
Moved from net-www/trac to www-apps/trac.
Diffstat (limited to 'www-apps/trac/trac-0.7.1.ebuild')
-rw-r--r--www-apps/trac/trac-0.7.1.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/www-apps/trac/trac-0.7.1.ebuild b/www-apps/trac/trac-0.7.1.ebuild
new file mode 100644
index 000000000000..64e6e49d14e9
--- /dev/null
+++ b/www-apps/trac/trac-0.7.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.7.1.ebuild,v 1.1 2004/08/15 15:47:05 stuart Exp $
+
+inherit distutils webapp
+
+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"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="$DEPEND
+ >=dev-lang/python-2.3
+ >=dev-python/docutils
+ >=dev-python/pysqlite-0.4.3
+ >=dev-libs/clearsilver-0.9.3
+ >=app-text/silvercity
+ >=dev-util/subversion-1.0.3"
+
+DOCS="AUTHORS COPYING ChangeLog INSTALL PKG-INFO README RELEASE THANKS UPGRADE"
+
+src_install () {
+ webapp_src_preinst
+ distutils_src_install
+ dodoc ${DOCS}
+
+ # now, we have to turn this into something that webapp-config can use
+
+ local my_dir=${D}/usr/share/trac
+ mv ${my_dir}/cgi-bin/trac.cgi ${D}${MY_CGIBINDIR} || die
+ rm -rf ${my_dir}/cgi-bin || die
+ mv ${my_dir}/htdocs/* ${D}${MY_HTDOCSDIR} || die
+ rm -rf ${my_dir}/htdocs || die
+
+ webapp_postinst_txt en ${FILESDIR}/${PV}-postinst-en.txt
+
+ # the trac dir itself needs to be server-owned
+ # this should do the trick
+
+ webapp_serverowned ${MY_HTDOCSDIR}
+
+ # okay, we're done - let webapp.eclass finish off
+ webapp_src_install
+}