summaryrefslogtreecommitdiff
blob: 18f106e376d97d5076683d14306e07f8d5478ef1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Jason Jeremias <jason@penguinsolutions.com>
# $Header: /var/cvsroot/gentoo-x86/dev-python/Cheetah/Cheetah-0.9.13.ebuild,v 1.1 2002/06/04 07:40:24 george Exp $

VERSION="0.9.13"
S=${WORKDIR}/${P}
DESCRIPTION="Cheetah is a Python-powered template engine and code generator."
SRC_URI="http://unc.dl.sourceforge.net/sourceforge/cheetahtemplate/${P}.tar.gz"
HOMEPAGE="http://www.cheetahtemplate.org/"

RDEPEND=">=dev-lang/python-2.2"
DEPEND="${RDEPEND}"

SLOT="0"

LICENSE="PSF-2.2"

src_compile() {

	python setup.py build || die

}

src_install() {

    python setup.py install --prefix=${D}/usr || die

    dodoc README docs/devel_guide.txt docs/users_guide.txt docs/users_guide.ps \
          docs/users_guide.pdf docs/devel_guide.pdf docs/devel_guide.ps

    docinto beginners_guide_src
	dodoc docs/beginners_guide_src/*
    
	docinto devel_guide_src
	dodoc docs/devel_guide_src/*

	docinto users_guide_src
    dodoc docs/users_guide_src/*

	#dodoc compresses everything
	#changed to ininto/doins so that html files are not compressed
    insinto usr/share/doc/${PF}/html/devel_guide_html
	doins docs/devel_guide_html/*

	insinto usr/share/doc/${PF}/html/devel_guide_html_multipage
    doins docs/devel_guide_html_multipage/*
	
	insinto usr/share/doc/${PF}/html/users_guide_html
	doins docs/users_guide_html/*
	
	insinto usr/share/doc/${PF}/html/users_guide_html_multipage
	doins docs/users_guide_html_multipage/*
}