diff options
author | Christoph Junghans <ottxor@gentoo.org> | 2013-04-22 01:28:44 +0000 |
---|---|---|
committer | Christoph Junghans <ottxor@gentoo.org> | 2013-04-22 01:28:44 +0000 |
commit | 350f428ebf8837fec46e6693b8e50c9125205392 (patch) | |
tree | ec0673c3268ded8590994995e4cb50e63ed06d81 /sci-visualization | |
parent | keep unset multilib vars unset rather than exporting them as empty #461682 by... (diff) | |
download | historical-350f428ebf8837fec46e6693b8e50c9125205392.tar.gz historical-350f428ebf8837fec46e6693b8e50c9125205392.tar.bz2 historical-350f428ebf8837fec46e6693b8e50c9125205392.zip |
version bump
Package-Manager: portage-2.2.0_alpha173/cvs/Linux x86_64
Manifest-Sign-Key: 0xC2000586
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/gnuplot/ChangeLog | 8 | ||||
-rw-r--r-- | sci-visualization/gnuplot/Manifest | 22 | ||||
-rw-r--r-- | sci-visualization/gnuplot/files/gnuplot-4.6.3-eldoc.patch | 16 | ||||
-rw-r--r-- | sci-visualization/gnuplot/gnuplot-4.6.3.ebuild | 244 |
4 files changed, 278 insertions, 12 deletions
diff --git a/sci-visualization/gnuplot/ChangeLog b/sci-visualization/gnuplot/ChangeLog index bc4a2c5b486b..814253db6203 100644 --- a/sci-visualization/gnuplot/ChangeLog +++ b/sci-visualization/gnuplot/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-visualization/gnuplot # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.213 2013/04/03 16:55:39 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.214 2013/04/22 01:28:33 ottxor Exp $ + +*gnuplot-4.6.3 (22 Apr 2013) + + 22 Apr 2013; Christoph Junghans <ottxor@gentoo.org> + +files/gnuplot-4.6.3-eldoc.patch, +gnuplot-4.6.3.ebuild: + version bump 03 Apr 2013; Ulrich Müller <ulm@gentoo.org> gnuplot-4.6.2-r1.ebuild: Use a pre-built gnuplot.info file, to fix a build failure with texinfo-5.1. diff --git a/sci-visualization/gnuplot/Manifest b/sci-visualization/gnuplot/Manifest index b7754642627d..b5a32f6b70e1 100644 --- a/sci-visualization/gnuplot/Manifest +++ b/sci-visualization/gnuplot/Manifest @@ -4,26 +4,26 @@ Hash: SHA256 AUX gnuplot-4.4.4-tikz.patch 578 SHA256 aaf803a66e57c7e069dc5aba8ec91dc3038c224c10d8624368c1b505ef34e4f6 SHA512 7362e5b0a064ba9eefc46f2ef9861652bcf34f6fcb0cbd452130cb11a3fbbc65a0ada232042d85f2769fb522224b9e2f5d41624e92503f22463c67215c5dd3c6 WHIRLPOOL 00dd326c9b1cb47886505bcf1831300c3e70bce40702e9910af7c38242d9ff4efc2697e46a141bc5e7157eaa8b6586bce52ef525bcf85b28e1e90e8b12d4fe95 AUX gnuplot-4.6.1-eldoc.patch 1077 SHA256 0b8ce02df0ba67de1002e6d6ea753c1f4b5c1d2783091cfd26daf61317eec975 SHA512 97347e6223a3f13ed6857896b60dedff03eb632a87a9728c41b41833eef528655459cb2b5469fe9c521795d406ad69ab3eb1d6a2dd921579d15cc8d649b552af WHIRLPOOL 3a1826e1a848fa84bf1d60abecf4371d4f101c83cfd418184284166b8d51ae884ce4e64632bfdd7e079eeb4e7ad79c408c76f9b0f9cde915582158bb24390749 AUX gnuplot-4.6.2-gdversion.patch 877 SHA256 03b128ed38869a9547565c6ba3509eb6af71f9551cb1c1f7cee1d5cc81ccced1 SHA512 7654866896bb5c38734156fb2ba802b4381f5109e49f808aca5e1ea4f7a3333db5603f6891c3c6d8027e8e08472614965f683f1adc6795eb649a257325155b34 WHIRLPOOL 30e03d55291ef1355212017fb127d70f53415b194cd2e483090173b248e99fc886b15f67e884ad99fb2cd7182add4b9488c0f6b0758489f712c2876a1661e039 +AUX gnuplot-4.6.3-eldoc.patch 749 SHA256 b5aa370051e384bc463ac671c70c0a062eef22553e8cda053185e200d8cda054 SHA512 7cfb9c472f9bddc698163393ff4c070ffb3abf02bb1b644050ee0f2f54b4c9828c0722c0a44bc65264e5bcffea54cd1cad729d50a15888ee1539bc685ea50bd4 WHIRLPOOL 145ea0651a248af3e2d56f8c60e41c36f94e8236ae9458b8055512f4ac88ff7f26a1af51a6b5d22a73b2775d9d857d5516e381695abfc55660e4a3369e67c088 DIST gnuplot-4.4.4.tar.gz 3328278 SHA256 d228599d08d5f87bcb79af8af8bb432c77d942802b1643f920c7baaeaf1ddbfd SHA512 5781a1cb569bb4e4471be87f563c761a28a8a927c32c58e65e296152869951d2f5f16a437af3988ba83212ea2aaf641176c9863d6f5f3e629d86a927c41e75ba WHIRLPOOL c5e04c1a9ae7aa6c3f91e535d004cd75ae2ffa2bda5a6f284fa475286e34606c6e7970d83f80fd00e359da4b81f34526b2f02c2a305d7d982840b30a1e8cecd5 DIST gnuplot-4.6.1.tar.gz 4959670 SHA256 f4bf99907d0fea7db90b6e50147f1730b5bde2fbb93d9e58478b6b94409eebc6 SHA512 a6a05da6708a7f5629d8356901e93ab622d4a3a6325e050fc1f8dce652e6061164783a98ff5cbc2dede65f6f0cb5be6a1ab2fcaeb778f6879215bae7056bd3ed WHIRLPOOL fa72b52a181ee9f7599c3646c4303ebcc21c0ecae51f7e9024356108f6f6539cfbc91e52e787fbf6d782aff8e1e94d9fec02f05c6bf754c6368eaca947e6bb6c DIST gnuplot-4.6.2.tar.gz 4969701 SHA256 978b01bbd288c4c5f6d6572cae3aa8bc73b429629ef4400f71856bb5d2251818 SHA512 d7b8f8dcc95aa15ddb7506fcf6f2e8147df81a9b50777250c86cba62823c57dd8ccce67b467ffc044349283936e69fd67742586ef4ea4d0ce8afebd87fae8af5 WHIRLPOOL 63b4da71042d42e7b79075270b4fb5f7258588958a718f3516bd660cbe64addbfe9b532f71364c6c00ecd7760c79f3e023ad199433f53fc668ef2988846ff48c +DIST gnuplot-4.6.3.tar.gz 4973116 SHA256 df5ffafa25fb32b3ecc0206a520f6bca8680e6dcc961efd30df34c0a1b7ea7f5 SHA512 8bb7af550c0847e65e041bd5bb6dc8cd3cee1e43a5306a7f9af0b5c82067bbe24a7f19c93914c88e4f08f2eee509773964e574e415710bbf99501e0cd3dad7e7 WHIRLPOOL 0566a93ad6af7813c8ebcbde00cb305cd037250959e25e43d93c7bb6313552851d59b70a5d02eae18449d1e18591e2e91ebdf9aac71d443f985fbb77493572f5 DIST gnuplot.info-4.6.2.tar.xz 182168 SHA256 73307153e8f525cce04d8c2c09ef28e422f21cd216d019f7aef8dbe71b6cc1bd SHA512 805e11933addefde41a15287e96bff9f4e307bbffbabe4bf1a9c49663a688702d9e738750d4ca6db475c9c09c0b6a14589b7e18392161610709e8864c626d4ff WHIRLPOOL bc16e1b6a798e214516aba413b3843045b0489038943dec6511722fed1eba772ba1067a8cdcada216afa903de5744c0722fa9f856a74d8f8e68fa27016704e53 EBUILD gnuplot-4.4.4-r1.ebuild 6635 SHA256 919cc230c0f26a0e12442d0185cbcf794cd0699307153f84d8f89186129b0217 SHA512 6dad45b149a3fd5ec095bd7abbe9bc2c273eaf1abc5977d9a92a22b3a57d19dd87e3e401f971013a34706f697ce9041bae410b35d3a09e646fc24ea0509ac775 WHIRLPOOL c8f4fc801a4af68307a0df0e066718b16647ff7faae39545603eb88eeeac65545e1ae668c88049d8e4308169b788f40c5e832de2684802a96ab92111a1e641dc EBUILD gnuplot-4.6.1.ebuild 7512 SHA256 776c7af4f1d94d7c02bcfdc1f64381655286fd98888f50f490d0bc4f11bfba85 SHA512 e1e79282a9ab17de9f77ce7550950f20424bc79a6c5cce044064e998112626d33d1ddbab60a093feab86bd35e3b1b52bd0f1c2566e2d4a5471c4281a25768ad1 WHIRLPOOL b9b0362579b27153205b73551517e3616f17b1c45aecb06e13d3f10e6c7668d18996d52faa0b3f1606e70c0863ba700ad019430fa7427fa1aebc764f777d024f EBUILD gnuplot-4.6.2-r1.ebuild 6799 SHA256 6616f06c47a9d99c10cb7802e089910cee50a62471b9e8b4cb2c74f15e912e9f SHA512 d010d45b9434979e4ab52c059d1530a95246c31eaa497d09be5647514583352bd7ee265c29298392bf3fd3207fae7579f8719e312895feccce1944f48d6de5e5 WHIRLPOOL 4467ab5b21d18429e0e7b260d7eb8c41d8fe755068bcc9f68c3102daafa7229d2bc8c7e1a2fc7523fe7b8b9eff495092be9ddb2ace30f7c3f5ad691c1db4937c -MISC ChangeLog 37023 SHA256 de5f48a0b4b80a5879021049ce413769d1f043344938ca4c027b3f222ab622ed SHA512 7c934578e891d9483df6a718f2f4055e3480f025cbdf71d142decd651ef9e2e0b1308dd078818084dbc70149bfbfaa956e1ebaffb71515fd4a083c6ccd9c9300 WHIRLPOOL b53e83768c09ade0c8d30804a26c7aece6197d247920541c2f362fc3d66d4e3921dee4925d4c35c3e2d79c58d7001f92aa9d6788f2d45d28d1bb63e25a275b76 +EBUILD gnuplot-4.6.3.ebuild 6929 SHA256 2ada8e972a928e660c4466b92d137bdeda76632ae14766aef56428e97d022581 SHA512 f4237272fdafe366d5a2c03d71b8fdaf5b2e3527ba6b67407129b6eadaa5ee16ff5648947a3a2b5c04e3a0366cfa7cbeb3c0e8ae9f6f9408b14bc008234b68fc WHIRLPOOL fb542bf8dfab87303232f6a2d29f7f95d897f32e6ed7a3eb1980575cc796ab128b99b61722e7569b40701d09159d8ae1904256ffe1a414d5467d808defca8f4b +MISC ChangeLog 37185 SHA256 d188cf5ba101695efbdd586b2250824f11ad8e4e60ea93d3bcf745e9396a1a82 SHA512 ec71d8517fc89f64cd4dbf3c2c7e3bef2f5197c49e2141291a287487986ffc482aa54fd524d4fbf62ad783d7822b0296fb46edd86320542cb7f5e896153bdcaa WHIRLPOOL e277a9326b2f2f860d60c2cc3eb2728932112c4fdef8394b646311a727fdf5683fddacc839485f9d30d22b4b9648b6101d328ba126f4818c8f5a285fd057c05f MISC metadata.xml 974 SHA256 0fdd09afff7d6bc87078d6c09ededb60856891f130a733a0294c72e773a35f25 SHA512 feddb2b2bcf1e41c961a30c25edba081076c8703d3186f79728a7c0d496f400b3f5c1d876307325d41a4a59d19a4b27580293d57d8d5717ee23fed30a4e131d7 WHIRLPOOL 17525529c6fd42a91373324d0c5b1bfbe8528d04bd2c3b6d50b311b60c2db2d21bc3871f7ea520e119c911863a0cfa80375de5702965035cfaf0073d03610143 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQGcBAEBCAAGBQJRXF8yAAoJEJQzkH1pP7W4hfEL/j4hxl7CSf68n4SC6U1IlepZ -XWeC+tygQKq9SIWZdAn/OYcY3r3Qozk3GArVhc9s2xM8x7VpA9o3jlN0vS1S4sl6 -QcPWPsGyVrN90SXdXMEgTFRQ3n8xEojhvEIc7zijJQSCMRcFQvEQ+4Xxq60lB6i2 -/I3zpbtiUKXJoPi8fBfj29bDqX9d04Hn7xOcc+ROthjIPIRRbKt8vJaXaBQpX/cK -5dlteOhBiy2clvmFt++uwSk4V/TwAxFIf6LM5ZAm7iB3KZ1BSSZVtCg0ngrXa01k -TS03TORk/j0dXLt/qSB0IOUZq4y3ewJVKHqVOCPlGdi4ndPNzIeuth7uj3fzKwrf -de7xSo0alpRq/zOrVFFMZTBNM15OxJSdxvBmWz5+lyUlItCrB13mBicYa+vLNnxE -y+QOrdZbNwajKy/+uJ66+IdKvWKvBfMIFOX3UpQyrGMOAqzDAeo15ByxGlWgpKG3 -/GWSU9vviBDuPZlLS+iy3Rl40BbAZpvv5U2BRjPdeQ== -=ckW7 +iQEcBAEBCAAGBQJRdJJCAAoJEOeBhlrCAAWG/e0H/iCyh5+JxFoDnvnqdWphw0Xj +ZDTHK20/fAOiNm3uUzSq0PhFMtqaRvW6ve2YFKgfjYAxm4FflErIjtrC2aynCfwx +5qUbbsyaK1tA30AmrIOiI3YjedRIkjkh+b28eNvo+tWaSjC6kQuWsxj8UrDMHAUp +yHr7xfj6CX0tLXx9LFdfYWeXJaycFanXLTMHHXmbTAtI99bq4MthrJrhy9hBlrdH +UQXcvzOCSePpWK2jHJVWNhY4AprIWzr7GPjNgvqzhTEUCUjfRPfA54itR+JgQrOP +ivDY9oJlTqG8reAeFEsDPMWUGmPKuUlyGE0RI6lbrM5vixvnQvMTq66hG7XlG0M= +=mhM9 -----END PGP SIGNATURE----- diff --git a/sci-visualization/gnuplot/files/gnuplot-4.6.3-eldoc.patch b/sci-visualization/gnuplot/files/gnuplot-4.6.3-eldoc.patch new file mode 100644 index 000000000000..ad8395efda89 --- /dev/null +++ b/sci-visualization/gnuplot/files/gnuplot-4.6.3-eldoc.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/459172 + +--- gnuplot-4.6.3-orig/docs/Makefile.in ++++ gnuplot-4.6.3/docs/Makefile.in +@@ -398,9 +398,9 @@ + @if test "$(EMACS)" != no; then \ + test "$(top_srcdir)" = "$(top_builddir)" || echo "COPYING GNUPLOT.DOC" ; \ + test "$(top_srcdir)" = "$(top_builddir)" || cp $(srcdir)/gnuplot.doc . ; \ +- $(EMACS) -batch -l $(srcdir)/doc2texi.el -f d2t-doc-to-texi ; \ ++ $(EMACS) -batch -q -no-site-file -l $(srcdir)/doc2texi.el -f d2t-doc-to-texi ; \ + echo "Compiling gnuplot-eldoc.el" ; \ +- $(EMACS) -batch --eval='(byte-compile-file "gnuplot-eldoc.el")' ; \ ++ $(EMACS) -batch -q -no-site-file -f batch-byte-compile gnuplot-eldoc.el ; \ + else \ + echo "No emacs found - cannot create texinfo file" ; \ + fi diff --git a/sci-visualization/gnuplot/gnuplot-4.6.3.ebuild b/sci-visualization/gnuplot/gnuplot-4.6.3.ebuild new file mode 100644 index 000000000000..a3167ebd9006 --- /dev/null +++ b/sci-visualization/gnuplot/gnuplot-4.6.3.ebuild @@ -0,0 +1,244 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.6.3.ebuild,v 1.1 2013/04/22 01:28:33 ottxor Exp $ + +EAPI=5 + +inherit elisp-common eutils flag-o-matic multilib readme.gentoo toolchain-funcs wxwidgets + +DESCRIPTION="Command-line driven interactive plotting program" +HOMEPAGE="http://www.gnuplot.info/" + +if [[ -z ${PV%%*9999} ]]; then + inherit autotools cvs + ECVS_SERVER="gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot" + ECVS_MODULE="gnuplot" + ECVS_BRANCH="branch-4-6-stable" + ECVS_USER="anonymous" + ECVS_CVS_OPTIONS="-dP" + MY_P="${PN}" + SRC_URI="" +else + MY_P="${P/_/.}" + SRC_URI="mirror://sourceforge/gnuplot/${MY_P}.tar.gz + mirror://gentoo/${PN}.info-4.6.2.tar.xz" +fi + +LICENSE="gnuplot GPL-2 bitmap? ( free-noncomm )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="aqua bitmap cairo doc emacs examples +gd ggi latex lua plotutils qt4 readline svga thin-splines wxwidgets X xemacs" + +RDEPEND=" + cairo? ( + x11-libs/cairo + x11-libs/pango ) + emacs? ( virtual/emacs ) + !emacs? ( xemacs? ( + app-editors/xemacs + app-xemacs/xemacs-base ) ) + gd? ( >=media-libs/gd-2.0.35-r3[png] ) + ggi? ( media-libs/libggi ) + latex? ( + virtual/latex-base + lua? ( + dev-tex/pgf + >=dev-texlive/texlive-latexrecommended-2008-r2 ) ) + lua? ( dev-lang/lua ) + plotutils? ( media-libs/plotutils ) + qt4? ( >=dev-qt/qtcore-4.5:4 + >=dev-qt/qtgui-4.5:4 + >=dev-qt/qtsvg-4.5:4 ) + readline? ( sys-libs/readline ) + svga? ( media-libs/svgalib ) + wxwidgets? ( + x11-libs/wxGTK:2.8[X] + x11-libs/cairo + x11-libs/pango + x11-libs/gtk+:2 ) + X? ( x11-libs/libXaw )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( + virtual/latex-base + dev-texlive/texlive-latexextra + app-text/ghostscript-gpl ) + !emacs? ( xemacs? ( app-xemacs/texinfo ) )" + +if [[ -z ${PV%%*9999} ]]; then + # The live ebuild always needs an Emacs for building of gnuplot.texi + DEPEND="${DEPEND} + || ( virtual/emacs app-xemacs/texinfo )" +fi + +S="${WORKDIR}/${MY_P}" + +GP_VERSION="${PV%.*}" +E_SITEFILE="lisp/50${PN}-gentoo.el" +TEXMF="${EPREFIX}/usr/share/texmf-site" + +src_prepare() { + if [[ -n ${PV%%*9999} ]]; then + epatch "${FILESDIR}/${PN}-4.6.3-eldoc.patch" + epatch "${FILESDIR}/${PN}-4.6.2-gdversion.patch" #462996 + else + local dir + for dir in config demo m4 term tutorial; do + emake -C "$dir" -f Makefile.am.in Makefile.am + done + eautoreconf + fi + + # Add special version identification as required by provision 2 + # of the gnuplot license + sed -i -e "1s/.*/& (Gentoo revision ${PR})/" PATCHLEVEL || die + + # hacky workaround + # Please hack the buildsystem if you like + if use prefix && use qt4; then + append-ldflags -Wl,-rpath,"${EPREFIX}"/usr/$(get_libdir)/qt4 + fi + + DOC_CONTENTS='Gnuplot no longer links against pdflib, see the ChangeLog + for details. You can use the "pdfcairo" terminal for PDF output.' + use cairo || DOC_CONTENTS+=' It is available with USE="cairo".' + use svga && DOC_CONTENTS+='\n\nIn order to enable ordinary users to use + SVGA console graphics, gnuplot needs to be set up as setuid root. + Please note that this is usually considered to be a security hazard. + As root, manually "chmod u+s /usr/bin/gnuplot".' + use gd && DOC_CONTENTS+='\n\nFor font support in png/jpeg/gif output, + you may have to set the GDFONTPATH and GNUPLOT_DEFAULT_GDFONT + environment variables. See the FAQ file in /usr/share/doc/${PF}/ + for more information.' +} + +src_configure() { + if ! use latex; then + sed -i -e '/SUBDIRS/s/LaTeX//' share/Makefile.in || die + fi + + if use wxwidgets; then + WX_GTK_VER="2.8" + need-wxwidgets unicode + fi + + tc-export CC CXX #453174 + + local emacs lispdir + if use emacs; then + emacs=emacs + lispdir="${EPREFIX}${SITELISP}/${PN}" + use xemacs \ + && ewarn "USE flag \"xemacs\" ignored (superseded by \"emacs\")" + elif use xemacs; then + emacs=xemacs + lispdir="${EPREFIX}/usr/lib/xemacs/site-packages/${PN}" + else + emacs=no + lispdir="" + if [[ -z ${PV%%*9999} ]]; then + # Live ebuild needs an Emacs to build gnuplot.texi + if has_version virtual/emacs; then emacs=emacs + elif has_version app-xemacs/texinfo; then emacs=xemacs; fi + # for emacs != no gnuplot will install lisp files in + # ${lispdir}/ which will / for emtpy lispdir + lispdir="${T}" + fi + fi + + econf \ + --without-pdf \ + --with-texdir="${TEXMF}/tex/latex/${PN}" \ + --with-readline=$(usex readline gnu builtin) \ + --with-lispdir="${lispdir}" \ + --with$([[ -z ${lispdir} ]] && echo out)-lisp-files \ + $(use_with bitmap bitmap-terminals) \ + $(use_with cairo) \ + $(use_with doc tutorial) \ + $(use_with gd) \ + "$(use_with ggi ggi "${EPREFIX}/usr/$(get_libdir)")" \ + "$(use_with ggi xmi "${EPREFIX}/usr/$(get_libdir)")" \ + $(use_with lua) \ + "$(use_with plotutils plot "${EPREFIX}/usr/$(get_libdir)")" \ + $(use_with svga linux-vga) \ + $(use_with X x) \ + --enable-stats \ + $(use_enable qt4 qt) \ + $(use_enable thin-splines) \ + $(use_enable wxwidgets) \ + DIST_CONTACT="http://bugs.gentoo.org/" \ + EMACS="${emacs}" +} + +src_compile() { + # Prevent access violations, see bug 201871 + VARTEXFONTS="${T}/fonts" + + # We believe that the following line is no longer needed. + # In case of problems file a bug report at bugs.gentoo.org. + #addwrite /dev/svga:/dev/mouse:/dev/tts/0 + + emake all info + + if use doc; then + # Avoid sandbox violation in epstopdf/ghostscript + addpredict /var/cache/fontconfig + emake -C docs pdf + emake -C tutorial pdf + use emacs || use xemacs && emake -C lisp pdf + fi +} + +src_install () { + emake -j1 DESTDIR="${D}" install + + if use emacs; then + # Gentoo Emacs site-lisp configuration + echo "(add-to-list 'load-path \"@SITELISP@\")" > ${E_SITEFILE} + sed '/^;; move/,+3 d' lisp/dotemacs >> ${E_SITEFILE} || die + elisp-site-file-install ${E_SITEFILE} || die + fi + + dodoc BUGS ChangeLog NEWS PGPKEYS PORTING README* + newdoc term/PostScript/README README-ps + newdoc term/js/README README-js + use lua && newdoc term/lua/README README-lua + readme.gentoo_create_doc + + if use examples; then + # Demo files + insinto /usr/share/${PN}/${GP_VERSION} + doins -r demo + rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/Makefile* + rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/binary* + fi + + if use doc; then + # Manual, tutorial, FAQ + dodoc docs/gnuplot.pdf tutorial/{tutorial.dvi,tutorial.pdf} FAQ.pdf + # Documentation for making PostScript files + docinto psdoc + dodoc docs/psdoc/{*.doc,*.tex,*.ps,*.gpi,README} + fi + + if use emacs || use xemacs; then + docinto emacs + dodoc lisp/ChangeLog lisp/README + use doc && dodoc lisp/gpelcard.pdf + fi +} + +src_test() { + GNUTERM="unknown" default_src_test +} + +pkg_postinst() { + use emacs && elisp-site-regen + use latex && texmf-update + readme.gentoo_print_elog +} + +pkg_postrm() { + use emacs && elisp-site-regen + use latex && texmf-update +} |