diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-04-24 11:29:57 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-04-24 11:29:57 +0000 |
commit | e42c17174c269f55b63e1b27a17c22beb589a742 (patch) | |
tree | 28c674d8483a7021d7e3c3da4d8188e146b37c66 /media-gfx/grace | |
parent | touchups (diff) | |
download | gentoo-2-e42c17174c269f55b63e1b27a17c22beb589a742.tar.gz gentoo-2-e42c17174c269f55b63e1b27a17c22beb589a742.tar.bz2 gentoo-2-e42c17174c269f55b63e1b27a17c22beb589a742.zip |
touchups
Diffstat (limited to 'media-gfx/grace')
-rw-r--r-- | media-gfx/grace/grace-5.1.10.ebuild | 20 | ||||
-rw-r--r-- | media-gfx/grace/grace-5.1.7-r2.ebuild | 20 |
2 files changed, 12 insertions, 28 deletions
diff --git a/media-gfx/grace/grace-5.1.10.ebuild b/media-gfx/grace/grace-5.1.10.ebuild index ccf98bbc40bd..16974178d6b8 100644 --- a/media-gfx/grace/grace-5.1.10.ebuild +++ b/media-gfx/grace/grace-5.1.10.ebuild @@ -1,34 +1,27 @@ # Copyright 1999-2003 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.3 2003/03/30 00:49:42 liquidx Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/grace/grace-5.1.10.ebuild,v 1.4 2003/04/24 11:26:56 vapier Exp $ -IUSE="pdflib" - -S=${WORKDIR}/${P} -DESCRIPTION="Grace is a WYSIWYG 2D plotting tool for the X Window System" +DESCRIPTION="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" +IUSE="pdflib" DEPEND="virtual/x11 virtual/motif media-libs/libpng >=media-libs/tiff-3.5 pdflib? ( >=media-libs/pdflib-3.0.2 )" - - -src_compile() { - local myconf - - use pdflib || myconf="--disable-pdfdrv" - +src_compile() { econf \ --with-grace-home=/usr/share/grace \ - ${myconf} || die + `use_enable pdflib pdfdrv` \ + || die cp doc/Makefile doc/Makefile.orig sed -e 's:$(GRACE_HOME)/doc:$(PREFIX)/share/doc/$(PF)/html:g' \ @@ -60,7 +53,6 @@ src_compile() { } src_install() { - make GRACE_HOME=${D}/usr/share/grace \ PREFIX=${D}/usr \ install || die diff --git a/media-gfx/grace/grace-5.1.7-r2.ebuild b/media-gfx/grace/grace-5.1.7-r2.ebuild index a4e3802cefdf..d25a2b91c628 100644 --- a/media-gfx/grace/grace-5.1.7-r2.ebuild +++ b/media-gfx/grace/grace-5.1.7-r2.ebuild @@ -1,34 +1,27 @@ # Copyright 1999-2003 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.7-r2.ebuild,v 1.8 2003/03/30 00:49:42 liquidx Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/grace/grace-5.1.7-r2.ebuild,v 1.9 2003/04/24 11:26:56 vapier Exp $ -IUSE="pdflib" - -S=${WORKDIR}/${P} -DESCRIPTION="Grace is a WYSIWYG 2D plotting tool for the X Window System" +DESCRIPTION="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" +IUSE="pdflib" DEPEND="virtual/x11 virtual/motif media-libs/libpng >=media-libs/tiff-3.5 pdflib? ( >=media-libs/pdflib-3.0.2 )" - - -src_compile() { - local myconf - - use pdflib || myconf="--disable-pdfdrv" - +src_compile() { econf \ --with-grace-home=/usr/share/grace \ - ${myconf} || die + `use_enable pdflib pdfdrv` \ + || die cp doc/Makefile doc/Makefile.orig sed -e 's:$(GRACE_HOME)/doc:$(PREFIX)/share/doc/$(PF)/html:g' \ @@ -60,7 +53,6 @@ src_compile() { } src_install() { - make GRACE_HOME=${D}/usr/share/grace \ PREFIX=${D}/usr \ install || die |