summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Conrad Tilstra <tadpol@gentoo.org>2001-06-22 04:05:26 +0000
committerMichael Conrad Tilstra <tadpol@gentoo.org>2001-06-22 04:05:26 +0000
commit070dbc856a64ee5158f83530fecde0e7b4c04e6e (patch)
tree887c4e24d59dad7b30ed4e37d0230e8999a97ed3 /media-gfx/xfig
parentAdded eterm-0.9 this is probably not the most "stable" but I dislike eterm (diff)
downloadhistorical-070dbc856a64ee5158f83530fecde0e7b4c04e6e.tar.gz
historical-070dbc856a64ee5158f83530fecde0e7b4c04e6e.tar.bz2
historical-070dbc856a64ee5158f83530fecde0e7b4c04e6e.zip
- xfig, the editor for all them .fig files.
Diffstat (limited to 'media-gfx/xfig')
-rw-r--r--media-gfx/xfig/files/digest-xfig-3.2.3d1
-rw-r--r--media-gfx/xfig/files/xfig-3.2.3d.patch79
-rw-r--r--media-gfx/xfig/xfig-3.2.3d.ebuild39
3 files changed, 119 insertions, 0 deletions
diff --git a/media-gfx/xfig/files/digest-xfig-3.2.3d b/media-gfx/xfig/files/digest-xfig-3.2.3d
new file mode 100644
index 000000000000..033b8afa5a19
--- /dev/null
+++ b/media-gfx/xfig/files/digest-xfig-3.2.3d
@@ -0,0 +1 @@
+MD5 c6321efc1e2796e111b250c58de2f2e0 xfig.3.2.3d.full.tar.gz
diff --git a/media-gfx/xfig/files/xfig-3.2.3d.patch b/media-gfx/xfig/files/xfig-3.2.3d.patch
new file mode 100644
index 000000000000..0150eaef08ce
--- /dev/null
+++ b/media-gfx/xfig/files/xfig-3.2.3d.patch
@@ -0,0 +1,79 @@
+--- xfig.3.2.3d.orig/Imakefile Tue May 29 13:32:11 2001
++++ xfig.3.2.3d/Imakefile Thu Jun 21 22:57:52 2001
+@@ -26,9 +26,9 @@
+ XCOMM app-defaults resource files to go. You will have to use the environment
+ XCOMM variable XAPPLRESDIR to point to this directory.
+
+-XCOMM BINDIR = /usr/bin/X11
++XCOMM BINDIR = /usr/X11/bin
+ XCOMM MKDIRHIER = /bin/sh /usr/bin/X11/mkdirhier
+-XCOMM XAPPLOADDIR = /home/user/xfig
++XAPPLOADDIR = /etc/X11/app-defaults
+
+ XCOMM If don't want JPEG support, comment out the #define USEJPEG line
+ XCOMM Uncomment the #define for USEJPEG if you want to be able to import
+@@ -47,8 +47,8 @@
+
+ #ifdef USEJPEG
+ #ifdef USEINSTALLEDJPEG
+-JPEGLIBDIR = /usr/local/lib
+-JPEGINCDIR = /usr/include/X11
++JPEGLIBDIR = /usr/lib
++JPEGINCDIR = /usr/include
+ #else
+ JPEGLIBDIR = ../jpeg
+ JPEGINCDIR = $(JPEGLIBDIR)
+@@ -72,8 +72,8 @@
+ XCOMM Change XPMLIBDIR if necessary to point to the xpm library (libXpm)
+ XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
+
+-XCOMM #define USEXPM
+-XCOMM #define USEXPM_ICON
++#define USEXPM
++#define USEXPM_ICON
+
+ #ifdef USEXPM
+ XPMLIBDIR = $(USRLIBDIR)
+@@ -90,7 +90,7 @@
+ XCOMM Then be sure to change the XAW3DINC to point to the directory where your
+ XCOMM 3D Athena widget headers are located
+
+-#define XAW3D
++XCOMM #define XAW3D
+
+ #ifdef XAW3D
+ XAW3DINC = -I/usr/include/X11/Xaw3d
+@@ -120,7 +120,7 @@
+ XCOMM If your setlocale() dosen't support the locale, you should
+ XCOMM add -DSETLOCALE to I18N_DEFS.
+
+-XCOMM #define I18N
++#define I18N
+
+ XCOMM If using an input tablet uncomment the following
+
+@@ -131,19 +131,19 @@
+ 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 use (and change) the following if you want the multi-key data base file
+ XCOMM somewhere other than the standard X11 library directory
+ XCOMM be sure to comment out the second copy of XFIGLIBDIR if you use this one
+-XCOMM XFIGLIBDIR = /usr/local/lib/xfig
++XFIGLIBDIR = /usr/X11R6/lib/xfig
+
+ XCOMM use this if you want the multi-key data base file in the standard X11 tree
+-XFIGLIBDIR = $(LIBDIR)/xfig
++XCOMM XFIGLIBDIR = $(LIBDIR)/xfig
+
+ XCOMM now you can configure where the documentation should be located
+-XFIGDOCDIR = $(LIBDIR)/xfig
+-XCOMM XFIGDOCDIR = /usr/share/doc/xfig-doc
++XCOMM XFIGDOCDIR = $(LIBDIR)/xfig
++XFIGDOCDIR = /usr/share/doc/xfig-3.2.3d
+
+ XCOMM If your system doesn't have strstr undefine the following definition
+ XCOMM HAVE_NO_NOSTRSTR = -DNOSTRSTR
diff --git a/media-gfx/xfig/xfig-3.2.3d.ebuild b/media-gfx/xfig/xfig-3.2.3d.ebuild
new file mode 100644
index 000000000000..239fb2b46797
--- /dev/null
+++ b/media-gfx/xfig/xfig-3.2.3d.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2001 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.ebuild,v 1.1 2001/06/22 04:05:26 tadpol Exp $
+
+#P=
+A=xfig.3.2.3d.full.tar.gz
+S=${WORKDIR}/xfig.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
+}
+
+src_install () {
+ #Now install it.
+ try make DESTDIR=${D} install
+ try make DESTDIR=${D} MANDIR=/usr/share/man/man1 MANSUFFIX=1 install.all
+
+ #Install docs
+ dodoc README FIGAPPS CHANGES LATEX.AND.XFIG
+}
+
+# vim: ai et sw=4 ts=4