summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2007-04-02 15:08:08 +0000
committerPeter Volkov <pva@gentoo.org>2007-04-02 15:08:08 +0000
commitf2dadd9b6136391feff51dc18dedaa187bd6790c (patch)
tree916823e52c40bb513b7aa05dd705a35c96a8f54e /media-gfx/transfig
parentia64 stable wrt bug 166557 (diff)
downloadgentoo-2-f2dadd9b6136391feff51dc18dedaa187bd6790c.tar.gz
gentoo-2-f2dadd9b6136391feff51dc18dedaa187bd6790c.tar.bz2
gentoo-2-f2dadd9b6136391feff51dc18dedaa187bd6790c.zip
Version bump. Droped ppc-macos keyword, see media-libs/jpeg ChangeLog.
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-gfx/transfig')
-rw-r--r--media-gfx/transfig/ChangeLog8
-rw-r--r--media-gfx/transfig/files/digest-transfig-3.2.53
-rw-r--r--media-gfx/transfig/transfig-3.2.4-r2.ebuild6
-rw-r--r--media-gfx/transfig/transfig-3.2.5.ebuild67
4 files changed, 80 insertions, 4 deletions
diff --git a/media-gfx/transfig/ChangeLog b/media-gfx/transfig/ChangeLog
index c5a9c0fef4a3..b0c2bfedf795 100644
--- a/media-gfx/transfig/ChangeLog
+++ b/media-gfx/transfig/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/transfig
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/ChangeLog,v 1.32 2007/02/22 01:41:41 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/ChangeLog,v 1.33 2007/04/02 15:08:08 pva Exp $
+
+*transfig-3.2.5 (02 Apr 2007)
+
+ 02 Apr 2007; <pva@gentoo.org> transfig-3.2.4-r2.ebuild,
+ +transfig-3.2.5.ebuild:
+ Version bump. Droped ppc-macos keyword, see media-libs/jpeg ChangeLog.
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/media-gfx/transfig/files/digest-transfig-3.2.5 b/media-gfx/transfig/files/digest-transfig-3.2.5
new file mode 100644
index 000000000000..426d2c8f381d
--- /dev/null
+++ b/media-gfx/transfig/files/digest-transfig-3.2.5
@@ -0,0 +1,3 @@
+MD5 3b2cffdd25529ae5877e305f29aae6d1 transfig.3.2.5.tar.gz 394296
+RMD160 435615bded662225127ea564fc746e9cb0058f18 transfig.3.2.5.tar.gz 394296
+SHA256 ea5a5724c8fa1dcb52531c4d44ec8a59830b2dc2da11e561e15240e8dd16d043 transfig.3.2.5.tar.gz 394296
diff --git a/media-gfx/transfig/transfig-3.2.4-r2.ebuild b/media-gfx/transfig/transfig-3.2.4-r2.ebuild
index 04b81cb5ae47..6bc3ebb436e5 100644
--- a/media-gfx/transfig/transfig-3.2.4-r2.ebuild
+++ b/media-gfx/transfig/transfig-3.2.4-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/transfig-3.2.4-r2.ebuild,v 1.16 2006/09/02 17:03:47 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/transfig-3.2.4-r2.ebuild,v 1.17 2007/04/02 15:08:08 pva Exp $
IUSE=""
@@ -17,7 +17,7 @@ HOMEPAGE="http://www.xfig.org"
SLOT="0"
LICENSE="BSD"
-KEYWORDS="alpha amd64 hppa ia64 ppc ~ppc-macos ppc64 sparc x86"
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
RDEPEND="|| ( x11-libs/libXpm virtual/x11 )
>=media-libs/jpeg-6
diff --git a/media-gfx/transfig/transfig-3.2.5.ebuild b/media-gfx/transfig/transfig-3.2.5.ebuild
new file mode 100644
index 000000000000..4bdf5f2efc7b
--- /dev/null
+++ b/media-gfx/transfig/transfig-3.2.5.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/transfig-3.2.5.ebuild,v 1.1 2007/04/02 15:08:08 pva Exp $
+
+inherit toolchain-funcs eutils flag-o-matic
+
+MY_P=${PN}.${PV}
+
+DESCRIPTION="A set of tools for creating TeX documents with graphics which can be printed in a wide variety of environments"
+SRC_URI="http://xfig.org/software/xfig/${PV}/${MY_P}.tar.gz"
+HOMEPAGE="http://www.xfig.org"
+IUSE=""
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="|| ( x11-libs/libXpm virtual/x11 )
+ >=media-libs/jpeg-6
+ media-libs/libpng"
+DEPEND="${RDEPEND}
+ || ( ( x11-misc/imake
+ app-text/rman
+ )
+ virtual/x11
+ )"
+
+S="${WORKDIR}"/${MY_P}
+
+sed_Imakefile() {
+ # see fig2dev/Imakefile for details
+ vars2subs="BINDIR=/usr/bin
+ MANDIR=/usr/share/man/man\$\(MANSUFFIX\)
+ XFIGLIBDIR=/usr/$(get_libdir)/xfig
+ USEINLINE=-DUSE_INLINE
+ RGB=/usr/share/X11/rgb.txt
+ FIG2DEV_LIBDIR=/usr/$(get_libdir)/fig2dev"
+
+ for variable in ${vars2subs} ; do
+ varname=${variable%%=*}
+ varval=${variable##*=}
+ sed -i "s:^\(XCOMM\)*[[:space:]]*${varname}[[:space:]]*=.*$:${varname} = ${varval}:" "$@"
+ done
+}
+
+src_compile() {
+ sed_Imakefile fig2dev/Imakefile fig2dev/dev/Imakefile
+
+ # without append transfig compiles with warining
+ # incompatible implicit declaration of built-in function ‘strlen’
+ # but are we really SVR4?
+ #append-flags -DSVR4
+ xmkmf || die "xmkmf failed"
+ make Makefiles || die "make Makefiles failed"
+
+ emake CC="$(tc-getCC)" LOCAL_LDFLAGS="${LDFLAGS}" CDEBUGFLAGS="${CFLAGS}" \
+ USRLIBDIR=/usr/$(get_libdir) || die "emake failed"
+}
+
+src_install() {
+ einfo ${transfig_conf}
+ make DESTDIR="${D}" \
+ ${transfig_conf} install install.man || die
+
+ #Install docs
+ dodoc README CHANGES LATEX.AND.XFIG NOTES
+}