summaryrefslogtreecommitdiff
blob: eaa32fe879705c428605bbd06b3047dc14e5a419 (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
40
41
42
43
44
45
# 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-text/jadetex/jadetex-2.20.ebuild,v 1.2 2000/11/02 02:17:12 achim Exp $

A="${P}.zip ${P}-makefile.patch"
S=${WORKDIR}/${P}
DESCRIPTION="TeX macros used by Jade TeX output."
SRC_URI="http://www.tug.org/applications/jadetex/jadetex-2.20.zip
	 ftp://ftp.kde.org/pub/kde/devel/docbook/SOURCES/${P}-makefile.patch"
HOMEPAGE="http://"

DEPEND=">=app-arch/unzip-5.41
	>=app-text/tetex-1.0.7"

src_unpack() {

  mkdir ${S}
  cd ${S}
  unpack ${P}.zip
  patch -p0 < ${DISTDIR}/${P}-makefile.patch

}

src_compile() {

    cd ${S}
    try make

}

src_install () {

    cd ${S}
    try make DESTDIR=${D} install
    dodoc ChangeLog
    doman *.1

    dodir /usr/bin
    cd ${D}/usr/bin
    ln -sf virtex jadetext
    ln -sf pdfvirtex pdfjadetex

}