xfig-3.2.4-r1.ebuild -------------------- IUSE="" MY_P=${P/xfig-/xfig.} S=${WORKDIR}/${MY_P} DESCRIPTION="A menu-driven tool to draw and manipulate objects interactively in an X window." SRC_URI="http://www.xfig.org/xfigdist/${MY_P}.full.tar.gz" HOMEPAGE="http://www.xfig.org" SLOT="0" LICENSE="BSD" KEYWORDS="~x86 ~ppc" DEPEND="virtual/x11 x11-libs/Xaw3d media-libs/jpeg media-libs/libpng" RDEPEND="${DEPEND} media-gfx/transfig media-libs/netpbm" src_unpack() { unpack ${A} cd ${S} patch -p1 < ${FILESDIR}/${P}.patch } src_compile() { xmkmf || die make || die } src_install () { make \ DESTDIR=${D} \ install || die make \ DESTDIR=${D} \ MANDIR=/usr/share/man/man1 \ MANSUFFIX=1 \ install.all || die dodoc README FIGAPPS CHANGES LATEX.AND.XFIG } ----------- xfig-3.2.4.patch ----------- --- xfig.3.2.4.orig/Imakefile 2003-01-20 17:13:38.000000000 +0100 +++ xfig.3.2.4/Imakefile 2003-01-20 18:54:04.000000000 +0100 @@ -41,9 +41,9 @@ XCOMM different tree than the "correct" tree that your X system expects. The usual XCOMM purpose of DESTDIR is to test an install process by installing in a benign area. -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 Redefine the following if your PNG library and/or include file XCOMM are in different places @@ -68,8 +68,8 @@ #ifdef USEJPEG #ifdef USEINSTALLEDJPEG -JPEGLIBDIR = /usr/local/lib -JPEGINC = -I/usr/include/X11 +JPEGLIBDIR = /usr/lib +JPEGINC = -I/usr/include #else JPEGLIBDIR = ../jpeg JPEGINC = -I$(JPEGLIBDIR) @@ -87,8 +87,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) @@ -154,19 +154,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 XFIGDOCDIR tells where the html and pdf documentation should go XCOMM XFIGDOCDIR = $(DOCDIR)/xfig -XFIGDOCDIR = /usr/share/doc/xfig +XFIGDOCDIR = /usr/share/doc/xfig-3.2.4 XCOMM MANDIR tells where the standard man pages should go (no need to change it XCOMM if you want the man pages installed in the standard place on your system
Created attachment 7473 [details] xfig-3.2.4-r1
Created attachment 7474 [details, diff] patch for xfig-3.2.4
*** Bug 13835 has been marked as a duplicate of this bug. ***
thanks daniele. added to portage.