summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Goodyear <g2boojum@gentoo.org>2002-04-01 20:54:17 +0000
committerGrant Goodyear <g2boojum@gentoo.org>2002-04-01 20:54:17 +0000
commit6bc82e52b5359891e1e68e9c09e8dda35fb03850 (patch)
tree69f9fcfbc3678c5ff1c3a3c4e018ae9ed4476023
parentlibtoolize (diff)
downloadgentoo-2-6bc82e52b5359891e1e68e9c09e8dda35fb03850.tar.gz
gentoo-2-6bc82e52b5359891e1e68e9c09e8dda35fb03850.tar.bz2
gentoo-2-6bc82e52b5359891e1e68e9c09e8dda35fb03850.zip
New version.
-rw-r--r--media-gfx/grace/ChangeLog8
-rw-r--r--media-gfx/grace/files/digest-grace-5.1.71
-rw-r--r--media-gfx/grace/grace-5.1.7.ebuild79
3 files changed, 87 insertions, 1 deletions
diff --git a/media-gfx/grace/ChangeLog b/media-gfx/grace/ChangeLog
index b76852a9ec20..9fdde96483d1 100644
--- a/media-gfx/grace/ChangeLog
+++ b/media-gfx/grace/ChangeLog
@@ -1,7 +1,13 @@
# 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.1 2002/02/01 21:53:29 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/grace/ChangeLog,v 1.2 2002/04/01 20:54:17 g2boojum Exp $
+*grace-5.1.7 (1 Apr 2002)
+
+ 1 Apr 2002; Grant Goodyear <g2boojum@gentoo.org> :
+
+ New version. Thanks to Daniel Mettler.
+
*grace-5.1.6 (1 Feb 2002)
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
diff --git a/media-gfx/grace/files/digest-grace-5.1.7 b/media-gfx/grace/files/digest-grace-5.1.7
new file mode 100644
index 000000000000..1db930fce06a
--- /dev/null
+++ b/media-gfx/grace/files/digest-grace-5.1.7
@@ -0,0 +1 @@
+MD5 cc705fd2a4fdc49fd2d953a2e49a741e grace-5.1.7.tar.gz 2407436
diff --git a/media-gfx/grace/grace-5.1.7.ebuild b/media-gfx/grace/grace-5.1.7.ebuild
new file mode 100644
index 000000000000..49692e42198e
--- /dev/null
+++ b/media-gfx/grace/grace-5.1.7.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Grant Goodyear <g2boojum@hotmail.com>
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/grace/grace-5.1.7.ebuild,v 1.1 2002/04/01 20:54:17 g2boojum Exp $
+
+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/"
+
+DEPEND="virtual/glibc virtual/x11
+ >=x11-libs/openmotif-2.1
+ >=media-libs/libpng-0.96
+ >=media-libs/tiff-3.5
+ pdflib? ( >=media-libs/pdflib-3.0.2 )"
+
+RDEPEND="virtual/glibc virtual/x11
+ >=x11-libs/openmotif-2.1
+ >=media-libs/libpng-0.96
+ >=media-libs/jpeg-6
+ pdflib? ( >=media-libs/pdflib-3.0.2 )"
+
+
+src_compile() {
+
+ local myconf
+ if [ -z "`use pdflib`" ] ; then
+ myconf="--disable-pdfdrv"
+ fi
+
+ ./configure --with-grace-home=/usr/share/grace \
+ --prefix=/usr \
+ --host=${CHOST} \
+ ${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
+
+ insinto /etc/env.d
+ doins ${FILESDIR}/10grace
+}
+