blob: e1e6bb42e60e72e2938e016520f8910f89d897eb (
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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/quanta-docs/quanta-docs-20051201.ebuild,v 1.11 2009/10/25 23:31:12 abcd Exp $
DESCRIPTION="Language documentation files for Quanta."
HOMEPAGE="http://quanta.kdewebdev.org/"
SRC_URI="mirror://gentoo/quanta-css-${PV}.tar.bz2
mirror://gentoo/quanta-html-${PV}.tar.bz2
mirror://gentoo/quanta-javascript-${PV}.tar.bz2
mirror://gentoo/quanta-php-${PV}.tar.bz2
mysql? ( mirror://gentoo/quanta-mysql5-${PV}.tar.bz2 )"
# These files resemble the unversioned ones at
# http://sourceforge.net/project/showfiles.php?group_id=4113
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 mips ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="mysql"
S=${WORKDIR}
src_install() {
dodir /usr/share/apps/quanta/doc
local docdirs="css html javascript php"
use mysql && docdirs="${docdirs} mysql5"
for i in ${docdirs}; do
cd "${S}/${i}"
cp -R "$i" "$i.docrc" "${D}/usr/share/apps/quanta/doc"
done
}
|