diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-04-12 23:32:02 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-04-12 23:32:02 +0000 |
commit | 1f66d5e4bbc9a9f71972319753860f084aea2fd0 (patch) | |
tree | bbffbf7cebe89a7081d77993b121f681392bc730 /media-gfx/gnuplot | |
parent | Compile against new libpng (diff) | |
download | gentoo-2-1f66d5e4bbc9a9f71972319753860f084aea2fd0.tar.gz gentoo-2-1f66d5e4bbc9a9f71972319753860f084aea2fd0.tar.bz2 gentoo-2-1f66d5e4bbc9a9f71972319753860f084aea2fd0.zip |
Compile against newer libpng
Diffstat (limited to 'media-gfx/gnuplot')
-rw-r--r-- | media-gfx/gnuplot/ChangeLog | 8 | ||||
-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 | 77 |
3 files changed, 7 insertions, 79 deletions
diff --git a/media-gfx/gnuplot/ChangeLog b/media-gfx/gnuplot/ChangeLog index 48bcd0a25499..b481d6a30992 100644 --- a/media-gfx/gnuplot/ChangeLog +++ b/media-gfx/gnuplot/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/gnuplot # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gnuplot/ChangeLog,v 1.2 2002/02/12 22:55:30 tod Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gnuplot/ChangeLog,v 1.3 2002/04/12 23:32:02 seemant Exp $ + +*gnuplot-3.7.1-r3 (12 Apr 2002) + + 12 Apr 2002; Seemant Kulleen <seemant@gentoo.org> gnuplot-3.7.1-r3.ebuild : + + Compile against newer libpng *gnuplot-3.7.1-r2 (12 Feb 2002) diff --git a/media-gfx/gnuplot/files/digest-gnuplot-3.7.1-r1 b/media-gfx/gnuplot/files/digest-gnuplot-3.7.1-r1 deleted file mode 100644 index b393482c3a52..000000000000 --- a/media-gfx/gnuplot/files/digest-gnuplot-3.7.1-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 30798b4c14ea734969a86ee41a9c1dca gnuplot-3.7.1.tar.gz 1319233 diff --git a/media-gfx/gnuplot/gnuplot-3.7.1-r1.ebuild b/media-gfx/gnuplot/gnuplot-3.7.1-r1.ebuild deleted file mode 100644 index 9139f556fbae..000000000000 --- a/media-gfx/gnuplot/gnuplot-3.7.1-r1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# 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-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 - 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`" ] - then - myvar="${myvar} --without-x" - else - myvar="${myvar} --with-x" - fi - if [ -z "`use readline`" ] - then - #use the built-in readline - myvar="${myvar} --with-readline" - else - #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} \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --datadir=/usr/share/gnuplot \ - --mandir=/usr/share/man || die - mv Makefile Makefile.orig - sed -e 's/datadir = \/usr/datadir = ${prefix}/' \ - -e 's/mandir = \/usr/mandir = ${prefix}/' \ - Makefile.orig > Makefile - cd docs - mv Makefile Makefile.orig - sed -e 's/datadir = \/usr/datadir = ${prefix}/' Makefile.orig > Makefile - cd .. - emake || die -} - -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 -} - - |