summaryrefslogtreecommitdiff
blob: cc15e7196f565e4798621c9b06f199cf99c64d87 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>, Bart Verwilst <verwilst@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-editors/quanta/quanta-2.0.1.ebuild,v 1.1 2001/12/13 22:18:54 verwilst Exp $ 
. /usr/portage/eclass/inherit.eclass
inherit kde-base || die

need-kdelibs 2.1

S=${WORKDIR}/${P}
DESCRIPTION="Quanta - HTML editor for KDE2"

SRC_URI="http://prdownloads.sourceforge.net/quanta/${P}.tar.bz2
	 http://prdownloads.sourceforge.net/quanta/css.tar.bz2
	 http://prdownloads.sourceforge.net/quanta/html.tar.bz2
	 http://prdownloads.sourceforge.net/quanta/javascript.tar.bz2
	 http://prdownloads.sourceforge.net/quanta/php.tar.bz2"

HOMEPAGE="http://quanta.sourceforge.net"

src_install() {
    
    kde_src_install
    
    dodir /usr/share/apps/quanta/doc/
    for x in css html javascript php; do
	cp -a ${WORKDIR}/${x}/*.docrc ${WORKDIR}/${x}/${x} ${D}/usr/share/apps/quanta/doc/
    done
    
}