summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-07-23 04:33:46 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-07-23 04:33:46 +0000
commit16e3224c5d18bea18534a1770c2ec62b7f006f75 (patch)
treee30e9ef9a689f1e562193ee189f1916da1a79b23 /media-gfx/gnuplot
parent*** empty log message *** (diff)
downloadgentoo-2-16e3224c5d18bea18534a1770c2ec62b7f006f75.tar.gz
gentoo-2-16e3224c5d18bea18534a1770c2ec62b7f006f75.tar.bz2
gentoo-2-16e3224c5d18bea18534a1770c2ec62b7f006f75.zip
repoman'd
Diffstat (limited to 'media-gfx/gnuplot')
-rw-r--r--media-gfx/gnuplot/files/digest-gnuplot-3.7.1-r21
-rw-r--r--media-gfx/gnuplot/gnuplot-3.7.1-r2.ebuild85
-rw-r--r--media-gfx/gnuplot/gnuplot-3.7.1-r3.ebuild81
3 files changed, 37 insertions, 130 deletions
diff --git a/media-gfx/gnuplot/files/digest-gnuplot-3.7.1-r2 b/media-gfx/gnuplot/files/digest-gnuplot-3.7.1-r2
deleted file mode 100644
index b393482c3a52..000000000000
--- a/media-gfx/gnuplot/files/digest-gnuplot-3.7.1-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 30798b4c14ea734969a86ee41a9c1dca gnuplot-3.7.1.tar.gz 1319233
diff --git a/media-gfx/gnuplot/gnuplot-3.7.1-r2.ebuild b/media-gfx/gnuplot/gnuplot-3.7.1-r2.ebuild
deleted file mode 100644
index 5932aa10d763..000000000000
--- a/media-gfx/gnuplot/gnuplot-3.7.1-r2.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2001 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gnuplot/gnuplot-3.7.1-r2.ebuild,v 1.2 2002/07/11 06:30:27 drobbins 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
- plotutils? ( media-libs/plotutils )
- 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 --with-plot=/usr/lib"
- #--with-plot enables the Gnu plotutils library
- #need to specify path to differentiate from Unix plot
- if [ -z "`use plotutils`" ]
- then
- myvar="${myvar} --without-plot"
- else
- myvar="${myvar} --with-plot=/usr/lib"
- fi
- 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
- einfo ""
- einfo "*****************************************************************"
- einfo " In order to enable ordinary users to use SVGA console graphics"
- einfo " gnuplot needs to be set up as setuid root. Please note that"
- einfo " this is usually considered to be a security hazard."
- einfo " As root, manually chmod u+s /usr/bin/gnuplot"
- einfo "*****************************************************************"
- einfo
- fi
-}
-
-
diff --git a/media-gfx/gnuplot/gnuplot-3.7.1-r3.ebuild b/media-gfx/gnuplot/gnuplot-3.7.1-r3.ebuild
index eec6097e43c7..7f5d877e5e78 100644
--- a/media-gfx/gnuplot/gnuplot-3.7.1-r3.ebuild
+++ b/media-gfx/gnuplot/gnuplot-3.7.1-r3.ebuild
@@ -1,66 +1,61 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gnuplot/gnuplot-3.7.1-r3.ebuild,v 1.2 2002/07/11 06:30:27 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gnuplot/gnuplot-3.7.1-r3.ebuild,v 1.3 2002/07/23 04:33:46 seemant 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"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
DEPEND="media-libs/libpng
- plotutils? ( media-libs/plotutils )
- readline? ( sys-libs/readline )
X? ( virtual/x11 )
- svga? ( media-libs/svgalib )"
+ svga? ( media-libs/svgalib )
+ readline? ( sys-libs/readline )
+ plotutils? ( media-libs/plotutils )"
src_compile() {
- local myvar
+ local myconf
#--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 --with-plot=/usr/lib"
+ #myconf=" --with-png --without-gd --with-lasergnu"
+ myconf=" --with-png --without-gd --with-plot=/usr/lib"
#--with-plot enables the Gnu plotutils library
#need to specify path to differentiate from Unix plot
- if [ -z "`use plotutils`" ]
- then
- myvar="${myvar} --without-plot"
- else
- myvar="${myvar} --with-plot=/usr/lib"
- fi
- 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 \
+
+ use plotutils \
+ && myconf="${myconf} --with-plot=/usr/lib" \
+ || myconf="${myconf} --without-plot"
+
+ use X \
+ && myconf="${myconf} --with-x" \
+ || myconf="${myconf} --without-x"
+
+ use readline \
+ && myconf="${myconf} --with-readline=gnu" \
+ || myconf="${myconf} --with-readline"
+
+ use svga \
+ && myconf="${myconf} --with-linux-vga" \
+ || myconf="${myconf} --without-linux-vga"
+
+ econf \
--datadir=/usr/share/gnuplot \
- --mandir=/usr/share/man || die
+ ${myconf} || die
+
mv Makefile Makefile.orig
- sed -e 's/datadir = \/usr/datadir = ${prefix}/' \
+ 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 ..
+ sed -e 's/datadir = \/usr/datadir = ${prefix}/' \
+ Makefile.orig > Makefile
+
+ cd ${S}
emake || die
}
@@ -81,5 +76,3 @@ pkg_postinst() {
einfo
fi
}
-
-