| 1 | # Copyright 1999-2010 Gentoo Foundation |
1 | # Copyright 1999-2010 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/app-admin/webapp-config/Attic/webapp-config-1.50.16-r1.ebuild,v 1.14 2010/05/14 18:56:00 arfrever Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/app-admin/webapp-config/Attic/webapp-config-1.50.16-r1.ebuild,v 1.15 2010/10/04 00:01:32 reavertm Exp $ |
| 4 | |
4 | |
| 5 | EAPI="3" |
5 | EAPI="3" |
| 6 | PYTHON_DEPEND="2" |
6 | PYTHON_DEPEND="2" |
| 7 | SUPPORT_PYTHON_ABIS="1" |
7 | SUPPORT_PYTHON_ABIS="1" |
| 8 | |
8 | |
| … | |
… | |
| 23 | |
23 | |
| 24 | PYTHON_MODNAME="WebappConfig" |
24 | PYTHON_MODNAME="WebappConfig" |
| 25 | |
25 | |
| 26 | src_prepare() { |
26 | src_prepare() { |
| 27 | epatch "${FILESDIR}/${P}-apache-move.patch" |
27 | epatch "${FILESDIR}/${P}-apache-move.patch" |
|
|
28 | # Do not build nor install eclass manual, bug 322759 |
|
|
29 | rm -f doc/webapp.eclass.5* |
|
|
30 | sed -e '/MAN_PAGES/s/webapp.eclass.5//' \ |
|
|
31 | -e '/HTML_PAGES/s/webapp.eclass.5.html//' \ |
|
|
32 | -i doc/Makefile || die |
| 28 | } |
33 | } |
| 29 | |
34 | |
| 30 | src_install() { |
35 | src_install() { |
| 31 | # According to this discussion: |
36 | # According to this discussion: |
| 32 | # http://mail.python.org/pipermail/distutils-sig/2004-February/003713.html |
37 | # http://mail.python.org/pipermail/distutils-sig/2004-February/003713.html |