summaryrefslogtreecommitdiff
blob: 2eb0277e659969bbc877d8da0b79001ae2e31dd7 (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
34
35
36
37
38
39
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-doc/gimp-user-manual/gimp-user-manual-html-2.0.ebuild,v 1.2 2000/10/14 11:15:44 achim Exp $

A="GimpUsersManual_SecondEdition-HTML_Search.tar.gz
   GimpUsersManual_SecondEdition-HTML_Color.tar.gz"

S=${WORKDIR}/${P}
DESCRIPTION="A user manual for GIMP"
SRC_URI="ftp://manual.gimp.org/pub/manual/GimpUsersManual_SecondEdition-HTML_Search.tar.gz
	 ftp://manual.gimp.org/pub/manual/GimpUsersManual_SecondEdition-HTML_Color.tar.gz"
HOMEPAGE="http://manual.gimp.org"


src_unpack() {

  mkdir ${S}
  cd ${S}
  unpack ${A}

}

src_compile() {

    cd ${S}
    rm GUM/wwhsrch.js
    touch GUM/wwhsrch.js

}

src_install () {

   dodir /usr/doc/${P}/html
   cp -a ${S}/GUM ${D}/usr/doc/${P}/html
   cp -a ${S}/GUMC ${D}/usr/doc/${P}/html
   dodoc README_NOW
}