Lines 13-26
Link Here
|
13 |
LICENSE="gnuplot" |
13 |
LICENSE="gnuplot" |
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
15 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
16 |
IUSE="doc emacs gd ggi tetex pdf plotutils png readline svga wxwindows X xemacs" |
16 |
IUSE="doc emacs gd ggi tetex pdf plotutils readline svga wxwindows X xemacs" |
17 |
|
17 |
|
18 |
RDEPEND=" |
18 |
RDEPEND=" |
19 |
xemacs? ( virtual/xemacs ) |
19 |
xemacs? ( virtual/xemacs ) |
20 |
emacs? ( virtual/emacs !app-emacs/gnuplot-mode ) |
20 |
emacs? ( virtual/emacs !app-emacs/gnuplot-mode ) |
21 |
pdf? ( media-libs/pdflib ) |
21 |
pdf? ( media-libs/pdflib ) |
22 |
ggi? ( media-libs/libggi ) |
22 |
ggi? ( media-libs/libggi ) |
23 |
png? ( media-libs/libpng ) |
|
|
24 |
gd? ( >=media-libs/gd-2 ) |
23 |
gd? ( >=media-libs/gd-2 ) |
25 |
doc? ( virtual/tetex ) |
24 |
doc? ( virtual/tetex ) |
26 |
tetex? ( virtual/tetex ) |
25 |
tetex? ( virtual/tetex ) |
Lines 73-84
Link Here
|
73 |
myconf="${myconf} $(use_with svga linux-vga)" |
72 |
myconf="${myconf} $(use_with svga linux-vga)" |
74 |
myconf="${myconf} $(use_with gd)" |
73 |
myconf="${myconf} $(use_with gd)" |
75 |
myconf="${myconf} $(use_enable wxwindows wxwidgets)" |
74 |
myconf="${myconf} $(use_enable wxwindows wxwidgets)" |
76 |
myconf="${myconf} $(use_with plotutils plot /usr/lib)" |
75 |
myconf="${myconf} $(use_with plotutils plot /usr/$(get_libdir))" |
77 |
myconf="${myconf} $(use_with png png /usr/lib)" |
76 |
myconf="${myconf} $(use_with pdf pdf /usr/$(get_libdir))" |
78 |
myconf="${myconf} $(use_with pdf pdf /usr/lib)" |
|
|
79 |
|
77 |
|
80 |
use ggi \ |
78 |
use ggi \ |
81 |
&& myconf="${myconf} --with-ggi=/usr/lib --with-xmi=/usr/lib" \ |
79 |
&& myconf="${myconf} --with-ggi=/usr/$(get_libdir) |
|
|
80 |
--with-xmi=/usr/$(get_libdir)" \ |
82 |
|| myconf="${myconf} --without-ggi" |
81 |
|| myconf="${myconf} --without-ggi" |
83 |
|
82 |
|
84 |
use readline \ |
83 |
use readline \ |
Lines 124-130
Link Here
|
124 |
if use xemacs; then |
123 |
if use xemacs; then |
125 |
cd lisp |
124 |
cd lisp |
126 |
einfo "Configuring gnuplot-mode for XEmacs..." |
125 |
einfo "Configuring gnuplot-mode for XEmacs..." |
127 |
EMACS="xemacs" econf --with-lispdir="/usr/lib/xemacs/site-packages/${PN}" || die |
126 |
EMACS="xemacs" econf --with-lispdir="/usr/$(get_libdir)/xemacs/site-packages/${PN}" || die |
128 |
make DESTDIR="${D}" install || { |
127 |
make DESTDIR="${D}" install || { |
129 |
ewarn "Compiling/installing gnuplot-mode for xemacs has failed." |
128 |
ewarn "Compiling/installing gnuplot-mode for xemacs has failed." |
130 |
ewarn "I need xemacs-base to be installed before I can compile" |
129 |
ewarn "I need xemacs-base to be installed before I can compile" |