diff options
author | Michael Conrad Tilstra <tadpol@gentoo.org> | 2001-06-21 23:31:49 +0000 |
---|---|---|
committer | Michael Conrad Tilstra <tadpol@gentoo.org> | 2001-06-21 23:31:49 +0000 |
commit | ec385ae95ec9a0e0bcec642ef694285cadf197c9 (patch) | |
tree | fdec624fb2a5213ccf000488e1eed327cc89896a /media-gfx | |
parent | *** empty log message *** (diff) | |
download | historical-ec385ae95ec9a0e0bcec642ef694285cadf197c9.tar.gz historical-ec385ae95ec9a0e0bcec642ef694285cadf197c9.tar.bz2 historical-ec385ae95ec9a0e0bcec642ef694285cadf197c9.zip |
- transfig aka, fig2dev.
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/transfig/files/digest-transfig-3.2.3d | 1 | ||||
-rw-r--r-- | media-gfx/transfig/files/transfig-3.2.3d.patch | 50 | ||||
-rw-r--r-- | media-gfx/transfig/transfig-3.2.3d.ebuild | 49 |
3 files changed, 100 insertions, 0 deletions
diff --git a/media-gfx/transfig/files/digest-transfig-3.2.3d b/media-gfx/transfig/files/digest-transfig-3.2.3d new file mode 100644 index 000000000000..3d1aab4d9fe1 --- /dev/null +++ b/media-gfx/transfig/files/digest-transfig-3.2.3d @@ -0,0 +1 @@ +MD5 4fbf4184fe2df4fe9bb5130b6e19907c transfig.3.2.3d.tar.gz diff --git a/media-gfx/transfig/files/transfig-3.2.3d.patch b/media-gfx/transfig/files/transfig-3.2.3d.patch new file mode 100644 index 000000000000..375ac989d716 --- /dev/null +++ b/media-gfx/transfig/files/transfig-3.2.3d.patch @@ -0,0 +1,50 @@ +diff -ru /home/tadpol/src/transfig.3.2.3d/fig2dev/Imakefile transfig.3.2.3d/fig2dev/Imakefile +--- /home/tadpol/src/transfig.3.2.3d/fig2dev/Imakefile Thu Apr 19 12:19:38 2001 ++++ transfig.3.2.3d/fig2dev/Imakefile Thu Jun 21 17:15:00 2001 +@@ -28,7 +28,7 @@ + XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled + XCOMM and installed xfig. This will be made automatic in the future. + +-XFIGLIBDIR = /usr/local/lib/X11/xfig ++XFIGLIBDIR = /usr/X11R6/lib/xfig + + XCOMM ****** + XCOMM If your system has the strerror() function (doesn't have sys_errlist) then +@@ -47,7 +47,7 @@ + XCOMM inline functions. With the "INLINE" keyword, you should notice that + XCOMM the display will be a bit faster in complex figures + +-XCOMM USEINLINE = -DUSE_INLINE ++USEINLINE = -DUSE_INLINE + + XCOMM **************** + XCOMM Change RGB if necessary, to point to your rgb.txt color database +@@ -78,7 +78,7 @@ + XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h) + XCOMM + +-XCOMM #define USEXPM ++#define USEXPM + + #ifdef USEXPM + XPMLIBDIR = $(USRLIBDIR) +@@ -104,8 +104,8 @@ + + #ifdef USEJPEG + #ifdef USEINSTALLEDJPEG +-JPEGLIBDIR = /usr/local/lib +-JPEGINCDIR = /usr/include/X11 ++JPEGLIBDIR = /usr/lib ++JPEGINCDIR = /usr/include + #else + JPEGLIBDIR = ../jpeg + JPEGINCDIR = $(JPEGLIBDIR) +@@ -158,7 +158,7 @@ + + #ifdef I18N + I18N_DEFS = -DI18N +-FIG2DEV_LIBDIR = /usr/local/lib/fig2dev ++FIG2DEV_LIBDIR = /usr/X11R6/lib/fig2dev + I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=\\\"$(FIG2DEV_LIBDIR)\\\" + + install:: diff --git a/media-gfx/transfig/transfig-3.2.3d.ebuild b/media-gfx/transfig/transfig-3.2.3d.ebuild new file mode 100644 index 000000000000..431ca84f232e --- /dev/null +++ b/media-gfx/transfig/transfig-3.2.3d.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2001 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.ebuild,v 1.1 2001/06/21 23:31:49 michael Exp $ + +#P= +A=transfig.3.2.3d.tar.gz +S=${WORKDIR}/transfig.3.2.3d +DESCRIPTION="" +SRC_URI="http://www.xfig.org/xfigdist/${A}" +HOMEPAGE="http://www.xfig.org" + +DEPEND="virtual/glibc + >=x11-base/xfree-4.0 + >=media-libs/jpeg-6 + >=media-libs/libpng-1.0.9 + " + +src_unpack() { + unpack ${A} + cd ${S} + patch -p1 < ${FILESDIR}/${P}.patch +} + +src_compile() { + try xmkmf + try make Makefiles + try make +} + +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. + try make DESTDIR=${D} install + + #Install docs + dodoc README CHANGES LATEX.AND.XFIG NOTES + doman doc/fig2dev.1 + doman doc/fig2ps2tex.1 + doman doc/pic2tpic.1 + +} + +# vim: ai et sw=4 ts=4 |