diff options
Diffstat (limited to 'media-gfx/transfig/transfig-3.2.3d-r1.ebuild')
-rw-r--r-- | media-gfx/transfig/transfig-3.2.3d-r1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/media-gfx/transfig/transfig-3.2.3d-r1.ebuild b/media-gfx/transfig/transfig-3.2.3d-r1.ebuild new file mode 100644 index 000000000000..c89d2c099567 --- /dev/null +++ b/media-gfx/transfig/transfig-3.2.3d-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Michael Conrad Tilstra <michael@gentoo.org> <tadpol@tadpol.org> +# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/transfig-3.2.3d-r1.ebuild,v 1.1 2002/04/13 00:29:37 seemant 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" + +DEPEND="virtual/xfree + >=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 + +} |