summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-08-13 14:37:19 +0000
committerPeter Volkov <pva@gentoo.org>2008-08-13 14:37:19 +0000
commit362edf65e279c0e6594f0da123408a9960529658 (patch)
tree0d436a4aa75c125833c5a0dbe8c17ea83ff87d68 /media-gfx
parentSparc stable, Bug #234592. (diff)
downloadhistorical-362edf65e279c0e6594f0da123408a9960529658.tar.gz
historical-362edf65e279c0e6594f0da123408a9960529658.tar.bz2
historical-362edf65e279c0e6594f0da123408a9960529658.zip
Add desktop menu entry, bug #233824, thank Simon Zilliken for work.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.25-gentoo-r7 x86_64
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/xfig/ChangeLog7
-rw-r--r--media-gfx/xfig/Manifest3
-rw-r--r--media-gfx/xfig/xfig-3.2.5-r3.ebuild79
3 files changed, 87 insertions, 2 deletions
diff --git a/media-gfx/xfig/ChangeLog b/media-gfx/xfig/ChangeLog
index dffb5d9eeb6d..4087e67dd877 100644
--- a/media-gfx/xfig/ChangeLog
+++ b/media-gfx/xfig/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/xfig
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xfig/ChangeLog,v 1.51 2008/05/11 12:09:54 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xfig/ChangeLog,v 1.52 2008/08/13 14:37:19 pva Exp $
+
+*xfig-3.2.5-r3 (13 Aug 2008)
+
+ 13 Aug 2008; Peter Volkov <pva@gentoo.org> +xfig-3.2.5-r3.ebuild:
+ Add desktop menu entry, bug #233824, thank Simon Zilliken for work.
*xfig-3.2.5-r2 (11 May 2008)
diff --git a/media-gfx/xfig/Manifest b/media-gfx/xfig/Manifest
index 8719193967bd..c93b79d1cb69 100644
--- a/media-gfx/xfig/Manifest
+++ b/media-gfx/xfig/Manifest
@@ -1,5 +1,6 @@
DIST xfig.3.2.5.full.tar.gz 5794801 RMD160 0d5ada9e4b7f1dbd8dab8a09fd5946ec0211904c SHA1 ce09d1a74dbddf0bc6b20fe9c558db584fbfed17 SHA256 62e43d5ef483acdb74d0b6dcdf5f8a12e545201048db33ffb5d573d74ae72c9a
EBUILD xfig-3.2.5-r1.ebuild 1824 RMD160 99cb3f85e7a11d91152519cf77bb9128c874303d SHA1 e123b855a20aefd3adc97aea55c2a7401a955142 SHA256 1213c789c16fdd8389e75d4367a0a80d260d1c287ac4e860481921fade6bfa5c
EBUILD xfig-3.2.5-r2.ebuild 1870 RMD160 419884ee07dadf5afa21044f56652a941f60c80c SHA1 3e3368d9dcf510a2cf79457748bbf98f1d3507d7 SHA256 4995f09178341f7776663ac9e3141e93830f8aeb81bba66a8dc56c7529d43e27
-MISC ChangeLog 7052 RMD160 1aa14e064fab69be638fd39dae12240390bc110b SHA1 40be70eb6f1f3ad629cec2c61a9c5d96808ed143 SHA256 70512b87267374f5807a698a111764758e7a7cd1af04df5e0272019722419413
+EBUILD xfig-3.2.5-r3.ebuild 1923 RMD160 a4aaf0d0edf74a5b84ffa22561e0dfb50c56b136 SHA1 871bbfa36a681539b450b6266dbcb8e798f07de0 SHA256 7d44393ec5d3ac7d5d2346ed01a96c6d97b150b400cbdefe201199575950981f
+MISC ChangeLog 7221 RMD160 cd45e3f4f9d0fcaa1e55d6c4794c24ba37e92407 SHA1 dbcfcdaf0bed68e1da557eabfd35b47d0c98814c SHA256 94839a7012b42cbe7d527413db7f6b127e7ae27945d091b793824c2be372c911
MISC metadata.xml 250 RMD160 f27bc8272125f15d03c2bfc87e961842bdb303ae SHA1 c4991bbfca89085d81f56ed53f8b0c827a35a4f1 SHA256 68999dde540491efec63a8f47366dbc2d5f2c9f2c1211709d92366a56b6cd27d
diff --git a/media-gfx/xfig/xfig-3.2.5-r3.ebuild b/media-gfx/xfig/xfig-3.2.5-r3.ebuild
new file mode 100644
index 000000000000..1522d27e3865
--- /dev/null
+++ b/media-gfx/xfig/xfig-3.2.5-r3.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xfig/xfig-3.2.5-r3.ebuild,v 1.1 2008/08/13 14:37:19 pva Exp $
+
+inherit eutils multilib
+
+MY_P=${PN}.${PV}
+DESCRIPTION="A menu-driven tool to draw and manipulate objects interactively in an X window."
+HOMEPAGE="http://www.xfig.org"
+SRC_URI="http://www.xfig.org/software/xfig/3.2.5/${MY_P}.full.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libXaw
+ x11-libs/libXp
+ x11-libs/Xaw3d
+ media-libs/jpeg
+ media-libs/libpng
+ >=media-gfx/transfig-3.2.5-r1
+ media-libs/netpbm"
+DEPEND="${RDEPEND}
+ x11-misc/imake
+ app-text/rman
+ x11-proto/xproto
+ x11-proto/inputproto
+ x11-libs/libXi"
+
+S="${WORKDIR}"/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # We do not have nescape. Let's use firefox instead...
+ sed -i "s+netscape+firefox+g" Fig.ad
+ find "${S}" -type f -exec chmod -x \{\} \;
+}
+
+sed_Imakefile() {
+ # see Imakefile for details
+ vars2subs="BINDIR=/usr/bin
+ PNGINC=-I/usr/include
+ JPEGLIBDIR=/usr/$(get_libdir)
+ JPEGINC=-I/usr/include
+ XPMLIBDIR=/usr/$(get_libdir)
+ XPMINC=-I/usr/include/X11
+ USEINLINE=-DUSE_INLINE
+ XFIGLIBDIR=/usr/share/xfig
+ XFIGDOCDIR=/usr/share/doc/${P}
+ MANDIR=/usr/share/man/man\$\(MANSUFFIX\)
+ CC=$(tc-getCC)"
+
+ for variable in ${vars2subs} ; do
+ varname=${variable%%=*}
+ varval=${variable##*=}
+ sed -i "s:^\(XCOMM\)*[[:space:]]*${varname}[[:space:]]*=.*$:${varname} = ${varval}:" "$@"
+ done
+}
+
+src_compile() {
+ sed_Imakefile Imakefile
+
+ xmkmf || die
+ emake CC="$(tc-getCC)" LOCAL_LDFLAGS="${LDFLAGS}" CDEBUGFLAGS="${CFLAGS}" \
+ USRLIBDIR=/usr/$(get_libdir) || die
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install.all || die
+
+ insinto /usr/share/doc/${P}
+ doins README FIGAPPS CHANGES LATEX.AND.XFIG
+
+ doicon xfig.png
+ make_desktop_entry xfig Xfig xfig
+}