| 1 | # Copyright 1999-2011 Gentoo Foundation |
1 | # Copyright 1999-2011 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License, v2 or later |
2 | # Distributed under the terms of the GNU General Public License, v2 or later |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/twisted.eclass,v 1.9 2011/12/27 05:36:48 floppym Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/twisted.eclass,v 1.10 2011/12/27 06:54:23 floppym Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: twisted.eclass |
5 | # @ECLASS: twisted.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Gentoo Python Project <python@gentoo.org> |
7 | # Gentoo Python Project <python@gentoo.org> |
| 8 | # @BLURB: Eclass for Twisted packages |
8 | # @BLURB: Eclass for Twisted packages |
| … | |
… | |
| 67 | |
67 | |
| 68 | twisted_src_install() { |
68 | twisted_src_install() { |
| 69 | distutils_src_install |
69 | distutils_src_install |
| 70 | |
70 | |
| 71 | if [[ -d doc/man ]]; then |
71 | if [[ -d doc/man ]]; then |
| 72 | doman doc/man/* |
72 | doman doc/man/*.[[:digit:]] |
| 73 | fi |
73 | fi |
| 74 | |
74 | |
| 75 | if [[ -d doc ]]; then |
75 | if [[ -d doc ]]; then |
| 76 | insinto /usr/share/doc/${PF} |
76 | insinto /usr/share/doc/${PF} |
| 77 | doins -r $(find doc -mindepth 1 -maxdepth 1 -not -name man) |
77 | doins -r $(find doc -mindepth 1 -maxdepth 1 -not -name man) |