diff options
author | Grant Goodyear <g2boojum@gentoo.org> | 2001-10-24 16:53:08 +0000 |
---|---|---|
committer | Grant Goodyear <g2boojum@gentoo.org> | 2001-10-24 16:53:08 +0000 |
commit | aa7bdaa6a936cc4411155b160beb2d0132dd2287 (patch) | |
tree | ce04005156b4707f45f2f2a4731e347b2c554768 /media-gfx/gnuplot | |
parent | new fixes (diff) | |
download | historical-aa7bdaa6a936cc4411155b160beb2d0132dd2287.tar.gz historical-aa7bdaa6a936cc4411155b160beb2d0132dd2287.tar.bz2 historical-aa7bdaa6a936cc4411155b160beb2d0132dd2287.zip |
Updated gnuplot w/ Tod Neidt's patch.
Diffstat (limited to 'media-gfx/gnuplot')
-rw-r--r-- | media-gfx/gnuplot/files/digest-gnuplot-3.7.1-r1 | 1 | ||||
-rw-r--r-- | media-gfx/gnuplot/gnuplot-3.7.1-r1.ebuild (renamed from media-gfx/gnuplot/gnuplot-3.7.1.ebuild) | 30 |
2 files changed, 29 insertions, 2 deletions
diff --git a/media-gfx/gnuplot/files/digest-gnuplot-3.7.1-r1 b/media-gfx/gnuplot/files/digest-gnuplot-3.7.1-r1 new file mode 100644 index 000000000000..82a8318c3c03 --- /dev/null +++ b/media-gfx/gnuplot/files/digest-gnuplot-3.7.1-r1 @@ -0,0 +1 @@ +MD5 30798b4c14ea734969a86ee41a9c1dca gnuplot-3.7.1.tar.gz diff --git a/media-gfx/gnuplot/gnuplot-3.7.1.ebuild b/media-gfx/gnuplot/gnuplot-3.7.1-r1.ebuild index 926e23a040a0..9139f556fbae 100644 --- a/media-gfx/gnuplot/gnuplot-3.7.1.ebuild +++ b/media-gfx/gnuplot/gnuplot-3.7.1-r1.ebuild @@ -1,17 +1,21 @@ # Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Grant Goodyear <g2boojum@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gnuplot/gnuplot-3.7.1.ebuild,v 1.1 2001/10/23 15:34:18 g2boojum Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gnuplot/gnuplot-3.7.1-r1.ebuild,v 1.1 2001/10/24 16:53:08 g2boojum Exp $ S=${WORKDIR}/${P} DESCRIPTION="Quick and useful plotting program" SRC_URI="ftp://ftp.gnuplot.org/pub/gnuplot/${P}.tar.gz" HOMEPAGE="http://www.gnuplot.org" -DEPEND="media-libs/libpng" +DEPEND="media-libs/libpng + readline? ( sys-libs/readline ) + X? ( virtual/x11 ) + svga? ( media-libs/svgalib )" src_compile() { local myvar + #--with-lasergnu flag seems to be broken and I'm too lazy to fix now #myvar=" --with-png --without-gd --with-lasergnu" myvar=" --with-png --without-gd" if [ -z "`use X`" ] @@ -28,6 +32,12 @@ src_compile() { #use gnu readline myvar="${myvar} --with-readline=gnu" fi + if [ -z "`use svga`" ] + then + myvar="${myvar} --without-linux-vga" + else + myvar="${myvar} --with-linux-vga" + fi ./configure \ ${myvar} \ --host=${CHOST} \ @@ -49,3 +59,19 @@ src_compile() { src_install () { make prefix=${D}/usr install || die } + +pkg_postinst() { + if [ "`use svga`" ] + then + echo + echo "*****************************************************************" + echo " In order to enable ordinary users to use SVGA console graphics" + echo " gnuplot needs to be set up as setuid root. Please note that" + echo " this is usually considered to be a security hazard." + echo " As root, manually chmod u+s /usr/bin/gnuplot" + echo "*****************************************************************" + echo + fi +} + + |