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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Mar 6 14:24:40 2010 UTC (4 years, 6 months ago) by ulm
Branch: MAIN
Move package from dev-util to dev-vcs, bug 56967. Version bump, remove old.
(Portage version: 2.2_rc63/cvs/Linux i686, RepoMan options: --force)

1 ulm 1.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-util/guilt/guilt-0.32.1.ebuild,v 1.1 2009/07/01 16:54:42 vapier 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-util/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