summaryrefslogtreecommitdiff
blob: 123a9e006811afd6e098a2731adc724acc71e28f (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later

S=${WORKDIR}/Twisted-${PV}
DESCRIPTION="Twisted is a collection of servers and clients, which can be used either by developers of new applications or directly. Documentation included." 
SRC_URI="http://twisted.sourceforge.net/Twisted-${PV}.tar.bz2"
HOMEPAGE="http://www.twistedmatrix.com/"
LICENSE="LGPL-2.1"
SLOT="0"
DEPEND="virtual/python"
RDEPEND="$DEPEND"
KEYWORDS="x86 alpha sparc sparc64"

inherit distutils

src_install() {
	distutils_src_install
	
	# next few lines will install docs: 9.4 megs! 
	dodir /usr/share/doc/${PF}
	# of course it's documentation!
	doman doc/man/*.[0-9n]
	rm -rf doc/man	# don't dupe the man pages
	cd doc
	cp -r . ${D}/usr/share/doc/${PF}
	cd ../
# should be taken care of by the distutils install
#	 dodoc README TODO CREDITS
}

pkg_postinst() {
    echo
    einfo "Don't forget to check your .tap files if you upgrade from prior 0.99.4 otherwise you will get only errors."
    echo
}