summaryrefslogtreecommitdiff
blob: 3ed6c24a41e63e68a4fba98bd05170f418a7ce0d (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/nevow/nevow-0.1.ebuild,v 1.1 2004/05/06 18:29:02 lordvan Exp $

inherit distutils

# for alphas,..
MY_PV="${PV/_alpha/alpha}"
DESCRIPTION="Nevow is a next-generation web application templating system, based on the ideas developed in the Twisted Woven package."
HOMEPAGE="http://www.nevow.com/"
SRC_URI="http://www.nevow.com/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~ppc ~alpha"
IUSE=""

DEPEND=">=dev-python/twisted-1.2.0"

S=${WORKDIR}/${P}

src_install() {
    distutils_src_install
    
    dodoc README
    
    # other docs are in subdirs so i use cp -r instead of insinto
    cp -r ${S}/doc ${D}/usr/share/doc/${PF}/
    cp -r ${S}/examples ${D}/usr/share/doc/${PF}/
    
    # FIXME:
    # should i install tutorial,pdfs,.. when USE="doc"?
}