Lines 2-7
Link Here
|
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/webapp-config-1.50.16-r3.ebuild,v 1.2 2008/04/03 10:24:04 hollow Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-admin/webapp-config/webapp-config-1.50.16-r3.ebuild,v 1.2 2008/04/03 10:24:04 hollow Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI=1 |
6 |
|
5 |
inherit eutils distutils |
7 |
inherit eutils distutils |
6 |
|
8 |
|
7 |
DESCRIPTION="Gentoo's installer for web-based applications" |
9 |
DESCRIPTION="Gentoo's installer for web-based applications" |
Lines 11-19
Link Here
|
11 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
12 |
SLOT="0" |
14 |
SLOT="0" |
13 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
15 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
14 |
IUSE="" |
16 |
IUSE="+doc" |
15 |
|
17 |
|
16 |
DEPEND="" |
18 |
DEPEND="doc? ( app-text/xmlto )" |
17 |
|
19 |
|
18 |
src_unpack() { |
20 |
src_unpack() { |
19 |
unpack ${A} |
21 |
unpack ${A} |
Lines 25-30
Link Here
|
25 |
rm -f doc/webapp.eclass.5{,.html} |
27 |
rm -f doc/webapp.eclass.5{,.html} |
26 |
} |
28 |
} |
27 |
|
29 |
|
|
|
30 |
src_compile() { |
31 |
use doc \ |
32 |
&& (ebegin "Compiling xml documentation" && emake -C doc && eend || die) |
33 |
} |
34 |
|
28 |
src_install() { |
35 |
src_install() { |
29 |
# According to this discussion: |
36 |
# According to this discussion: |
30 |
# http://mail.python.org/pipermail/distutils-sig/2004-February/003713.html |
37 |
# http://mail.python.org/pipermail/distutils-sig/2004-February/003713.html |
Lines 39-47
Link Here
|
39 |
keepdir /usr/share/webapps |
46 |
keepdir /usr/share/webapps |
40 |
keepdir /var/db/webapps |
47 |
keepdir /var/db/webapps |
41 |
|
48 |
|
42 |
dodoc examples/phpmyadmin-2.5.4-r1.ebuild AUTHORS.txt CHANGES.txt examples/postinstall-en.txt |
49 |
use doc && dodoc examples/phpmyadmin-2.5.4-r1.ebuild AUTHORS.txt CHANGES.txt examples/postinstall-en.txt |
43 |
doman doc/*.[58] |
50 |
use doc && doman doc/*.[58] |
44 |
dohtml doc/*.[58].html |
51 |
use doc && dohtml doc/*.[58].html |
45 |
} |
52 |
} |
46 |
|
53 |
|
47 |
src_test() { |
54 |
src_test() { |