/[gentoo-x86]/dev-vcs/guilt/guilt-0.32.ebuild
Gentoo

Contents of /dev-vcs/guilt/guilt-0.32.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Mar 17 16:31:41 2010 UTC (8 years, 7 months ago) by sping
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
dev-vcs/guilt: Propagate move of dev-util/git to dev-vcs/git
(Portage version: 2.2_rc67/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/guilt/guilt-0.32.ebuild,v 1.1 2010/03/06 14:24:40 ulm Exp $
4
5 DESCRIPTION="A series of bash scripts which add a quilt-like interface to git"
6 HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/jsipek/guilt/"
7 SRC_URI="mirror://kernel/linux/kernel/people/jsipek/${PN}/${P}.tar.bz2
8 mirror://gentoo/${PN}-manpages-${PV}.tar.bz2"
9
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="amd64 ~ia64 ppc ~sparc x86"
13 IUSE="doc"
14
15 RDEPEND="dev-vcs/git"
16 DEPEND="${RDEPEND}
17 doc? ( app-text/asciidoc app-text/xmlto )"
18
19 RESTRICT="test"
20
21 src_unpack() {
22 unpack ${A}
23 cd "${S}"
24
25 sed -i \
26 -e '/^PREFIX/s:=.*:=/usr:' \
27 -e "/^htmldir/s:=.*:=/usr/share/doc/${PF}/html:" \
28 -e "/^VERSION/s:=.*:=${PV}:" \
29 Makefile */Makefile || die
30 }
31
32 src_compile() {
33 if use doc ; then
34 emake -C Documentation html || die
35 fi
36 }
37
38 src_install() {
39 emake install DESTDIR="${D}" || die
40
41 dodoc Documentation/{Contributing,Features,HOWTO,Requirements}
42 doman Documentation/*.[0-9] || die
43
44 if use doc ; then
45 dodir "/usr/share/doc/${PF}/html"
46 emake -C Documentation install-html DESTDIR="${D}" || die
47 fi
48 }

  ViewVC Help
Powered by ViewVC 1.1.20