summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-11-21 08:31:00 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-11-21 08:31:00 +0000
commit3232d41f4b32b574981f51308f3957ce5f3a0940 (patch)
treefd660e5d0930aec526f69f4b62da9121850e4411 /sci-mathematics/gretl
parentVersion bump. Cleanup (#293872) (diff)
downloadhistorical-3232d41f4b32b574981f51308f3957ce5f3a0940.tar.gz
historical-3232d41f4b32b574981f51308f3957ce5f3a0940.tar.bz2
historical-3232d41f4b32b574981f51308f3957ce5f3a0940.zip
Version bump
Package-Manager: portage-2.2_rc50/cvs/Linux x86_64
Diffstat (limited to 'sci-mathematics/gretl')
-rw-r--r--sci-mathematics/gretl/ChangeLog10
-rw-r--r--sci-mathematics/gretl/files/gretl-1.7.9-nls.patch13
-rw-r--r--sci-mathematics/gretl/files/gretl-1.8.0-ldflags.patch76
-rw-r--r--sci-mathematics/gretl/files/gretl-1.8.2-ldflags.patch288
-rw-r--r--sci-mathematics/gretl/gretl-1.8.1.ebuild114
-rw-r--r--sci-mathematics/gretl/gretl-1.8.5.ebuild (renamed from sci-mathematics/gretl/gretl-1.8.2.ebuild)4
6 files changed, 10 insertions, 495 deletions
diff --git a/sci-mathematics/gretl/ChangeLog b/sci-mathematics/gretl/ChangeLog
index c0eade16a0b6..c94b7d928bbd 100644
--- a/sci-mathematics/gretl/ChangeLog
+++ b/sci-mathematics/gretl/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sci-mathematics/gretl
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.20 2009/09/24 05:16:41 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.21 2009/11/21 08:30:53 bicatali Exp $
+
+*gretl-1.8.5 (21 Nov 2009)
+
+ 21 Nov 2009; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ -files/gretl-1.7.9-nls.patch, -files/gretl-1.8.0-ldflags.patch,
+ -gretl-1.8.1.ebuild, -gretl-1.8.2.ebuild,
+ -files/gretl-1.8.2-ldflags.patch, +gretl-1.8.5.ebuild:
+ Version bump
*gretl-1.8.4 (24 Sep 2009)
diff --git a/sci-mathematics/gretl/files/gretl-1.7.9-nls.patch b/sci-mathematics/gretl/files/gretl-1.7.9-nls.patch
deleted file mode 100644
index a961c2dcdf06..000000000000
--- a/sci-mathematics/gretl/files/gretl-1.7.9-nls.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- gui2/gui_recode.c.orig 2008-09-22 17:29:52.000000000 +0100
-+++ gui2/gui_recode.c 2008-10-08 21:19:22.000000000 +0100
-@@ -285,6 +285,10 @@
- return ret;
- }
-
-+#else
-+gchar *my_filename_from_utf8 (char *fname) { return fname; }
-+gchar *my_filename_to_utf8 (const char *fname) { return g_strdup(fname); }
-+int maybe_recode_gp_file_to_utf8 (const char *fname) { return 1; }
- #endif /* ENABLE_NLS */
-
-
diff --git a/sci-mathematics/gretl/files/gretl-1.8.0-ldflags.patch b/sci-mathematics/gretl/files/gretl-1.8.0-ldflags.patch
deleted file mode 100644
index cce5101716af..000000000000
--- a/sci-mathematics/gretl/files/gretl-1.8.0-ldflags.patch
+++ /dev/null
@@ -1,76 +0,0 @@
---- cli/Makefile.in.orig 2008-03-24 12:46:11.000000000 +0000
-+++ cli/Makefile.in 2009-02-02 23:48:16.880402952 +0000
-@@ -3,6 +3,7 @@
-
- CC = @CC@
- CFLAGS = @CFLAGS@
-+LDFLAGS = @LDFLAGS@
- MAKE = @MAKE@
- INSTALL = @INSTALL@
-
-@@ -51,7 +52,7 @@
- $(CC) $(CFLAGS) -MM $< > .deps/$*.d
-
- $(CLI): .deps $(OBJS)
-- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS) $(GRETLLIB) $(READLINE_LIBS)
-+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJS) $(GRETLLIB) $(READLINE_LIBS)
-
- .deps:
- mkdir $@
---- gui2/Makefile.in.orig 2008-12-11 18:44:33.000000000 +0000
-+++ gui2/Makefile.in 2009-02-02 23:20:16.989339642 +0000
-@@ -7,6 +7,7 @@
- libdir = @libdir@
- CC = @CC@
- CFLAGS = @CFLAGS@
-+LDFLAGS = @LDFLAGS@
- MAKE = @MAKE@
- INSTALL = @INSTALL@
- LN = @LN_S@
-@@ -164,7 +165,7 @@
- $(CC) $(CFLAGS) -MM $< > .deps/$*.d
-
- $(PROG): .deps $(OBJS) $(HACK_OBJ) $(GTKSOURCEVIEW_LITE)
-- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS) $(HACK_OBJ) $(LIBS) $(INETLIB) $(CARBONLIB)
-+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJS) $(HACK_OBJ) $(LIBS) $(INETLIB) $(CARBONLIB)
-
- $(HACK_OBJ): $(HACK_SRC) $(HACK_HDR)
- $(CC) $(CFLAGS) $(GTK_CFLAGS) -c $<
---- lib/Makefile.in.orig 2008-12-14 17:35:18.000000000 +0000
-+++ lib/Makefile.in 2009-02-02 23:21:00.017863458 +0000
-@@ -6,6 +6,7 @@
- bindir = @bindir@
- CC = @CC@
- CFLAGS = @CFLAGS@
-+LDFLAGS = @LDFLAGS@
- MAKE = @MAKE@
- INSTALL = @INSTALL@
- LN = @LN_S@
-@@ -231,7 +232,7 @@
- $(CC) $(CFLAGS) -MM -MT $*.lo $< > .deps/$*.d
-
- $(LIBGRETL): .deps $(LOBJS) $(AUX_LOBJ)
-- $(LIBTOOL) --mode=link $(CC) -o $@ $(LOBJS) $(AUX_LOBJ) \
-+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(LOBJS) $(AUX_LOBJ) \
- -rpath $(prefix)/lib $(LIBS) \
- -version-info $(CURRENT):$(REVISION):$(AGE)
-
---- plugin/Makefile.in.orig 2008-12-09 15:49:20.000000000 +0000
-+++ plugin/Makefile.in 2009-02-02 23:21:36.595339921 +0000
-@@ -7,6 +7,7 @@
-
- CC = @CC@
- CFLAGS = @CFLAGS@
-+LDFLAGS = @LDFLAGS@
- MAKE = @MAKE@
- INSTALL = @INSTALL@
- LN = @LN_S@
-@@ -47,7 +48,7 @@
-
- LIBTOOL = ../libtool
- COMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS)
--LINK = $(LIBTOOL) --mode=link $(CC) -module -avoid-version -rpath $(plugindir)
-+LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -module -avoid-version -rpath $(plugindir)
-
- GRETLINC = -I$(topsrc)/lib/src
- GRETLLIB = ../lib/libgretl-1.0.la
diff --git a/sci-mathematics/gretl/files/gretl-1.8.2-ldflags.patch b/sci-mathematics/gretl/files/gretl-1.8.2-ldflags.patch
deleted file mode 100644
index 560cd75e17a8..000000000000
--- a/sci-mathematics/gretl/files/gretl-1.8.2-ldflags.patch
+++ /dev/null
@@ -1,288 +0,0 @@
---- cli/Makefile.in.orig 2009-07-06 05:26:32.000000000 +0100
-+++ cli/Makefile.in 2009-08-07 16:31:37.000000000 +0100
-@@ -3,6 +3,7 @@
-
- CC = @CC@
- CFLAGS = @CFLAGS@
-+LDFLAGS = @LDFLAGS@
- MAKE = @MAKE@
- INSTALL = @INSTALL@
-
-@@ -51,7 +52,7 @@
- $(CC) $(CFLAGS) -MM $< > .deps/$*.d
-
- $(CLI): .deps $(OBJS)
-- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS) $(GRETLLIB) \
-+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJS) $(GRETLLIB) \
- $(READLINE_LIBS)
-
- .deps:
---- doc/Makefile.in.orig 2008-09-21 21:22:59.000000000 +0100
-+++ doc/Makefile.in 2009-08-07 16:31:37.000000000 +0100
-@@ -8,12 +8,12 @@
- subdirs: $(SUBDIRS)
-
- $(SUBDIRS):
-- make -C $@
-+ $(MAKE) -C $@
-
- clean:
- for d in $(SUBDIRS) ; do \
-- make -C $$d clean ; done
-+ $(MAKE) -C $$d clean ; done
-
- install:
- for d in $(SUBDIRS) ; do \
-- make -C $$d install ; done
-+ $(MAKE) -C $$d install ; done
---- doc/tex/Makefile.in.orig 2009-06-13 16:42:16.000000000 +0100
-+++ doc/tex/Makefile.in 2009-08-07 16:31:37.000000000 +0100
-@@ -93,16 +93,16 @@
- if [ ! -f $$f ] ; then ln -sf $(docsrc)/tex/$$f . ; fi ; done
-
- cmdtex:
-- make -C ../commands cmdtex
-+ $(MAKE) -C ../commands cmdtex
-
- topiclist:
-- make -C ../commands topiclist_en
-+ $(MAKE) -C ../commands topiclist_en
-
- textables:
-- make -C ../commands textables
-+ $(MAKE) -C ../commands textables
-
- functex:
-- make -C ../commands functex
-+ $(MAKE) -C ../commands functex
-
- date.tex:
- date "+%B, %Y" > $@
---- doc/tex_pt/Makefile.in.orig 2009-03-28 13:37:17.000000000 +0000
-+++ doc/tex_pt/Makefile.in 2009-08-07 16:31:37.000000000 +0100
-@@ -69,16 +69,16 @@
- if [ ! -f $$f ] ; then ln -sf $(docsrc)/tex_pt/$$f . ; fi ; done
-
- cmdtex:
-- make -C ../commands cmdtex_pt
-+ $(MAKE) -C ../commands cmdtex_pt
-
- topiclist:
-- make -C ../commands topiclist_pt
-+ $(MAKE) -C ../commands topiclist_pt
-
- textables_pt:
-- make -C ../commands textables_pt
-+ $(MAKE) -C ../commands textables_pt
-
- functex:
-- make -C ../commands functex_pt
-+ $(MAKE) -C ../commands functex_pt
-
- date.tex:
- LANG=pt_PT date "+%B %Y" | sed 's/^[a-z]/\u&/' > $@
---- extra/Makefile.in.orig 2003-04-08 19:57:13.000000000 +0100
-+++ extra/Makefile.in 2009-08-07 16:31:37.000000000 +0100
-@@ -5,11 +5,11 @@
- VPATH = $(topsrc)/extra
-
- ifeq ($(have_gtk),2.0)
-- CFLAGS = -g -O2 -Wall `pkg-config --cflags gretl`
-- LDFLAGS = `pkg-config --libs gretl`
-+ CFLAGS := $(CFLAGS) `pkg-config --cflags gretl`
-+ LDFLAGS := $(LDFLAGS) `pkg-config --libs gretl`
- else
-- CFLAGS = -g -O2 -Wall `gretl-config --cflags`
-- LDFLAGS = `gretl-config --libs`
-+ CFLAGS := $(CFLAGS) `gretl-config --cflags`
-+ LDFLAGS := $(LDFLAGS) `gretl-config --libs`
- endif
-
- all: simple_client
---- gui2/Makefile.in.orig 2009-06-29 15:28:31.000000000 +0100
-+++ gui2/Makefile.in 2009-08-07 16:31:37.000000000 +0100
-@@ -7,6 +7,7 @@
- libdir = @libdir@
- CC = @CC@
- CFLAGS = @CFLAGS@
-+LDFLAGS = @LDFLAGS@
- MAKE = @MAKE@
- INSTALL = @INSTALL@
- LN = @LN_S@
-@@ -68,7 +69,7 @@
- endif
-
- ifeq ($(have_gnome),2.0)
-- query_install_gnome = install-gnome
-+ queryOA_install_gnome = install-gnome
- GNOMEDEF = -DDATADIR=\"$(gnome_prefix)/share\"
- endif
-
-@@ -161,13 +162,13 @@
- $(CC) $(CFLAGS) -MM $< > .deps/$*.d
-
- $(PROG): .deps $(OBJS) $(HACK_OBJ) $(GTKSOURCEVIEW_LITE)
-- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS) $(HACK_OBJ) $(LIBS) $(INETLIB) $(CARBONLIB)
-+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJS) $(HACK_OBJ) $(LIBS) $(INETLIB) $(CARBONLIB)
-
- $(HACK_OBJ): $(HACK_SRC) $(HACK_HDR)
- $(CC) $(CFLAGS) $(GTK_CFLAGS) -c $<
-
- mklang: mklang.o
-- $(LIBTOOL) --mode=link $(CC) -o $@ $< ../lib/libgretl-1.0.la $(XML_LIBS)
-+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $< ../lib/libgretl-1.0.la $(XML_LIBS)
-
- mklang.o: mklang.c $(topsrc)/lib/src/options.c $(topsrc)/lib/src/genlex.c $(topsrc)/lib/src/gretl_commands.c
- $(CC) -c -I.. -I$(libsrc) $(XML_CFLAGS) $<
-@@ -176,7 +177,7 @@
- ./mklang $(LANGOPT) > $@
-
- $(GTKSOURCEVIEW_LITE):
-- make -C gtksourceview
-+ $(MAKE) -C gtksourceview
-
- .deps:
- mkdir $@
-@@ -220,7 +221,7 @@
- clean:
- rm -f *.o $(PROG) mklang gretl.lang gretl.lang.2
- rm -rf .libs .deps
-- make -C gtksourceview clean
-+ $(MAKE) -C gtksourceview clean
-
- distclean: clean
- rm -f Makefile debug
---- lib/Makefile.in.orig 2009-07-06 05:24:20.000000000 +0100
-+++ lib/Makefile.in 2009-08-07 16:31:37.000000000 +0100
-@@ -6,6 +6,7 @@
- bindir = @bindir@
- CC = @CC@
- CFLAGS = @CFLAGS@
-+LDFLAGS = @LDFLAGS@
- MAKE = @MAKE@
- INSTALL = @INSTALL@
- LN = @LN_S@
-@@ -236,7 +237,7 @@
- $(CC) $(CFLAGS) -MM -MT $*.lo $< > .deps/$*.d
-
- $(LIBGRETL): .deps $(LOBJS) $(AUX_LOBJ)
-- $(LIBTOOL) --mode=link $(CC) -o $@ $(LOBJS) $(AUX_LOBJ) \
-+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(LOBJS) $(AUX_LOBJ) \
- -rpath $(prefix)/lib $(LIBS) \
- -version-info $(CURRENT):$(REVISION):$(AGE)
-
---- Makefile.in.orig 2009-05-02 21:55:41.000000000 +0100
-+++ Makefile.in 2009-08-07 16:31:37.000000000 +0100
-@@ -6,6 +6,7 @@
- libdir = @libdir@
- CC = @CC@
- CFLAGS = @CFLAGS@
-+LDFLAGS = @LDFLAGS@
- MAKE = @MAKE@
- INSTALL = @INSTALL@
- LN = @LN_S@
-@@ -85,16 +86,16 @@
- $(tooldir)/makedist
-
- distclean: clean
-- make -C win32 clean
-+ $(MAKE) -C win32 clean
- rm -f config.log config.cache config.status config.h gretl.pc
- rm -f gretl_sh gretl-config libtool Makefile
- for d in $(ALLSUBDIRS) ; do $(MAKE) -C $$d distclean; done
-
- check:
-- make -C tests check
-+ $(MAKE) -C tests check
-
- osx-dist:
-- make -C osx postinst
-+ $(MAKE) -C osx postinst
-
- # dependency for parallel builds
- cli: lib
---- plugin/Makefile.in.orig 2009-06-22 15:41:31.000000000 +0100
-+++ plugin/Makefile.in 2009-08-07 16:31:37.000000000 +0100
-@@ -7,6 +7,7 @@
-
- CC = @CC@
- CFLAGS = @CFLAGS@
-+LDFLAGS = @LDFLAGS@
- MAKE = @MAKE@
- INSTALL = @INSTALL@
- LN = @LN_S@
-@@ -47,7 +48,7 @@
-
- LIBTOOL = ../libtool
- COMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS)
--LINK = $(LIBTOOL) --mode=link $(CC) -module -avoid-version -rpath $(plugindir)
-+LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -module -avoid-version -rpath $(plugindir)
-
- GRETLINC = -I$(topsrc)/lib/src
- GRETLLIB = ../lib/libgretl-1.0.la
---- share/Makefile.in.orig 2008-09-21 21:23:15.000000000 +0100
-+++ share/Makefile.in 2009-08-07 16:31:37.000000000 +0100
-@@ -41,14 +41,14 @@
- all: $(query_make_help)
-
- help:
-- make -C ../doc/commands help-all
-+ $(MAKE) -C ../doc/commands help-all
-
- .PHONY :
-
- install: installdirs install_datafiles install_scripts install_functions \
- install_fonts install_help
- $(INSTALL_DATA) $(sharesrc)/gretl.stamp $(DESTDIR)$(gretldir)/gretl.stamp
-- make -C bcih install
-+ $(MAKE) -C bcih install
-
- install-strip: install
-
-@@ -108,7 +108,7 @@
- $(tooldir)/mkinstalldirs $(DESTDIR)$(gretldir)/fonts
-
- clean:
-- make -C bcih clean
-+ $(MAKE) -C bcih clean
-
- textclean:
- rm -f *.txt
-@@ -118,4 +118,4 @@
-
- distclean: clean
- rm -f Makefile
-- make -C bcih distclean
-+ $(MAKE) -C bcih distclean
---- tests/Makefile.in.orig 2006-06-28 20:14:50.000000000 +0100
-+++ tests/Makefile.in 2009-08-07 16:31:37.000000000 +0100
-@@ -5,6 +5,7 @@
-
- CC = @CC@
- CFLAGS = @CFLAGS@
-+LDFLAGS = @LDFLAGS@
- have_gtk = @have_gtk@
- GMP_LIBS = @GMP_LIBS@
- FLIB = @FLIB@
-@@ -35,7 +36,7 @@
- all: nistcheck
-
- nistcheck: nistcheck.o $(LIBGRETL)
-- ../libtool --mode=link $(CC) -o $@ $< $(LIBGRETL) $(XML_LIBS)
-+ ../libtool --mode=link $(CC) $(LDFLAGS) -o $@ $< $(LIBGRETL) $(XML_LIBS)
-
- nistcheck.o: nistcheck.c
- $(CC) $(CFLAGS) $(XML_CFLAGS) -c $<
-@@ -47,10 +48,10 @@
- ./mtrand && ./diehard
-
- diehard: diehard.c
-- $(CC) -I$(topsrc)/lib/src -o $@ $< $(FLIB) -lm
-+ $(CC) -I$(topsrc)/lib/src $(LDFLAGS) -o $@ $< $(FLIB) -lm
-
- mtrand: mtrand.o
-- ../libtool --mode=link $(CC) -o $@ $< $(RAND_LIBS)
-+ ../libtool --mode=link $(CC) $(LDFLAGS) -o $@ $< $(RAND_LIBS)
-
- .PHONY :
-
diff --git a/sci-mathematics/gretl/gretl-1.8.1.ebuild b/sci-mathematics/gretl/gretl-1.8.1.ebuild
deleted file mode 100644
index 21d91d6713eb..000000000000
--- a/sci-mathematics/gretl/gretl-1.8.1.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.8.1.ebuild,v 1.1 2009/06/22 18:53:19 bicatali Exp $
-
-USE_EINSTALL=true
-EAPI=2
-inherit eutils gnome2 elisp-common
-
-DESCRIPTION="Regression, econometrics and time-series library"
-HOMEPAGE="http://gretl.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="accessibility emacs gmp gnome gtk nls odbc readline sourceview"
-
-RDEPEND="dev-libs/libxml2
- dev-libs/glib:2
- sci-visualization/gnuplot
- virtual/lapack
- virtual/latex-base
- sci-libs/fftw:3.0
- dev-libs/mpfr
- readline? ( sys-libs/readline )
- gmp? ( dev-libs/gmp )
- accessibility? ( app-accessibility/flite )
- gtk? ( sci-visualization/gnuplot[gd]
- media-libs/gd[png]
- x11-libs/gtk+:2 )
- gnome? ( sci-visualization/gnuplot[gd]
- media-libs/gd[png]
- gnome-base/libgnomeui
- gnome-base/libgnomeprint:2.2
- gnome-base/libgnomeprintui:2.2
- gnome-base/gconf:2 )
- sourceview? ( x11-libs/gtksourceview )
- odbc? ( dev-db/unixODBC )
- emacs? ( virtual/emacs )"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-SITEFILE=50${PN}-gentoo.el
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.7.5-locale.patch
- epatch "${FILESDIR}"/${PN}-1.8.0-ldflags.patch
- epatch "${FILESDIR}"/${PN}-1.7.9-nls.patch
-}
-
-src_configure() {
- local myconf
- if use gtk; then
- myconf="--enable-gui"
- myconf="${myconf} $(use_with sourceview gtksourceview)"
- myconf="${myconf} $(use_with gnome)"
- else
- myconf="--disable-gui --without-gnome --without-gtksourceview"
- fi
-
- econf \
- --with-mpfr \
- $(use_enable nls) \
- $(use_with readline) \
- $(use_with gmp) \
- $(use_with odbc) \
- $(use_with accessibility audio) \
- ${myconf} \
- LAPACK_LIBS="$(pkg-config --libs lapack)"
-}
-
-src_compile() {
-
- emake || die "emake failed"
-
- if use emacs; then
- elisp-compile utils/emacs/gretl.el || die "elisp-compile failed"
- fi
-}
-
-src_install() {
- if use gnome; then
- gnome2_src_install gnome_prefix="${D}"/usr svprefix="${D}usr"
- else
- einstall svprefix="${D}usr"
- fi
- if use gtk && ! use gnome; then
- doicon gnome/gretl.png
- make_desktop_entry gretl_x11 gretl
- fi
- if use emacs; then
- elisp-install ${PN} utils/emacs/gretl.{el,elc} \
- || die "elisp-install failed"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
- || die "elisp-site-file-install failed"
- fi
- dodoc README README.audio ChangeLog CompatLog TODO \
- || die "dodoc failed"
-}
-
-pkg_postinst() {
- if use emacs; then
- elisp-site-regen
- elog "To begin using gretl-mode for all \".inp\" files that you edit,"
- elog "add the following line to your \"~/.emacs\" file:"
- elog " (add-to-list 'auto-mode-alist '(\"\\\\.inp\\\\'\" . gretl-mode))"
- fi
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/sci-mathematics/gretl/gretl-1.8.2.ebuild b/sci-mathematics/gretl/gretl-1.8.5.ebuild
index 6117b711a0a4..dc9f6f42ed2a 100644
--- a/sci-mathematics/gretl/gretl-1.8.2.ebuild
+++ b/sci-mathematics/gretl/gretl-1.8.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.8.2.ebuild,v 1.1 2009/08/07 15:42:18 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.8.5.ebuild,v 1.1 2009/11/21 08:30:53 bicatali Exp $
USE_EINSTALL=true
EAPI=2
@@ -46,8 +46,6 @@ SITEFILE=50${PN}-gentoo.el
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.7.5-locale.patch
- epatch "${FILESDIR}"/${PN}-1.7.9-nls.patch
- epatch "${FILESDIR}"/${PN}-1.8.2-ldflags.patch
}
src_configure() {