1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="statistics generator for git"
10 HOMEPAGE="http://gitstats.sourceforge.net/"
12 EGIT_REPO_URI="git://repo.or.cz/${PN}.git"
14 LICENSE="|| ( GPL-2 GPL-3 )"
20 RDEPEND="sci-visualization/gnuplot[gd]
24 sed "s:basedir = os.path.dirname(os.path.abspath(__file__)):basedir = '/usr/share/gitstats':g" \
25 -i gitstats || die "failed to fix static files path"
29 insinto /usr/share/${PN}
30 doins gitstats.css sortable.js *gif || die "failed to install static files"
31 dobin gitstats || die "failed to install ${PN}"
32 dodoc doc/{README,{TODO,author}.txt} || die "doc install failed"