summaryrefslogtreecommitdiff
blob: e9f952481c053381f9dc2e10755234922476d495 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.3 2002/02/04 15:46:51 gbevin Exp

S=${WORKDIR}/TeXmacs-${PV}-src
DESCRIPTION="GNU TeXmacs is a free GUI scientific editor, inspired by TeX and GNU Emacs."
SRC_URI="ftp://ftp.texmacs.org/pub/TeXmacs/targz/TeXmacs-${PV}-src.tar.gz
	 ftp://ftp.texmacs.org/pub/TeXmacs/targz/TeXmacs-600dpi-fonts.tar.gz"
HOMEPAGE="http://www.texmacs.org/"
LICENSE=GPL-2

COMMONDEPEND=">=app-text/tetex-1.0.7-r7
        >=dev-util/guile-1.3.4
        >=x11-base/xfree-4.2.0-r5"

DEPEND="$COMMONDEPEND sys-devel/gcc sys-devel/make"

RDEPEND="$COMMONDEPEND app-text/ghostscript"

src_install() {

    cd ${S}
    make DESTDIR=${D} install || die
    
    cd ${WORKDIR}
    dodir /usr/share/texmf
    cp -r fonts ${D}/usr/share/texmf/
    
    cd ${S}
    dodoc COMPILE COPYING LICENSE

}