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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Sep 20 04:57:50 2010 UTC (9 years, 1 month ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Version bump
(Portage version: 2.1.8.3/cvs/Linux x86_64)

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.2.ebuild,v 1.2 2010/03/17 16:31:41 sping 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 # create manpages with "make -C Documentation man"
8 SRC_URI="mirror://kernel/linux/kernel/people/jsipek/${PN}/${P}.tar.bz2
9 mirror://gentoo/${PN}-manpages-${PV}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
14 IUSE="doc"
15
16 RDEPEND="dev-vcs/git"
17 DEPEND="${RDEPEND}
18 doc? ( app-text/asciidoc app-text/xmlto )"
19
20 RESTRICT="test"
21
22 src_unpack() {
23 unpack ${A}
24 cd "${S}"
25
26 sed -i \
27 -e '/^PREFIX/s:=.*:=/usr:' \
28 -e "/^htmldir/s:=.*:=/usr/share/doc/${PF}/html:" \
29 -e "/^VERSION/s:=.*:=${PV}:" \
30 Makefile */Makefile || die
31 }
32
33 src_compile() {
34 if use doc ; then
35 emake -C Documentation html || die
36 fi
37 }
38
39 src_install() {
40 emake install DESTDIR="${D}" || die
41
42 dodoc Documentation/{Contributing,Features,HOWTO,Requirements}
43 doman Documentation/*.[0-9] || die
44
45 if use doc ; then
46 dodir "/usr/share/doc/${PF}/html"
47 emake -C Documentation install-html DESTDIR="${D}" || die
48 fi
49 }

  ViewVC Help
Powered by ViewVC 1.1.20