summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2007-06-26 21:28:38 +0000
committerChristian Faulhammer <fauli@gentoo.org>2007-06-26 21:28:38 +0000
commit532146b8d99aecc6db2cc9e82a8f98b70225816c (patch)
tree7d7d50e915eab803bc9a655e04a13b6b7fa4747c /sci-visualization
parentStable on ppc; bug #183317. (diff)
downloadhistorical-532146b8d99aecc6db2cc9e82a8f98b70225816c.tar.gz
historical-532146b8d99aecc6db2cc9e82a8f98b70225816c.tar.bz2
historical-532146b8d99aecc6db2cc9e82a8f98b70225816c.zip
clean up
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/gnuplot/ChangeLog7
-rw-r--r--sci-visualization/gnuplot/Manifest34
-rw-r--r--sci-visualization/gnuplot/files/digest-gnuplot-4.2_rc13
-rw-r--r--sci-visualization/gnuplot/files/digest-gnuplot-4.2_rc43
-rw-r--r--sci-visualization/gnuplot/files/gnuplot-3.8j-amd64.diff10
-rw-r--r--sci-visualization/gnuplot/gnuplot-4.2_rc1.ebuild154
-rw-r--r--sci-visualization/gnuplot/gnuplot-4.2_rc4.ebuild164
7 files changed, 13 insertions, 362 deletions
diff --git a/sci-visualization/gnuplot/ChangeLog b/sci-visualization/gnuplot/ChangeLog
index c2d39079482b..97d327a6d72b 100644
--- a/sci-visualization/gnuplot/ChangeLog
+++ b/sci-visualization/gnuplot/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-visualization/gnuplot
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.18 2007/06/19 06:18:02 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.19 2007/06/26 21:28:38 opfer Exp $
+
+ 26 Jun 2007; Christian Faulhammer <opfer@gentoo.org>
+ -files/gnuplot-3.8j-amd64.diff, -gnuplot-4.2_rc1.ebuild,
+ -gnuplot-4.2_rc4.ebuild:
+ clean up
19 Jun 2007; Christian Faulhammer <opfer@gentoo.org> gnuplot-4.2.0.ebuild:
use_enable instead of use_with for wxwindows, fixes bug 172701 reported by
diff --git a/sci-visualization/gnuplot/Manifest b/sci-visualization/gnuplot/Manifest
index 6f04056bb006..44ca467e41ed 100644
--- a/sci-visualization/gnuplot/Manifest
+++ b/sci-visualization/gnuplot/Manifest
@@ -1,10 +1,6 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX gnuplot-3.8j-amd64.diff 329 RMD160 fbc9606b2aa9346958eaee3ab9d28732f5356624 SHA1 b00974c5fc81803795c7f5e8144afe78f0214ad1 SHA256 dde4957e83b7e779cf4c290da8349337333bbce1c22c125b15a29008300c3623
-MD5 d6d201e466142a8e19ab7a86da486dde files/gnuplot-3.8j-amd64.diff 329
-RMD160 fbc9606b2aa9346958eaee3ab9d28732f5356624 files/gnuplot-3.8j-amd64.diff 329
-SHA256 dde4957e83b7e779cf4c290da8349337333bbce1c22c125b15a29008300c3623 files/gnuplot-3.8j-amd64.diff 329
AUX gnuplot-4.0-filled-arrow.patch 1349 RMD160 99c620fda889773a4814726e339e51095924a38b SHA1 8a32dfc108e1a82fd013899a194f9a31e1e0ac0a SHA256 aa3adb859e5ed943d948e8817e24b9f3e391411684ca4bdea5485374d976e652
MD5 7af7e5f057531526e6c3447bf18c2ed8 files/gnuplot-4.0-filled-arrow.patch 1349
RMD160 99c620fda889773a4814726e339e51095924a38b files/gnuplot-4.0-filled-arrow.patch 1349
@@ -23,8 +19,6 @@ RMD160 cb89ecb654a425925b34398a36cb83332fd438e2 files/pdflib-6-compat.patch 560
SHA256 b1745ad75b58f081b7c9d5dc204f58f519b283aa116e2791c93128026b45700f files/pdflib-6-compat.patch 560
DIST gnuplot-4.0.0.tar.gz 2160918 RMD160 7b1fc84c161c132c776269b6e9a49abd29251a18 SHA1 a862bc311724c263aa1ef1c646291d73dc37c978 SHA256 a77ad7cb08b2551dacbaa0bb02e561fddb6b9f4a0f3d45eb1c38be219955ea48
DIST gnuplot-4.2.0.tar.gz 2836649 RMD160 1d31a40796f5c2474473afbe5c6d667d7d97c91c SHA1 867e010ba23346d472e0afdf997edeb6e5ddd585 SHA256 ede70fb18f05935f0186ae7514e5f77e09d7eab94a4f9cff82ddb48dbcbe20e9
-DIST gnuplot-4.2.rc1.tar.gz 2808610 RMD160 6080bfca41aaedc75842b0272f1f82d7c61a9fe1 SHA1 1ec9b560bcd2e7553cf2e11aaafbed2b583969a5 SHA256 b8294f526710d622e3831a5d37d880aa16070baf3445d3981a216f678418020c
-DIST gnuplot-4.2.rc4.tar.gz 2824012 RMD160 95f2918a1660e42f2651cebdfb654de176106642 SHA1 530ef39ee498aab1bcb75be4edd00aeca3e8c4c8 SHA256 0917d2af7b2345e51d371418c5c37c4c566ef6a16afa41ee329bc38bb7e1f0a5
EBUILD gnuplot-4.0-r1.ebuild 4019 RMD160 6491b8c56efd32f1af12e9b9f2f7bc68fea94675 SHA1 2c6db04b787b837918a6d9008d1390f92d61cbac SHA256 9c13f027d429e455ba7459263e28a8e2c9b4b9a9dee6d17d72816fed9f007a14
MD5 6a22d4f02d7cb14e15e0c01228714d0b gnuplot-4.0-r1.ebuild 4019
RMD160 6491b8c56efd32f1af12e9b9f2f7bc68fea94675 gnuplot-4.0-r1.ebuild 4019
@@ -37,18 +31,10 @@ EBUILD gnuplot-4.2.0.ebuild 4787 RMD160 9ce02bb0c3a5159dbb6b9abd8865f98c9be9bbb2
MD5 c7efbb3f950bd1b08f4558a71e963520 gnuplot-4.2.0.ebuild 4787
RMD160 9ce02bb0c3a5159dbb6b9abd8865f98c9be9bbb2 gnuplot-4.2.0.ebuild 4787
SHA256 1434d02aa612eb289877fe86106b8734d8bae5797fd851d550b22858b6017d87 gnuplot-4.2.0.ebuild 4787
-EBUILD gnuplot-4.2_rc1.ebuild 4312 RMD160 99e9398a685ac843ed96ab43ff00b7ef41323bb7 SHA1 8aa986738d5a57fde0af57511357825c405a84af SHA256 8a39b96df2f5e842371d333b6f6a77abdc47deaa8e13b28b7a8d7de4bb7896a0
-MD5 0e0744fd9b35fc9854adb96cb86bb1cd gnuplot-4.2_rc1.ebuild 4312
-RMD160 99e9398a685ac843ed96ab43ff00b7ef41323bb7 gnuplot-4.2_rc1.ebuild 4312
-SHA256 8a39b96df2f5e842371d333b6f6a77abdc47deaa8e13b28b7a8d7de4bb7896a0 gnuplot-4.2_rc1.ebuild 4312
-EBUILD gnuplot-4.2_rc4.ebuild 4582 RMD160 ac92f6c44a41de036a623f751a345aef7c5a0f65 SHA1 1a690ffa036f0b49883d0706ab69eb89fca226a1 SHA256 93e9721d3f3b4f09ef2d5d1bfb237437888daf8491d78c15378dcdb73517a778
-MD5 f1c7c29c385475e68d78d94c4f525a26 gnuplot-4.2_rc4.ebuild 4582
-RMD160 ac92f6c44a41de036a623f751a345aef7c5a0f65 gnuplot-4.2_rc4.ebuild 4582
-SHA256 93e9721d3f3b4f09ef2d5d1bfb237437888daf8491d78c15378dcdb73517a778 gnuplot-4.2_rc4.ebuild 4582
-MISC ChangeLog 9512 RMD160 fab3aa2a9aa22f2f1c1d335c97eb3fcf1accbb9d SHA1 c9c103fc8cfaaef9e98f51ffa35b30bd9f20ff36 SHA256 f4fbfdb0f196ad7ceb97e7f6e0f20feb343c6bbeea4f53d984e06dae7b3e2f48
-MD5 214f7dab877b9375d9d9f879d05f84ed ChangeLog 9512
-RMD160 fab3aa2a9aa22f2f1c1d335c97eb3fcf1accbb9d ChangeLog 9512
-SHA256 f4fbfdb0f196ad7ceb97e7f6e0f20feb343c6bbeea4f53d984e06dae7b3e2f48 ChangeLog 9512
+MISC ChangeLog 9665 RMD160 7ab2206bf2596dc5be198f768c765bb30f499f39 SHA1 9bdd616fb3112ffe1fa3b83af3b78046192b60a6 SHA256 d7c8e52f41e9e54b68bf5921cd214d228e436095d97183b079bceeb262aaef01
+MD5 d036b24de9599b9608e947259f667efa ChangeLog 9665
+RMD160 7ab2206bf2596dc5be198f768c765bb30f499f39 ChangeLog 9665
+SHA256 d7c8e52f41e9e54b68bf5921cd214d228e436095d97183b079bceeb262aaef01 ChangeLog 9665
MISC metadata.xml 281 RMD160 9578b17bd8b0f05da3044064822e531912d1817c SHA1 709ef0382fe7ec2d3746554f452ebd91bc0014f0 SHA256 702dd681c8877369b1ee1553a05fccbbb8633cb96c893f28a4dbcb5492d74511
MD5 bd00d3bd41c122c9fc97c6aaaa7e468a metadata.xml 281
RMD160 9578b17bd8b0f05da3044064822e531912d1817c metadata.xml 281
@@ -62,16 +48,10 @@ SHA256 911f90b2bf05ec39c8895c5391d384465266d4a5357e1b95259ef2ab05656610 files/di
MD5 46bf95697418c0c80329a089d6e9738d files/digest-gnuplot-4.2.0 244
RMD160 1dce5fef245bd7df3e9ee4e50fc2cda367c211ee files/digest-gnuplot-4.2.0 244
SHA256 67b29005a738bc6ea31297b4881661ef3534c7e58e8a7b926fb925877d64497c files/digest-gnuplot-4.2.0 244
-MD5 cc3a331d286da1993b671e9d853aee2a files/digest-gnuplot-4.2_rc1 250
-RMD160 b87ead8579fe6f7a8bbec98e4aa7a484c07ced95 files/digest-gnuplot-4.2_rc1 250
-SHA256 3b4247d362e36b516ed25cd4d19dcf2d5cdd9259c0fb22da62441ef0bd7d0c56 files/digest-gnuplot-4.2_rc1 250
-MD5 0ac155e55da5249bb0ec6baea3bfcb53 files/digest-gnuplot-4.2_rc4 250
-RMD160 17adc8ff77efdb7531855ee80b0737c1d0c07f61 files/digest-gnuplot-4.2_rc4 250
-SHA256 4ae306a9dcd7d35daaea1d46521c3b19e10bb8ffe83b2405ba2d2efb935600a3 files/digest-gnuplot-4.2_rc4 250
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
-iD8DBQFGd3UgNQqtfCuFneMRAvyrAJ0UtuJkjQeVXFGooT1XVLEtP4KMRACdHNb/
-sULjw1UF6JJARtuG18kDpXU=
-=vo0g
+iD8DBQFGgYUNNQqtfCuFneMRApElAKCZfRGDeCMj6Y2Zx+7NdFmPvyYq0ACgmtvF
+4jPjYkY9+SuDMxoj3n/5arY=
+=B+qV
-----END PGP SIGNATURE-----
diff --git a/sci-visualization/gnuplot/files/digest-gnuplot-4.2_rc1 b/sci-visualization/gnuplot/files/digest-gnuplot-4.2_rc1
deleted file mode 100644
index a6431d58da44..000000000000
--- a/sci-visualization/gnuplot/files/digest-gnuplot-4.2_rc1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 eb254de6bed84f7d862ca547a0badb9a gnuplot-4.2.rc1.tar.gz 2808610
-RMD160 6080bfca41aaedc75842b0272f1f82d7c61a9fe1 gnuplot-4.2.rc1.tar.gz 2808610
-SHA256 b8294f526710d622e3831a5d37d880aa16070baf3445d3981a216f678418020c gnuplot-4.2.rc1.tar.gz 2808610
diff --git a/sci-visualization/gnuplot/files/digest-gnuplot-4.2_rc4 b/sci-visualization/gnuplot/files/digest-gnuplot-4.2_rc4
deleted file mode 100644
index 6c7583d9829a..000000000000
--- a/sci-visualization/gnuplot/files/digest-gnuplot-4.2_rc4
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 a20275d2be259db91e49696f58b50684 gnuplot-4.2.rc4.tar.gz 2824012
-RMD160 95f2918a1660e42f2651cebdfb654de176106642 gnuplot-4.2.rc4.tar.gz 2824012
-SHA256 0917d2af7b2345e51d371418c5c37c4c566ef6a16afa41ee329bc38bb7e1f0a5 gnuplot-4.2.rc4.tar.gz 2824012
diff --git a/sci-visualization/gnuplot/files/gnuplot-3.8j-amd64.diff b/sci-visualization/gnuplot/files/gnuplot-3.8j-amd64.diff
deleted file mode 100644
index 04d38dc9338c..000000000000
--- a/sci-visualization/gnuplot/files/gnuplot-3.8j-amd64.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/fit.c.orig 2004-04-09 03:12:49.249588328 +0200
-+++ src/fit.c 2004-04-09 03:11:56.805561032 +0200
-@@ -1685,6 +1685,7 @@
- VA_START(args, fmt);
- # if defined(HAVE_VFPRINTF) || _LIBC
- vfprintf(STANDARD, fmt, args);
-+ VA_START(args, fmt);
- vfprintf(log_f, fmt, args);
- # else
- _doprnt(fmt, args, STANDARD);
diff --git a/sci-visualization/gnuplot/gnuplot-4.2_rc1.ebuild b/sci-visualization/gnuplot/gnuplot-4.2_rc1.ebuild
deleted file mode 100644
index 527f1317af86..000000000000
--- a/sci-visualization/gnuplot/gnuplot-4.2_rc1.ebuild
+++ /dev/null
@@ -1,154 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.2_rc1.ebuild,v 1.6 2007/04/27 22:18:04 jer Exp $
-
-inherit eutils elisp-common wxwidgets
-
-MY_P="${P/_/.}"
-
-DESCRIPTION="Command-line driven interactive plotting program"
-HOMEPAGE="http://www.gnuplot.info/"
-SRC_URI="mirror://sourceforge/gnuplot/${MY_P}.tar.gz"
-
-LICENSE="gnuplot"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="doc emacs gd ggi pdf plotutils png readline svga X xemacs wxwindows"
-
-RDEPEND="
- xemacs? ( virtual/xemacs )
- emacs? ( virtual/emacs !app-emacs/gnuplot-mode )
- pdf? ( media-libs/pdflib )
- ggi? ( media-libs/libggi )
- png? ( media-libs/libpng )
- gd? ( >=media-libs/gd-2 )
- doc? ( virtual/tetex )
- X? ( x11-libs/libXaw )
- svga? ( media-libs/svgalib )
- readline? ( >=sys-libs/readline-4.2 )
- plotutils? ( media-libs/plotutils )
- wxwindows? ( =x11-libs/wxGTK-2.6*
- >=x11-libs/cairo-0.9
- >=x11-libs/pango-1.10.3
- >=x11-libs/gtk+-2.8 )"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-S=${WORKDIR}/${MY_P}
-
-E_SITEFILE="50gnuplot-gentoo.el"
-
-#src_unpack() {
-# unpack ${A}
-# cd ${S}
-# epatch ${FILESDIR}/header-order.patch
-# epatch ${FILESDIR}/pdflib-6-compat.patch
-#}
-
-src_compile() {
- if use wxwindows; then
- WX_GTK_VER="2.6"
- need-wxwidgets unicode
- fi
-
- local myconf="--with-gihdir=/usr/share/${PN}/gih"
-
- myconf="${myconf} $(use_with X x)"
- myconf="${myconf} $(use_with svga linux-vga)"
- myconf="${myconf} $(use_with gd)"
- myconf="${myconf} $(use_with wxwindows wxwidgets)"
- myconf="${myconf} $(use_with plotutils plot /usr/lib)"
- myconf="${myconf} $(use_with png png /usr/lib)"
- myconf="${myconf} $(use_with pdf pdf /usr/lib)"
-
- use ggi \
- && myconf="${myconf} --with-ggi=/usr/lib --with-xmi=/usr/lib" \
- || myconf="${myconf} --without-ggi"
-
- use readline \
- && myconf="${myconf} --with-readline=gnu --enable-history-file" \
- || myconf="${myconf} --with-readline"
-
- myconf="${myconf} --without-lisp-files"
-
- # This is a hack to avoid sandbox violations when using the Linux console.
- # Creating the DVI and PDF tutorials require /dev/svga to build the
- # example plots.
- addwrite /dev/svga:/dev/mouse:/dev/tts/0
-
- econf ${myconf} || die
- emake || die
-
- if use doc ; then
- cd docs
- make pdf || die
- cd ../tutorial
- make pdf || die
- fi
-}
-
-src_install () {
- make DESTDIR=${D} install || die
-
- if use emacs; then
- cd lisp
- einfo "Configuring gnuplot-mode for emacs..."
- EMACS="emacs" lispdir="/usr/share/emacs/site-lisp/${PN}" econf || die
- make DESTDIR=${D} install || die
- make clean
- cd ..
-
- # Gentoo emacs site-lisp configuration
- string="(add-to-list 'load-path \"/usr/share/emacs/site-lisp/${PN}\")"
- echo -e ";;; Gnuplot site-lisp configuration\n\n${string}\n" > ${E_SITEFILE}
- sed '/^;; move/,+4 d' lisp/dotemacs >> ${E_SITEFILE}
- elisp-site-file-install ${E_SITEFILE}
- fi
-
- if use xemacs; then
- cd lisp
- einfo "Configuring gnuplot-mode for xemacs..."
- EMACS="xemacs" lispdir="/usr/lib/xemacs/site-packages/${PN}" econf || die
- make DESTDIR=${D} install || {
- ewarn "Compiling/installing gnuplot-mode for xemacs has failed."
- ewarn "I need xemacs-base to be installed before I can compile"
- ewarn "the gnuplot-mode lisp files for xemacs successfully."
- ewarn "Please try re-emerging me after app-xemacs/xemacs-base"
- ewarn "has been successfuly emerged."
- die
- }
- cd ..
- fi
-
-
- dodoc BUGS ChangeLog FAQ NEWS PATCHLEVEL PGPKEYS PORTING README* TODO VERSION
-
- if use doc; then
- # Demo files
- insinto /usr/share/${PN}/demo
- doins demo/*
- # Manual
- insinto /usr/share/doc/${PF}/manual
- doins docs/gnuplot.pdf
- # Tutorial
- insinto /usr/share/doc/${PF}/tutorial
- doins tutorial/{tutorial.dvi,tutorial.pdf}
- # Documentation for making PostScript files
- insinto /usr/share/doc/${PF}/psdoc
- doins docs/psdoc/{*.doc,*.tex,*.ps,*.gpi,README}
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
- if use svga ; then
- 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\"."
- fi
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/sci-visualization/gnuplot/gnuplot-4.2_rc4.ebuild b/sci-visualization/gnuplot/gnuplot-4.2_rc4.ebuild
deleted file mode 100644
index d7e9e3a91130..000000000000
--- a/sci-visualization/gnuplot/gnuplot-4.2_rc4.ebuild
+++ /dev/null
@@ -1,164 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.2_rc4.ebuild,v 1.2 2007/04/27 22:18:04 jer Exp $
-
-inherit eutils elisp-common wxwidgets
-
-MY_P="${P/_/.}"
-
-DESCRIPTION="Command-line driven interactive plotting program"
-HOMEPAGE="http://www.gnuplot.info/"
-SRC_URI="mirror://sourceforge/gnuplot/${MY_P}.tar.gz"
-
-LICENSE="gnuplot"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="doc emacs gd ggi latex pdf plotutils png readline svga wxwindows X xemacs"
-
-RDEPEND="
- xemacs? ( virtual/xemacs )
- emacs? ( virtual/emacs !app-emacs/gnuplot-mode )
- pdf? ( media-libs/pdflib )
- ggi? ( media-libs/libggi )
- png? ( media-libs/libpng )
- gd? ( >=media-libs/gd-2 )
- doc? ( virtual/tetex )
- latex? ( || ( virtual/tetex app-text/cstetex ) )
- X? ( x11-libs/libXaw )
- svga? ( media-libs/svgalib )
- readline? ( >=sys-libs/readline-4.2 )
- plotutils? ( media-libs/plotutils )
- wxwindows? ( =x11-libs/wxGTK-2.6*
- >=x11-libs/cairo-0.9
- >=x11-libs/pango-1.10.3
- >=x11-libs/gtk+-2.8 )"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-S=${WORKDIR}/${MY_P}
-
-E_SITEFILE="50gnuplot-gentoo.el"
-
-#src_unpack() {
-# unpack ${A}
-# cd ${S}
-# epatch ${FILESDIR}/header-order.patch
-# epatch ${FILESDIR}/pdflib-6-compat.patch
-#}
-
-src_compile() {
- # See bug #156427.
- if use latex ; then
- sed -i \
- -e 's/TEXMFLOCAL/TEXTMFSITE/g' share/Makefile.in || die "sed failed"
- else
- sed -i \
- -e '/^SUBDIRS/ s/LaTeX//' share/Makefile.in || die "sed failed"
- fi
-
- if use wxwindows ; then
- WX_GTK_VER="2.6"
- need-wxwidgets unicode
- fi
-
- local myconf="--with-gihdir=/usr/share/${PN}/gih"
-
- myconf="${myconf} $(use_with X x)"
- myconf="${myconf} $(use_with svga linux-vga)"
- myconf="${myconf} $(use_with gd)"
- myconf="${myconf} $(use_with wxwindows wxwidgets)"
- myconf="${myconf} $(use_with plotutils plot /usr/lib)"
- myconf="${myconf} $(use_with png png /usr/lib)"
- myconf="${myconf} $(use_with pdf pdf /usr/lib)"
-
- use ggi \
- && myconf="${myconf} --with-ggi=/usr/lib --with-xmi=/usr/lib" \
- || myconf="${myconf} --without-ggi"
-
- use readline \
- && myconf="${myconf} --with-readline=gnu --enable-history-file" \
- || myconf="${myconf} --with-readline"
-
- myconf="${myconf} --without-lisp-files"
-
- # This is a hack to avoid sandbox violations when using the Linux console.
- # Creating the DVI and PDF tutorials require /dev/svga to build the
- # example plots.
- addwrite /dev/svga:/dev/mouse:/dev/tts/0
-
- econf ${myconf} || die
- emake || die
-
- if use doc ; then
- cd docs
- make pdf || die
- cd ../tutorial
- make pdf || die
- fi
-}
-
-src_install () {
- make DESTDIR=${D} install || die
-
- if use emacs; then
- cd lisp
- einfo "Configuring gnuplot-mode for emacs..."
- EMACS="emacs" lispdir="/usr/share/emacs/site-lisp/${PN}" econf || die
- make DESTDIR=${D} install || die
- make clean
- cd ..
-
- # Gentoo emacs site-lisp configuration
- string="(add-to-list 'load-path \"/usr/share/emacs/site-lisp/${PN}\")"
- echo -e ";;; Gnuplot site-lisp configuration\n\n${string}\n" > ${E_SITEFILE}
- sed '/^;; move/,+4 d' lisp/dotemacs >> ${E_SITEFILE}
- elisp-site-file-install ${E_SITEFILE}
- fi
-
- if use xemacs; then
- cd lisp
- einfo "Configuring gnuplot-mode for xemacs..."
- EMACS="xemacs" lispdir="/usr/lib/xemacs/site-packages/${PN}" econf || die
- make DESTDIR=${D} install || {
- ewarn "Compiling/installing gnuplot-mode for xemacs has failed."
- ewarn "I need xemacs-base to be installed before I can compile"
- ewarn "the gnuplot-mode lisp files for xemacs successfully."
- ewarn "Please try re-emerging me after app-xemacs/xemacs-base"
- ewarn "has been successfuly emerged."
- die
- }
- cd ..
- fi
-
-
- dodoc BUGS ChangeLog FAQ NEWS PATCHLEVEL PGPKEYS PORTING README* TODO VERSION
-
- if use doc; then
- # Demo files
- insinto /usr/share/${PN}/demo
- doins demo/*
- # Manual
- insinto /usr/share/doc/${PF}/manual
- doins docs/gnuplot.pdf
- # Tutorial
- insinto /usr/share/doc/${PF}/tutorial
- doins tutorial/{tutorial.dvi,tutorial.pdf}
- # Documentation for making PostScript files
- insinto /usr/share/doc/${PF}/psdoc
- doins docs/psdoc/{*.doc,*.tex,*.ps,*.gpi,README}
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
- if use svga ; then
- 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\"."
- fi
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}