summaryrefslogtreecommitdiff
blob: 048c908e489693e4ec7e1e27141ee1af825ebeb3 (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-2002 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.14.ebuild,v 1.6 2002/12/15 10:44:18 bjb Exp $

VERSION="0.9.14"
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/*
}