diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2002-11-05 19:29:05 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2002-11-05 19:29:05 +0000 |
commit | c676ea5558bf9bd02aa9397693de6f3829798b05 (patch) | |
tree | c10129ee9a02b59eb7e2862a1cdf2552e5922c3e /media-gfx/grace | |
parent | added X to DEPEND (diff) | |
download | gentoo-2-c676ea5558bf9bd02aa9397693de6f3829798b05.tar.gz gentoo-2-c676ea5558bf9bd02aa9397693de6f3829798b05.tar.bz2 gentoo-2-c676ea5558bf9bd02aa9397693de6f3829798b05.zip |
Version bumps
Diffstat (limited to 'media-gfx/grace')
-rw-r--r-- | media-gfx/grace/ChangeLog | 7 | ||||
-rw-r--r-- | media-gfx/grace/files/digest-grace-5.1.10 | 1 | ||||
-rw-r--r-- | media-gfx/grace/grace-5.1.10.ebuild | 77 |
3 files changed, 84 insertions, 1 deletions
diff --git a/media-gfx/grace/ChangeLog b/media-gfx/grace/ChangeLog index 9da8e02a2ed1..156adf39cde8 100644 --- a/media-gfx/grace/ChangeLog +++ b/media-gfx/grace/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/grace # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-gfx/grace/ChangeLog,v 1.4 2002/09/07 17:45:14 owen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/grace/ChangeLog,v 1.5 2002/11/05 19:29:05 aliz Exp $ + +*grace-5.1.10 (05 Nov 2002) + + 05 Nov 2002; Daniel Ahlberg <aliz@gentoo.org> : + Version bump. *grace-5.1.7-r2 (19 May 2002) diff --git a/media-gfx/grace/files/digest-grace-5.1.10 b/media-gfx/grace/files/digest-grace-5.1.10 new file mode 100644 index 000000000000..041da8131412 --- /dev/null +++ b/media-gfx/grace/files/digest-grace-5.1.10 @@ -0,0 +1 @@ +MD5 fab6cf49cd233235dac5c5ac5161c081 grace-5.1.10.tar.gz 2418504 diff --git a/media-gfx/grace/grace-5.1.10.ebuild b/media-gfx/grace/grace-5.1.10.ebuild new file mode 100644 index 000000000000..ffbe0812089b --- /dev/null +++ b/media-gfx/grace/grace-5.1.10.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/grace/grace-5.1.10.ebuild,v 1.1 2002/11/05 19:29:05 aliz Exp $ + +IUSE="pdflib" + +S=${WORKDIR}/${P} +DESCRIPTION="Grace is a WYSIWYG 2D plotting tool for the X Window System" +SRC_URI="ftp://plasma-gate.weizmann.ac.il/pub/grace/src/${P}.tar.gz" +HOMEPAGE="http://plasma-gate.weizmann.ac.il/Grace/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc" + +DEPEND="virtual/x11 + >=x11-libs/openmotif-2.1 + media-libs/libpng + >=media-libs/tiff-3.5 + pdflib? ( >=media-libs/pdflib-3.0.2 )" + + +src_compile() { + + local myconf + + use pdflib || myconf="--disable-pdfdrv" + + econf \ + --with-grace-home=/usr/share/grace \ + ${myconf} || die + + cp doc/Makefile doc/Makefile.orig + sed -e 's:$(GRACE_HOME)/doc:$(PREFIX)/share/doc/$(PF)/html:g' \ + doc/Makefile.orig >doc/Makefile || die + + cp auxiliary/Makefile auxiliary/Makefile.orig + sed -e 's:$(GRACE_HOME)/bin:$(PREFIX)/bin:g' \ + auxiliary/Makefile.orig >auxiliary/Makefile || die + + cp grconvert/Makefile grconvert/Makefile.orig + sed -e 's:$(GRACE_HOME)/bin:$(PREFIX)/bin:g' \ + grconvert/Makefile.orig >grconvert/Makefile || die + + cp src/Makefile src/Makefile.orig + sed -e 's:$(GRACE_HOME)/bin:$(PREFIX)/bin:g' \ + src/Makefile.orig >src/Makefile || die + + cp grace_np/Makefile grace_np/Makefile.orig + sed -e 's:$(GRACE_HOME)/lib:$(PREFIX)/lib:g' \ + -e 's:$(GRACE_HOME)/include:$(PREFIX)/include:g' \ + grace_np/Makefile.orig >grace_np/Makefile || die + + cp examples/Makefile examples/Makefile.orig + sed -e 's:/examples:/share/doc/$(PF)/examples:g' \ + -e 's:$(GRACE_HOME):$(PREFIX):g' \ + examples/Makefile.orig >examples/Makefile || die + + make || die +} + +src_install() { + + make GRACE_HOME=${D}/usr/share/grace \ + PREFIX=${D}/usr \ + install || die + + dodoc CHANGES COPYRIGHT ChangeLog DEVELOPERS LICENSE README + + #dodir /usr/share/man/man1 + #mv ${D}/usr/share/doc/${PF}/html/*.1 ${D}/usr/share/man/man1 + doman ${D}/usr/share/doc/${PF}/html/*.1 + rm -f ${D}/usr/share/doc/${PF}/html/*.1 + + insinto /etc/env.d + doins ${FILESDIR}/10grace +} |