diff options
Diffstat (limited to 'media-gfx/xfig/xfig-3.2.3d-r1.ebuild')
-rw-r--r-- | media-gfx/xfig/xfig-3.2.3d-r1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/media-gfx/xfig/xfig-3.2.3d-r1.ebuild b/media-gfx/xfig/xfig-3.2.3d-r1.ebuild new file mode 100644 index 000000000000..f2d51ea8bf88 --- /dev/null +++ b/media-gfx/xfig/xfig-3.2.3d-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Michael Conrad Tilstra <tadpol@gentoo.org> <tadpol@tadpol.org> +# $Header: /var/cvsroot/gentoo-x86/media-gfx/xfig/xfig-3.2.3d-r1.ebuild,v 1.1 2002/04/13 01:11:56 seemant Exp $ + +MY_P=${P/xfig-/xfig.} +S=${WORKDIR}/${MY_P} +DESCRIPTION="" +SRC_URI="http://www.xfig.org/xfigdist/${MY_P}.full.tar.gz" +HOMEPAGE="http://www.xfig.org" + +DEPEND="virtual/x11 + media-libs/jpeg + media-libs/libpng" + +src_unpack() { + unpack ${A} + cd ${S} + patch -p1 < ${FILESDIR}/${P}.patch +} + +src_compile() { + xmkmf || die + make || die +} + +src_install () { + #Now install it. + make \ + DESTDIR=${D} \ + install || die + + make \ + DESTDIR=${D} \ + MANDIR=/usr/share/man/man1 \ + MANSUFFIX=1 \ + install.all || die + + #Install docs + dodoc README FIGAPPS CHANGES LATEX.AND.XFIG +} |