summaryrefslogtreecommitdiff
blob: 6ba6588b2a85b2c5e0f8e9ca9702b80204e4d252 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/Cheetah/Cheetah-0.9.13.ebuild,v 1.10 2003/06/22 12:15:59 liquidx 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"
KEYWORDS="x86 sparc alpha"
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/*
}