--- /var/portage/tree/www-apps/trac/trac-0.9_beta2.ebuild 2005-09-29 00:35:52.000000000 +0200 +++ trac-0.9_beta2.ebuild 2005-10-16 19:53:05.000000000 +0200 @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.9_beta2.ebuild,v 1.1 2005/09/28 22:35:52 dju Exp $ +# $Header: $ -inherit distutils webapp +inherit distutils eutils webapp MY_P=${P/_beta/b} @@ -13,7 +13,7 @@ LICENSE="trac" KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="vhosts cgi fastcgi postgres sqlite enscript silvercity" +IUSE="vhosts cgi fastcgi postgres sqlite enscript silvercity darcs" # doing so because utils (such as trac-admin), manpages... overlap SLOT="0" @@ -42,6 +42,14 @@ webapp_pkg_setup } +src_unpack () { + unpack ${A} + if use darcs ; then + cd ${S} + epatch ${FILESDIR}/${PV}-vc-general.patch + fi +} + src_install () { # project databases might go in here keepdir /var/lib/trac