diff options
author | Michael Weber <xmw@gentoo.org> | 2010-09-20 04:57:50 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2010-09-20 04:57:50 +0000 |
commit | e70ed6af3d46c8106f01378834058555b1ac7525 (patch) | |
tree | 5a06ee0c4d0ead8ee94a11477e98a87a44ed802b /dev-vcs/guilt/guilt-0.34.ebuild | |
parent | Version bump. Addresses boost problems and compilation issues (diff) | |
download | gentoo-2-e70ed6af3d46c8106f01378834058555b1ac7525.tar.gz gentoo-2-e70ed6af3d46c8106f01378834058555b1ac7525.tar.bz2 gentoo-2-e70ed6af3d46c8106f01378834058555b1ac7525.zip |
Version bump
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-vcs/guilt/guilt-0.34.ebuild')
-rw-r--r-- | dev-vcs/guilt/guilt-0.34.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-vcs/guilt/guilt-0.34.ebuild b/dev-vcs/guilt/guilt-0.34.ebuild new file mode 100644 index 000000000000..83184035523a --- /dev/null +++ b/dev-vcs/guilt/guilt-0.34.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/guilt/guilt-0.34.ebuild,v 1.1 2010/09/20 04:57:50 xmw Exp $ + +DESCRIPTION="A series of bash scripts which add a quilt-like interface to git" +HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/jsipek/guilt/" +# create manpages with "make -C Documentation man" +SRC_URI="mirror://kernel/linux/kernel/people/jsipek/${PN}/${P}.tar.bz2 + mirror://gentoo/${PN}-manpages-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="doc" + +RDEPEND="dev-vcs/git" +DEPEND="${RDEPEND} + doc? ( app-text/asciidoc app-text/xmlto )" + +RESTRICT="test" + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i \ + -e '/^PREFIX/s:=.*:=/usr:' \ + -e "/^htmldir/s:=.*:=/usr/share/doc/${PF}/html:" \ + -e "/^VERSION/s:=.*:=${PV}:" \ + Makefile */Makefile || die +} + +src_compile() { + if use doc ; then + emake -C Documentation html || die + fi +} + +src_install() { + emake install DESTDIR="${D}" || die + + dodoc Documentation/{Contributing,Features,HOWTO,Requirements} + doman Documentation/*.[0-9] || die + + if use doc ; then + dodir "/usr/share/doc/${PF}/html" + emake -C Documentation install-html DESTDIR="${D}" || die + fi +} |