/[gentoo-x86]/sci-visualization/gnuplot/gnuplot-4.4.3.ebuild
Gentoo

Diff of /sci-visualization/gnuplot/gnuplot-4.4.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/Attic/gnuplot-4.4.3.ebuild,v 1.1 2011/05/05 07:58:51 ulm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/Attic/gnuplot-4.4.3.ebuild,v 1.2 2011/05/06 18:56:00 ulm Exp $
4 4
5EAPI=3 5EAPI=3
6 6
7inherit elisp-common multilib wxwidgets 7inherit elisp-common multilib wxwidgets
8 8
82 myconf="${myconf} $(use_with X x)" 82 myconf="${myconf} $(use_with X x)"
83 use readline \ 83 use readline \
84 && myconf="${myconf} --with-readline=gnu" \ 84 && myconf="${myconf} --with-readline=gnu" \
85 || myconf="${myconf} --with-readline=builtin" 85 || myconf="${myconf} --with-readline=builtin"
86 86
87 econf ${myconf} \
87 econf ${myconf} DIST_CONTACT="http://bugs.gentoo.org/" 88 DIST_CONTACT="http://bugs.gentoo.org/" \
89 EMACS=$(usev emacs || usev xemacs || echo no)
88 90
89 if use xemacs; then 91 if use xemacs; then
90 einfo "Configuring gnuplot-mode for XEmacs ..." 92 einfo "Configuring gnuplot-mode for XEmacs ..."
91 use emacs && cp -Rp lisp lisp-xemacs || ln -s lisp lisp-xemacs 93 use emacs && cp -Rp lisp lisp-xemacs || ln -s lisp lisp-xemacs
92 cd "${S}/lisp-xemacs" 94 cd "${S}/lisp-xemacs"
107 # This is a hack to avoid sandbox violations when using the Linux console. 109 # This is a hack to avoid sandbox violations when using the Linux console.
108 # Creating the DVI and PDF tutorials require /dev/svga to build the 110 # Creating the DVI and PDF tutorials require /dev/svga to build the
109 # example plots. 111 # example plots.
110 addwrite /dev/svga:/dev/mouse:/dev/tts/0 112 addwrite /dev/svga:/dev/mouse:/dev/tts/0
111 113
112 emake || die 114 emake all info || die
113 115
114 if use xemacs; then 116 if use xemacs; then
115 cd "${S}/lisp-xemacs" 117 cd "${S}/lisp-xemacs"
116 emake || die 118 emake || die
117 fi 119 fi

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20