summaryrefslogtreecommitdiff
blob: 5598ac9e20aec1c58bbf75908602f113e91ba629 (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
# 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.4 2002/05/08 08:43:22 spider Exp $
. /usr/portage/eclass/inherit.eclass
inherit kde-base || die

need-kde 2.1

DESCRIPTION="Quanta - HTML editor for KDE2"

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

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

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