blob: 689746b3b4b959b906940c060b2c80178d526292 (
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
46
47
48
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/transfig-3.2.3d-r1.ebuild,v 1.8 2003/02/13 12:38:32 vapier Exp $
MY_P=${P/transfig-/transfig.}
S=${WORKDIR}/${MY_P}
DESCRIPTION="A set of tools for creating TeX documents with graphics which can be printed in a wide variety of environments"
SRC_URI="http://www.xfig.org/xfigdist/${MY_P}.tar.gz"
HOMEPAGE="http://www.xfig.org"
SLOT="0"
LICENSE="BSD"
KEYWORDS="x86 ppc"
DEPEND="virtual/x11
>=media-libs/jpeg-6
media-libs/libpng"
src_unpack() {
unpack ${A}
cd ${S}
patch -p1 < ${FILESDIR}/${P}.patch
}
src_compile() {
xmkmf || die
make Makefiles || die
make || die
}
src_install() {
# gotta set up the dirs for it....
dodir /usr/bin
dodir /usr/sbin
dodir /usr/share/man/man1
dodir /usr/X11R6/lib/fig2dev
#Now install it.
make \
DESTDIR=${D} \
install || die
#Install docs
dodoc README CHANGES LATEX.AND.XFIG NOTES
doman doc/fig2dev.1
doman doc/fig2ps2tex.1
doman doc/pic2tpic.1
}
|