summaryrefslogtreecommitdiffstats
path: root/math/gretl
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-30 07:15:49 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-30 07:15:49 +0800
commit42e79dc9f01d9967c5c9e7481a8c509d06e04d39 (patch)
tree618336a2c445e207810b8834f1aa1a607f221837 /math/gretl
parent63d2921f4469c3bd329bc5a8fdf9c84ce7ed1d00 (diff)
downloadmarcuscom-ports-42e79dc9f01d9967c5c9e7481a8c509d06e04d39.tar
marcuscom-ports-42e79dc9f01d9967c5c9e7481a8c509d06e04d39.tar.gz
marcuscom-ports-42e79dc9f01d9967c5c9e7481a8c509d06e04d39.tar.bz2
marcuscom-ports-42e79dc9f01d9967c5c9e7481a8c509d06e04d39.tar.lz
marcuscom-ports-42e79dc9f01d9967c5c9e7481a8c509d06e04d39.tar.xz
marcuscom-ports-42e79dc9f01d9967c5c9e7481a8c509d06e04d39.tar.zst
marcuscom-ports-42e79dc9f01d9967c5c9e7481a8c509d06e04d39.zip
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9266 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'math/gretl')
-rw-r--r--math/gretl/Makefile74
-rw-r--r--math/gretl/distinfo3
-rw-r--r--math/gretl/files/patch-Makefile.in14
-rw-r--r--math/gretl/files/patch-cli::Makefile.in41
-rw-r--r--math/gretl/files/patch-gnome::Makefile.in32
-rw-r--r--math/gretl/files/patch-gui2::Makefile.in100
-rw-r--r--math/gretl/files/patch-gui2::omf-install::Makefile.in29
-rw-r--r--math/gretl/files/patch-lib::Makefile.in56
-rw-r--r--math/gretl/files/patch-lib::src::gretl_paths.c13
-rw-r--r--math/gretl/files/patch-lib__src__gretl_matrix.c17
-rw-r--r--math/gretl/files/patch-macros-lapack.m411
-rw-r--r--math/gretl/files/patch-plugin::Makefile.in46
-rw-r--r--math/gretl/files/patch-plugin::libole2::ms-ole2.h14
-rw-r--r--math/gretl/files/patch-plugin::workbook.c10
-rw-r--r--math/gretl/files/patch-plugin__oprobit.c19
-rw-r--r--math/gretl/files/patch-share::Makefile.in65
-rw-r--r--math/gretl/files/patch-share::bcih::Makefile.in14
-rw-r--r--math/gretl/pkg-descr22
-rw-r--r--math/gretl/pkg-plist509
19 files changed, 1089 insertions, 0 deletions
diff --git a/math/gretl/Makefile b/math/gretl/Makefile
new file mode 100644
index 000000000..0e18b7e75
--- /dev/null
+++ b/math/gretl/Makefile
@@ -0,0 +1,74 @@
+# ex:ts=8
+# Ports collection makefile for: gretl
+# Date created: Mar 22, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= gretl
+PORTVERSION= 1.6.5
+PORTREVISION= 1
+CATEGORIES= math finance
+MASTER_SITES= SF
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Gnu Regression, Econometrics and Time-series Library
+
+BUILD_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
+LIB_DEPENDS= fftw3.4:${PORTSDIR}/math/fftw3 \
+ mpfr.1:${PORTSDIR}/math/mpfr
+RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
+
+USE_BZIP2= yes
+WANT_GNOME= yes
+USE_GNOME= gnometarget gtk20 libxml2
+USE_GETTEXT= yes
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:15 autoconf:259
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DGNUPLOT_PNG" \
+ LDFLAGS="-L${LOCALBASE}/lib ${GCCLIBDIR}"
+CONFIGURE_ARGS= --enable-static --enable-shared --with-gmake
+ALL_TARGET= # empty
+USE_LDCONFIG= yes
+
+MAN1= gretl.1 gretl-config.1
+
+USE_FORTRAN= yes
+CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}" LAPACK_LIBS="${BLAS} ${LAPACK} -l${FORTRANRUNTIME}"
+FORTRANRUNTIME= gfortran
+GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../..
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "alpha"
+BROKEN= math/lapack appears to be broken on alpha
+.endif
+
+.if ${HAVE_GNOME:Mlibgnomeui}!=""
+PKGNAMESUFFIX= -gnome
+USE_GNOME+= gnomeprefix gtksourceview libgnomeui
+GCONF_SCHEMAS= gretl.schemas
+.else
+CONFIGURE_ARGS+= --without-gnome --without-gtksourceview
+.endif
+
+.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
+WITH_ATLAS= yes
+.endif
+
+.if defined(WITH_ATLAS)
+LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas
+BLAS= -lf77blas -latlas
+LAPACK= -lalapack -lcblas
+.else
+LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas
+LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack
+BLAS= -lblas
+LAPACK= -llapack
+.endif
+
+pre-configure:
+ @${DIRNAME} `${F77} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR
+
+.include <bsd.port.post.mk>
diff --git a/math/gretl/distinfo b/math/gretl/distinfo
new file mode 100644
index 000000000..3ab72c0df
--- /dev/null
+++ b/math/gretl/distinfo
@@ -0,0 +1,3 @@
+MD5 (gretl-1.6.5.tar.bz2) = ed2ca08e8e06df14bc2d4a071535c3e5
+SHA256 (gretl-1.6.5.tar.bz2) = c6f40ed667fdc25298724c0aa9ada06d1f6a75f328d6f72a2ee906e92ae8faac
+SIZE (gretl-1.6.5.tar.bz2) = 4362695
diff --git a/math/gretl/files/patch-Makefile.in b/math/gretl/files/patch-Makefile.in
new file mode 100644
index 000000000..c4dab95e3
--- /dev/null
+++ b/math/gretl/files/patch-Makefile.in
@@ -0,0 +1,14 @@
+--- Makefile.in.orig Thu Sep 12 00:35:22 2002
++++ Makefile.in Mon Oct 21 10:02:37 2002
+@@ -22,8 +22,9 @@
+ GUIDIR = gui
+ endif
+
+-INSTALL_PROGRAM = ${INSTALL} -m 755
+-INSTALL_DATA = ${INSTALL} -m 644
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_SCRIPT = @INSTALL_SCRIPT@
++INSTALL_DATA = @INSTALL_DATA@
+
+ export
+
diff --git a/math/gretl/files/patch-cli::Makefile.in b/math/gretl/files/patch-cli::Makefile.in
new file mode 100644
index 000000000..0d5ed3166
--- /dev/null
+++ b/math/gretl/files/patch-cli::Makefile.in
@@ -0,0 +1,41 @@
+--- cli/Makefile.in.orig Sat Sep 11 01:19:35 2004
++++ cli/Makefile.in Sun Oct 8 02:07:02 2006
+@@ -9,12 +9,16 @@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+ datadir = @datadir@
+-localedir = $(datadir)/locale
++localedir = $(prefix)/share/locale
+
+ have_readline = @have_readline@
+ READLINE_LIBS = @READLINE_LIBS@
+ READLINE_CFLAGS = @READLINE_CFLAGS@
+
++CPPFLAGS = @CPPFLAGS@
++LDFLAGS = @LDFLAGS@
++INTL_LIBS = @LTLIBINTL@
++
+ ifeq ($(CC),)
+ CC = gcc
+ endif
+@@ -40,17 +44,17 @@
+
+ DEFS = -DLOCALEDIR=\"$(localedir)\" -DHAVE_CONFIG_H
+
+-override CFLAGS += -I.. -I$(topsrc) -I$(libsrc) $(READLINE_CFLAGS) $(DEFS)
++override CFLAGS += -I.. -I$(topsrc) -I$(libsrc) $(READLINE_CFLAGS) $(DEFS) $(CPPFLAGS)
+
+ CLI = gretlcli
+-LIBTOOL = ../libtool
++LIBTOOL = @LIBTOOL@
+
+ %.o: %.c
+ $(CC) -c $(CFLAGS) $<
+ $(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) $(INTL_LIBS)
+
+ .deps:
+ mkdir $@
diff --git a/math/gretl/files/patch-gnome::Makefile.in b/math/gretl/files/patch-gnome::Makefile.in
new file mode 100644
index 000000000..8c1ad3d1d
--- /dev/null
+++ b/math/gretl/files/patch-gnome::Makefile.in
@@ -0,0 +1,32 @@
+--- gnome/Makefile.in.orig Sat Dec 23 00:26:03 2006
++++ gnome/Makefile.in Sun Mar 25 02:18:02 2007
+@@ -5,12 +5,10 @@
+
+ INSTALL = @INSTALL@
+ prefix = @prefix@
+-gnome_prefix = @gnome_prefix@
++datadir = @datadir@
+ have_gnome = @have_gnome@
+
+-ifeq ($(gnome_prefix),NA)
+- gnome_prefix = $(prefix)
+-endif
++sysconfdir = @sysconfdir@
+
+ GCONFTOOL = @GCONFTOOL@
+ GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@
+@@ -26,10 +24,10 @@
+ schemadir = $(GCONF_SCHEMA_FILE_DIR)
+ endif
+
+-desktopdir = $(gnome_prefix)/share/applications
+-mimedir = $(gnome_prefix)/share/mime-info
+-gpixmaps = $(gnome_prefix)/share/pixmaps
+-schemadir = $(gnome_prefix)/etc/gconf/schemas
++desktopdir = $(datadir)/applications
++mimedir = $(datadir)/mime-info
++gpixmaps = $(datadir)/pixmaps
++schemadir = $(sysconfdir)/gconf/schemas
+
+ install: install-images install-misc $(install_schemas)
+
diff --git a/math/gretl/files/patch-gui2::Makefile.in b/math/gretl/files/patch-gui2::Makefile.in
new file mode 100644
index 000000000..f5844dd3e
--- /dev/null
+++ b/math/gretl/files/patch-gui2::Makefile.in
@@ -0,0 +1,100 @@
+--- gui2/Makefile.in.orig Thu Jul 27 04:51:05 2006
++++ gui2/Makefile.in Sun Oct 8 02:07:29 2006
+@@ -4,6 +4,7 @@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+ libdir = @libdir@
++datadir = @datadir@
+ CC = @CC@
+ CFLAGS = @CFLAGS@
+ MAKE = @MAKE@
+@@ -50,7 +51,7 @@
+
+ ifeq ($(have_gtksourceview),yes)
+ langbase := $(shell pkg-config --variable=prefix gtksourceview-1.0)
+- langdir = $(langbase)/share/gtksourceview-1.0/language-specs
++ langdir = $(datadir)/gtksourceview-1.0/language-specs
+ query_install_lang = install-lang
+ endif
+
+@@ -59,7 +60,7 @@
+ GTKSOURCEVIEW_CFLAGS = -I$(topsrc)/gui2
+ GTKSOURCEVIEW_LIBS = -L./gtksourceview -lgtksourceview-lite
+ MY_SOURCEVIEW_LIB = gtksourceview/libgtksourceview-lite.a
+- langdir = $(prefix)/share/gretl/gtksourceview
++ langdir = $(datadir)/gretl/gtksourceview
+ query_install_lang = install-lang
+ endif
+ endif
+@@ -69,14 +70,14 @@
+ ../lib/libgretl-1.0.la
+ GUI_CFLAGS = $(GNOME_CFLAGS) $(GTKSOURCEVIEW_CFLAGS) $(GTK_EXTRA_CFLAGS)
+ query_install_gnome = install-gnome
+- GNOMEDEF = -DDATADIR=\"$(gnome_prefix)/share\"
++ GNOMEDEF = -DDATADIR=\"$(datadir)\"
+ else
+ LIBS = $(GTK_LIBS) $(GTKSOURCEVIEW_LIBS) $(GTK_EXTRA_LIB) ../lib/libgretl-1.0.la
+ GUI_CFLAGS = $(GTK_CFLAGS) $(GTKSOURCEVIEW_CFLAGS) $(GTK_EXTRA_CFLAGS)
+ endif
+ ifeq ($(USE_NLS),yes)
+ datadir = @datadir@
+- localedir = $(datadir)/locale
++ localedir = $(prefix)/share/locale
+ NLSDEF = -DLOCALEDIR=\"$(localedir)\"
+ endif
+
+@@ -88,7 +89,7 @@
+
+ # Directories
+ bindir = $(prefix)/bin
+-gretldir = $(prefix)/share/gretl
++gretldir = $(datadir)/gretl
+ tooldir = $(topsrc)/tools
+ libsrc = $(topsrc)/lib/src
+ clisrc = $(topsrc)/cli
+@@ -97,7 +98,7 @@
+ #### End of system configuration section. ####
+
+ SHELL = /bin/sh
+-LIBTOOL = ../libtool
++LIBTOOL = @LIBTOOL@
+ PROG = gretl_x11
+
+ vpath %.c $(topsrc)/gui2
+@@ -156,23 +157,23 @@
+ $(CC) $(CFLAGS) -MM $< > .deps/$*.d
+
+ $(PROG): .deps $(OBJS) $(HACK_OBJ) $(GTKEXTRA_LITE) $(MY_SOURCEVIEW_LIB)
+- $(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.c
+ $(CC) -c -I.. -I$(libsrc) $(XML_CFLAGS) $<
+- $(LIBTOOL) --mode=link $(CC) -o $@ mklang.o ../lib/libgretl-1.0.la $(XML_LIBS)
++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ mklang.o ../lib/libgretl-1.0.la $(XML_LIBS)
+
+ gretl.lang: mklang
+ ./mklang > $@
+
+ $(GTKEXTRA_LITE):
+- make -C gtkextra-lite
++ $(MAKE) -C gtkextra-lite
+
+ gtksourceview/libgtksourceview-lite.a:
+- make -C gtksourceview
++ $(MAKE) -C gtksourceview
+
+ .deps:
+ mkdir $@
+@@ -187,7 +188,7 @@
+ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) -s $(PROG) $(bindir)/$(PROG)
+
+ install-data: installdirs
+- $(INSTALL_PROGRAM) ../gretl_sh $(bindir)/gretl
++ $(INSTALL_SCRIPT) ../gretl_sh $(bindir)/gretl
+ $(INSTALL_DATA) $(topsrc)/pixmaps/gretl-logo.xpm $(gretldir)
+ $(INSTALL_DATA) $(topsrc)/COPYING $(gretldir)
+
diff --git a/math/gretl/files/patch-gui2::omf-install::Makefile.in b/math/gretl/files/patch-gui2::omf-install::Makefile.in
new file mode 100644
index 000000000..c5cfa1532
--- /dev/null
+++ b/math/gretl/files/patch-gui2::omf-install::Makefile.in
@@ -0,0 +1,29 @@
+--- gui2/omf-install/Makefile.in.orig Wed Apr 9 01:11:18 2003
++++ gui2/omf-install/Makefile.in Mon Apr 14 17:37:41 2003
+@@ -1,13 +1,14 @@
+-topsrc = $top_srcdir@
++topsrc = @top_srcdir@
+ tooldir = $(topsrc)/tools
+
+ INSTALL = @INSTALL@
+-gnome_prefix = @gnome_prefix@
++INSTALL_DATA = @INSTALL_DATA@
++datadir = @datadir@
+
+ VPATH = $(topsrc)/gui2/omf-install
+
+-docdir = $(gnome_prefix)/share/gnome/help/gretl/C
+-omfdir = $(gnome_prefix)/share/omf/gretl
++docdir = $(gnome_prefix)/share/gnome/help/gretl/C
++omfdir = $(datadir)/omf/gretl
+
+ gretl-C.omf: gretl-C.omf.in
+ scrollkeeper-preinstall $(docdir)/`awk 'BEGIN {RS = ">" } \
+@@ -16,5 +17,5 @@
+
+ install: gretl-C.omf
+ $(tooldir)/mkinstalldirs $(omfdir)
+- $(INSTALL) -m 644 $< $(omfdir)
+- scrollkeeper-update -p $(gnome_prefix)/var/scrollkeeper
++ $(INSTALL_DATA) $< $(omfdir)
++ scrollkeeper-update -p /var/db/scrollkeeper
diff --git a/math/gretl/files/patch-lib::Makefile.in b/math/gretl/files/patch-lib::Makefile.in
new file mode 100644
index 000000000..f193e4b10
--- /dev/null
+++ b/math/gretl/files/patch-lib::Makefile.in
@@ -0,0 +1,56 @@
+--- lib/Makefile.in.orig Mon Apr 16 10:13:11 2007
++++ lib/Makefile.in Mon May 21 16:10:51 2007
+@@ -25,6 +25,11 @@
+
+ have_gtk = @have_gtk@
+
++datadir = @datadir@
++CPPFLAGS = @CPPFLAGS@ -DDATADIR=\"$(datadir)\"
++LDFLAGS = @LDFLAGS@
++INTL_LIBS = @LTLIBINTL@
++
+ ifeq ($(INSTALL_PROGRAM),)
+ INSTALL_PROGRAM = $(INSTALL) -m 755
+ endif
+@@ -39,7 +44,7 @@
+ libdir = $(prefix)/lib
+ includedir = $(prefix)/include/gretl
+ aclocaldir = $(prefix)/share/aclocal
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+
+ INSTALLDIRS = $(libdir) $(includedir) $(aclocaldir)
+
+@@ -55,8 +60,8 @@
+
+ # hard-coded -L/usr/local/lib is a bodge!!
+
+-LIBS = $(LAPACK_LIBS) -lm -ldl -L/usr/local/lib -lz $(XML_LIBS) \
+- $(GLIB_LIBS) $(GMP_LIBS) $(FFTW_LIBS)
++LIBS = $(LAPACK_LIBS) -lm -lz $(XML_LIBS) \
++ $(GLIB_LIBS) $(GMP_LIBS) $(FFTW_LIBS) $(INTL_LIBS)
+
+ #### End of system configuration section. ####
+
+@@ -204,10 +209,10 @@
+ LOBJS = $(SRCS:.c=.lo)
+ AUX_LOBJ = $(CEPHES_SRC:.c=.lo) $(MINPACK_SRC:.c=.lo)
+
+-LIBTOOL = ../libtool
++LIBTOOL = @LIBTOOL@
+
+ override CFLAGS += -I.. -I$(topsrc) -I$(libsrc) $(XML_CFLAGS) $(GLIB_CFLAGS) \
+- $(GMP_CFLAGS) $(FFTW_CFLAGS) -DHAVE_CONFIG_H
++ $(GMP_CFLAGS) $(FFTW_CFLAGS) $(CPPFLAGS) -DHAVE_CONFIG_H
+
+ COMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS)
+
+@@ -216,7 +221,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)
+
diff --git a/math/gretl/files/patch-lib::src::gretl_paths.c b/math/gretl/files/patch-lib::src::gretl_paths.c
new file mode 100644
index 000000000..12770b080
--- /dev/null
+++ b/math/gretl/files/patch-lib::src::gretl_paths.c
@@ -0,0 +1,13 @@
+--- lib/src/gretl_paths.c.orig Wed Feb 11 06:14:36 2004
++++ lib/src/gretl_paths.c Sun Feb 29 18:10:53 2004
+@@ -432,8 +432,8 @@
+ if (home != NULL) {
+ strcpy(ppaths->gretldir, home);
+ } else {
+- strcpy(ppaths->gretldir, GRETL_PREFIX);
+- strcat(ppaths->gretldir, "/share/gretl/");
++ strcpy(ppaths->gretldir, DATADIR);
++ strcat(ppaths->gretldir, "/gretl/");
+ }
+
+ sprintf(ppaths->binbase, "%sdb/", ppaths->gretldir);
diff --git a/math/gretl/files/patch-lib__src__gretl_matrix.c b/math/gretl/files/patch-lib__src__gretl_matrix.c
new file mode 100644
index 000000000..0943f175b
--- /dev/null
+++ b/math/gretl/files/patch-lib__src__gretl_matrix.c
@@ -0,0 +1,17 @@
+--- lib/src/gretl_matrix.c.orig Wed Mar 14 09:25:57 2007
++++ lib/src/gretl_matrix.c Sat Apr 14 03:50:51 2007
+@@ -432,12 +432,13 @@
+ {
+ int reverse = (start > end);
+ int i, k, n = 1 + (reverse ? (start-end) : (end-start));
++ gretl_matrix *v;
+
+ if (n == 0) {
+ return NULL;
+ }
+
+- gretl_matrix *v = gretl_vector_alloc(n);
++ v = gretl_vector_alloc(n);
+
+ if (v == NULL) {
+ return v;
diff --git a/math/gretl/files/patch-macros-lapack.m4 b/math/gretl/files/patch-macros-lapack.m4
new file mode 100644
index 000000000..e2c4ae940
--- /dev/null
+++ b/math/gretl/files/patch-macros-lapack.m4
@@ -0,0 +1,11 @@
+--- macros/lapack.m4~ Fri Aug 26 05:19:27 2005
++++ macros/lapack.m4 Tue Jan 23 10:04:28 2007
+@@ -17,7 +17,7 @@
+
+ if test x"${LAPACK_LIBS}" = x ; then
+ AC_MSG_CHECKING(for libgfortran, libg2c or libf2c)
+- AC_CHECK_LIB(gfortran,etime_,FLIB="-lgfortran",FLIB="none")
++ AC_CHECK_LIB(gfortran,_gfortran_etime,FLIB="-lgfortran",FLIB="none")
+ if test $FLIB = "none" ; then
+ AC_CHECK_LIB(g2c,c_sqrt,FLIB="-lg2c",FLIB="none")
+ fi
diff --git a/math/gretl/files/patch-plugin::Makefile.in b/math/gretl/files/patch-plugin::Makefile.in
new file mode 100644
index 000000000..ee99f0eae
--- /dev/null
+++ b/math/gretl/files/patch-plugin::Makefile.in
@@ -0,0 +1,46 @@
+--- plugin/Makefile.in.orig Tue Sep 12 22:53:16 2006
++++ plugin/Makefile.in Sun Oct 8 02:08:19 2006
+@@ -8,6 +8,10 @@
+ INSTALL = @INSTALL@
+ LN = @LN_S@
+
++CPPFLAGS = @CPPFLAGS@
++LDFLAGS = @LDFLAGS@
++INTL_LIBS = @LTLIBINTL@
++
+ build_gui = @build_gui@
+ have_gtk = @have_gtk@
+ have_gmp = @have_gmp@
+@@ -45,7 +49,7 @@
+
+ override CFLAGS += -I.. -I$(topsrc)/gui2 -DHAVE_CONFIG_H
+
+-LIBTOOL = ../libtool
++LIBTOOL = @LIBTOOL@
+ COMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS)
+ LINK = $(LIBTOOL) --mode=link $(CC) -module -avoid-version -rpath $(plugindir)
+
+@@ -163,7 +167,7 @@
+ URCDATA = $(topsrc)/plugin/data/urcdata.gz
+
+ override CFLAGS += $(GRETLINC) $(GTK_CFLAGS) $(GMP_CFLAGS) $(MPFR_CFLAGS) \
+- $(XML_CFLAGS) $(GRETL_LIBOLE2_CFLAGS) $(ZIP_CFLAGS) $(AUDIO_CFLAGS) -I. $(GMPDEF)
++ $(XML_CFLAGS) $(GRETL_LIBOLE2_CFLAGS) $(ZIP_CFLAGS) $(AUDIO_CFLAGS) -I. $(GMPDEF) $(CPPFLAGS)
+
+ %.lo: %.c
+ $(COMPILE) $<
+@@ -266,12 +270,12 @@
+ .PHONY:
+
+ install: $(GRETLLIB) $(PLUGINS) $(URCDATA) installdirs
+- $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) \
++ $(LIBTOOL) --mode=install $(INSTALL_DATA) \
+ $(PLUGINS) $(plugindir)
+ $(INSTALL_DATA) $(URCDATA) $(plugindir)/data
+
+ install-strip: $(GRETLLIB) $(PLUGINS) installdirs
+- $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) -s \
++ $(LIBTOOL) --mode=install $(INSTALL_DATA) -s \
+ $(PLUGINS) $(plugindir)
+
+ installdirs:
diff --git a/math/gretl/files/patch-plugin::libole2::ms-ole2.h b/math/gretl/files/patch-plugin::libole2::ms-ole2.h
new file mode 100644
index 000000000..dc25fd58b
--- /dev/null
+++ b/math/gretl/files/patch-plugin::libole2::ms-ole2.h
@@ -0,0 +1,14 @@
+--- plugin/libole2/ms-ole.h.orig Fri Apr 12 03:41:50 2002
++++ plugin/libole2/ms-ole.h Thu Dec 19 06:28:05 2002
+@@ -13,10 +13,10 @@
+
+ /* This should be done in glib */
+ /* Allin Cottrell modifications here */
++# include <sys/types.h>
+ #ifndef _WIN32
+ # include <fcntl.h> /* for mode_t */
+ #else
+-# include <sys/types.h>
+ # ifdef notdef
+ typedef unsigned long mode_t;
+ typedef /* signed */ long off_t;
diff --git a/math/gretl/files/patch-plugin::workbook.c b/math/gretl/files/patch-plugin::workbook.c
new file mode 100644
index 000000000..d91482092
--- /dev/null
+++ b/math/gretl/files/patch-plugin::workbook.c
@@ -0,0 +1,10 @@
+--- plugin/workbook.c.orig Fri May 31 22:22:42 2002
++++ plugin/workbook.c Sat Jul 27 08:45:00 2002
+@@ -24,6 +24,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <glib.h>
++#include <wchar.h>
+
+ #ifdef G_OS_WIN32
+ # include "../winconfig.h"
diff --git a/math/gretl/files/patch-plugin__oprobit.c b/math/gretl/files/patch-plugin__oprobit.c
new file mode 100644
index 000000000..8b8ff9683
--- /dev/null
+++ b/math/gretl/files/patch-plugin__oprobit.c
@@ -0,0 +1,19 @@
+--- plugin/oprobit.c.orig Fri Feb 16 06:47:19 2007
++++ plugin/oprobit.c Sat Apr 14 03:58:23 2007
+@@ -665,6 +665,7 @@
+ gretl_matrix *V = NULL;
+ double *theta = NULL;
+ int err;
++ op_container *OC;
+
+ /* BFGS apparatus */
+ int maxit = 1000;
+@@ -679,7 +680,7 @@
+ opt &= ~OPT_R;
+ }
+
+- op_container *OC = op_container_new(ci, Z, pmod, opt);
++ OC = op_container_new(ci, Z, pmod, opt);
+ if (OC == NULL) {
+ return E_ALLOC;
+ }
diff --git a/math/gretl/files/patch-share::Makefile.in b/math/gretl/files/patch-share::Makefile.in
new file mode 100644
index 000000000..2ae91dc9c
--- /dev/null
+++ b/math/gretl/files/patch-share::Makefile.in
@@ -0,0 +1,65 @@
+--- share/Makefile.in.orig Fri Mar 9 11:04:53 2007
++++ share/Makefile.in Sat Apr 14 02:54:05 2007
+@@ -2,15 +2,16 @@
+ datarootdir = @datarootdir@
+
+ prefix = @prefix@
++datadir = @datadir@
+ have_gtk = @have_gtk@
+ build_docs = @build_docs@
+
+-gretldir = $(prefix)/share/gretl
++gretldir = $(datadir)/gretl
+ tooldir = $(topsrc)/tools
+ sharesrc = $(topsrc)/share
+ pdfdir = ../doc/tex
+
+-INSTALL_DATA = cp -fp
++INSTALL_DATA = @INSTALL_DATA@
+
+ EN_GUI_HLP = $(sharesrc)/gretlgui.hlp
+ EN_CMD_HLP = $(sharesrc)/gretlcmd.hlp
+@@ -45,14 +46,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_help install_fonts $(query_install_help)
+ $(INSTALL_DATA) $(sharesrc)/gretl.stamp $(gretldir)/gretl.stamp
+- make -C bcih install
++ $(MAKE) -C bcih install
+
+ install-strip: install
+
+@@ -78,12 +79,12 @@
+ $(INSTALL_DATA) $(sharesrc)/functions/gretlfunc.dtd $(gretldir)/functions
+
+ install_man: gretl.1
+- $(tooldir)/mkinstalldirs $(prefix)/share/man/man1
+- $(INSTALL_DATA) $(topsrc)/gretl.1 $(prefix)/share/man/man1
++ $(tooldir)/mkinstalldirs $(prefix)/man/man1
++ $(INSTALL_DATA) $(topsrc)/gretl.1 $(prefix)/man/man1
+
+ install_help: $(AUTO_HELPFILES)
+ $(tooldir)/mkinstalldirs $(gretldir)
+- $(tooldir)/mkinstalldirs $(gretldir)/doc
++# $(tooldir)/mkinstalldirs $(gretldir)/doc
+ $(tooldir)/mkinstalldirs $(gretldir)/helpfigs
+ $(INSTALL_DATA) $(EN_GUI_HLP) $(gretldir)/gretlgui.hlp
+ $(INSTALL_DATA) $(EN_CMD_HLP) $(gretldir)/gretlcmd.hlp
+@@ -96,8 +97,8 @@
+ $(INSTALL_DATA) $(IT_CLI_HLP) $(gretldir)/gretlcli.hlp.it
+ for f in $(sharesrc)/texfigs/*.png ; do \
+ $(INSTALL_DATA) $$f $(gretldir)/helpfigs ; done
+- for f in $(pdfdir)/gretl-ref.pdf $(pdfdir)/gretl-guide.pdf ; do \
+- if test -f $$f ; then $(INSTALL_DATA) $$f $(gretldir)/doc ; fi ; done
++# for f in $(pdfdir)/gretl-ref.pdf $(pdfdir)/gretl-guide.pdf ; do \
++# if test -f $$f ; then $(INSTALL_DATA) $$f $(gretldir)/doc ; fi ; done
+
+ install_fonts:
+ for f in $(sharesrc)/fonts/*.ttf ; do \
diff --git a/math/gretl/files/patch-share::bcih::Makefile.in b/math/gretl/files/patch-share::bcih::Makefile.in
new file mode 100644
index 000000000..0be68fd9f
--- /dev/null
+++ b/math/gretl/files/patch-share::bcih::Makefile.in
@@ -0,0 +1,14 @@
+--- share/bcih/Makefile.in.orig Sat Apr 26 04:32:37 2003
++++ share/bcih/Makefile.in Sun May 4 03:16:24 2003
+@@ -4,7 +4,10 @@
+ INSTALL_DATA = cp -fp
+
+ prefix = @prefix@
+-gretldir = $(prefix)/share/gretl
++datadir = @datadir@
++gretldir = $(datadir)/gretl
++INSTALL_DATA = @INSTALL_DATA@
++
+ VPATH = $(topsrc)/share/bcih
+
+ bcih.bin: mkbin bcih.dat
diff --git a/math/gretl/pkg-descr b/math/gretl/pkg-descr
new file mode 100644
index 000000000..b0fbe9f62
--- /dev/null
+++ b/math/gretl/pkg-descr
@@ -0,0 +1,22 @@
+Gnu Regression, Econometrics and Time-series Library
+
+Features
+ - A wide variety of least-squares based estimators (including two-stage
+ least squares).
+ - Easy intuitive interface.
+ - Single commands to launch things like augmented Dickey-Fuller test, Chow
+ test for structural stability, Vector Autoregression.
+ - Reads own format ascii data files, Comma Separated Values files, BOX1
+ files, own format binary databases (allowing mixed data frequencies and
+ series lengths) and RATS 4 databases. Includes a US macro database and a
+ perl script to create a database off economagic.com. See also the gretl
+ data page.
+ - Output models as LaTeX files, in tabular or equation format (not very
+ flexible yet).
+ - Integrated scripting language: enter commands either via the gui or via
+ script.
+ - Command loop structure for Monte Carlo simulations.
+ - GUI controller for fine-tuning Gnuplot graphs.
+ - Link to GNU R for further data analysis.
+
+WWW: http://gretl.sourceforge.net/
diff --git a/math/gretl/pkg-plist b/math/gretl/pkg-plist
new file mode 100644
index 000000000..13a230f9e
--- /dev/null
+++ b/math/gretl/pkg-plist
@@ -0,0 +1,509 @@
+bin/gretl
+bin/gretl_x11
+bin/gretlcli
+include/gretl/adf_kpss.h
+include/gretl/bhhh_max.h
+include/gretl/bootstrap.h
+include/gretl/calendar.h
+include/gretl/compare.h
+include/gretl/compat.h
+include/gretl/dataio.h
+include/gretl/dataset.h
+include/gretl/dbread.h
+include/gretl/describe.h
+include/gretl/discrete.h
+include/gretl/estimate.h
+include/gretl/forecast.h
+include/gretl/genfuncs.h
+include/gretl/genmain.h
+include/gretl/graphing.h
+include/gretl/gretl_commands.h
+include/gretl/gretl_errors.h
+include/gretl/gretl_fft.h
+include/gretl/gretl_func.h
+include/gretl/gretl_intl.h
+include/gretl/gretl_list.h
+include/gretl/gretl_matrix.h
+include/gretl/gretl_model.h
+include/gretl/gretl_panel.h
+include/gretl/gretl_paths.h
+include/gretl/gretl_prn.h
+include/gretl/gretl_restrict.h
+include/gretl/gretl_string_table.h
+include/gretl/gretl_utils.h
+include/gretl/gretl_win32.h
+include/gretl/gretl_www.h
+include/gretl/gretl_xml.h
+include/gretl/interact.h
+include/gretl/kalman.h
+include/gretl/libgretl.h
+include/gretl/libset.h
+include/gretl/matrix_extra.h
+include/gretl/missing.h
+include/gretl/modelprint.h
+include/gretl/modelspec.h
+include/gretl/monte_carlo.h
+include/gretl/nls.h
+include/gretl/nonparam.h
+include/gretl/objstack.h
+include/gretl/options.h
+include/gretl/plotspec.h
+include/gretl/plugins.h
+include/gretl/printout.h
+include/gretl/pvalues.h
+include/gretl/qr_estimate.h
+include/gretl/random.h
+include/gretl/strutils.h
+include/gretl/subsample.h
+include/gretl/system.h
+include/gretl/texprint.h
+include/gretl/transforms.h
+include/gretl/tsls.h
+include/gretl/usermat.h
+include/gretl/var.h
+include/gretl/varprint.h
+lib/gretl-gtk2/arbond.a
+lib/gretl-gtk2/arbond.la
+lib/gretl-gtk2/arbond.so
+lib/gretl-gtk2/arma.a
+lib/gretl-gtk2/arma.la
+lib/gretl-gtk2/arma.so
+lib/gretl-gtk2/arma_x12.a
+lib/gretl-gtk2/arma_x12.la
+lib/gretl-gtk2/arma_x12.so
+lib/gretl-gtk2/data/urcdata.gz
+lib/gretl-gtk2/eviews_import.a
+lib/gretl-gtk2/eviews_import.la
+lib/gretl-gtk2/eviews_import.so
+lib/gretl-gtk2/excel_import.a
+lib/gretl-gtk2/excel_import.la
+lib/gretl-gtk2/excel_import.so
+lib/gretl-gtk2/fractals.a
+lib/gretl-gtk2/fractals.la
+lib/gretl-gtk2/fractals.so
+lib/gretl-gtk2/garch.a
+lib/gretl-gtk2/garch.la
+lib/gretl-gtk2/garch.so
+lib/gretl-gtk2/gnumeric_import.a
+lib/gretl-gtk2/gnumeric_import.la
+lib/gretl-gtk2/gnumeric_import.so
+lib/gretl-gtk2/gretlzip.a
+lib/gretl-gtk2/gretlzip.la
+lib/gretl-gtk2/gretlzip.so
+lib/gretl-gtk2/jmulti_import.a
+lib/gretl-gtk2/jmulti_import.la
+lib/gretl-gtk2/jmulti_import.so
+lib/gretl-gtk2/johansen.a
+lib/gretl-gtk2/johansen.la
+lib/gretl-gtk2/johansen.so
+lib/gretl-gtk2/kernel.a
+lib/gretl-gtk2/kernel.la
+lib/gretl-gtk2/kernel.so
+lib/gretl-gtk2/lad.a
+lib/gretl-gtk2/lad.la
+lib/gretl-gtk2/lad.so
+lib/gretl-gtk2/leverage.a
+lib/gretl-gtk2/leverage.la
+lib/gretl-gtk2/leverage.so
+lib/gretl-gtk2/mailer.a
+lib/gretl-gtk2/mailer.la
+lib/gretl-gtk2/mailer.so
+lib/gretl-gtk2/mp_ols.a
+lib/gretl-gtk2/mp_ols.la
+lib/gretl-gtk2/mp_ols.so
+lib/gretl-gtk2/nistcheck.a
+lib/gretl-gtk2/nistcheck.la
+lib/gretl-gtk2/nistcheck.so
+lib/gretl-gtk2/oprobit.a
+lib/gretl-gtk2/oprobit.la
+lib/gretl-gtk2/oprobit.so
+lib/gretl-gtk2/pca.a
+lib/gretl-gtk2/pca.la
+lib/gretl-gtk2/pca.so
+lib/gretl-gtk2/poisson.a
+lib/gretl-gtk2/poisson.la
+lib/gretl-gtk2/poisson.so
+lib/gretl-gtk2/progress_bar.a
+lib/gretl-gtk2/progress_bar.la
+lib/gretl-gtk2/progress_bar.so
+lib/gretl-gtk2/range-mean.a
+lib/gretl-gtk2/range-mean.la
+lib/gretl-gtk2/range-mean.so
+lib/gretl-gtk2/stata_import.a
+lib/gretl-gtk2/stata_import.la
+lib/gretl-gtk2/stata_import.so
+lib/gretl-gtk2/stats_tables.a
+lib/gretl-gtk2/stats_tables.la
+lib/gretl-gtk2/stats_tables.so
+lib/gretl-gtk2/sysest.a
+lib/gretl-gtk2/sysest.la
+lib/gretl-gtk2/sysest.so
+lib/gretl-gtk2/tobit.a
+lib/gretl-gtk2/tobit.la
+lib/gretl-gtk2/tobit.so
+lib/gretl-gtk2/tramo-x12a.a
+lib/gretl-gtk2/tramo-x12a.la
+lib/gretl-gtk2/tramo-x12a.so
+lib/gretl-gtk2/urcdist.a
+lib/gretl-gtk2/urcdist.la
+lib/gretl-gtk2/urcdist.so
+lib/gretl-gtk2/vif.a
+lib/gretl-gtk2/vif.la
+lib/gretl-gtk2/vif.so
+lib/libgretl-1.0.a
+lib/libgretl-1.0.la
+lib/libgretl-1.0.so
+lib/libgretl-1.0.so.0
+libdata/pkgconfig/gretl.pc
+%%GNOME:%%share/applications/gretl.desktop
+%%DATADIR%%/COPYING
+%%DATADIR%%/data/data10-1.gdt
+%%DATADIR%%/data/data10-2.gdt
+%%DATADIR%%/data/data10-3.gdt
+%%DATADIR%%/data/data10-4.gdt
+%%DATADIR%%/data/data10-5.gdt
+%%DATADIR%%/data/data10-6.gdt
+%%DATADIR%%/data/data10-7.gdt
+%%DATADIR%%/data/data10-8.gdt
+%%DATADIR%%/data/data11-1.gdt
+%%DATADIR%%/data/data12-1.gdt
+%%DATADIR%%/data/data13-1.gdt
+%%DATADIR%%/data/data2-1.gdt
+%%DATADIR%%/data/data2-2.gdt
+%%DATADIR%%/data/data2-3.gdt
+%%DATADIR%%/data/data3-1.gdt
+%%DATADIR%%/data/data3-10.gdt
+%%DATADIR%%/data/data3-11.gdt
+%%DATADIR%%/data/data3-12.gdt
+%%DATADIR%%/data/data3-13.gdt
+%%DATADIR%%/data/data3-14.gdt
+%%DATADIR%%/data/data3-15.gdt
+%%DATADIR%%/data/data3-2.gdt
+%%DATADIR%%/data/data3-3.gdt
+%%DATADIR%%/data/data3-4.gdt
+%%DATADIR%%/data/data3-5.gdt
+%%DATADIR%%/data/data3-6.gdt
+%%DATADIR%%/data/data3-7.gdt
+%%DATADIR%%/data/data3-8.gdt
+%%DATADIR%%/data/data3-9.gdt
+%%DATADIR%%/data/data4-1.gdt
+%%DATADIR%%/data/data4-10.gdt
+%%DATADIR%%/data/data4-11.gdt
+%%DATADIR%%/data/data4-12.gdt
+%%DATADIR%%/data/data4-13.gdt
+%%DATADIR%%/data/data4-14.gdt
+%%DATADIR%%/data/data4-15.gdt
+%%DATADIR%%/data/data4-16.gdt
+%%DATADIR%%/data/data4-17.gdt
+%%DATADIR%%/data/data4-2.gdt
+%%DATADIR%%/data/data4-3.gdt
+%%DATADIR%%/data/data4-3a.gdt
+%%DATADIR%%/data/data4-4.gdt
+%%DATADIR%%/data/data4-5.gdt
+%%DATADIR%%/data/data4-6.gdt
+%%DATADIR%%/data/data4-7.gdt
+%%DATADIR%%/data/data4-8.gdt
+%%DATADIR%%/data/data4-9.gdt
+%%DATADIR%%/data/data6-1.gdt
+%%DATADIR%%/data/data6-2.gdt
+%%DATADIR%%/data/data6-3.gdt
+%%DATADIR%%/data/data6-4.gdt
+%%DATADIR%%/data/data6-5.gdt
+%%DATADIR%%/data/data6-6.gdt
+%%DATADIR%%/data/data7-1.gdt
+%%DATADIR%%/data/data7-10.gdt
+%%DATADIR%%/data/data7-11.gdt
+%%DATADIR%%/data/data7-12.gdt
+%%DATADIR%%/data/data7-13.gdt
+%%DATADIR%%/data/data7-14.gdt
+%%DATADIR%%/data/data7-15.gdt
+%%DATADIR%%/data/data7-16.gdt
+%%DATADIR%%/data/data7-17.gdt
+%%DATADIR%%/data/data7-18.gdt
+%%DATADIR%%/data/data7-19.gdt
+%%DATADIR%%/data/data7-2.gdt
+%%DATADIR%%/data/data7-20.gdt
+%%DATADIR%%/data/data7-21.gdt
+%%DATADIR%%/data/data7-22.gdt
+%%DATADIR%%/data/data7-23.gdt
+%%DATADIR%%/data/data7-24.gdt
+%%DATADIR%%/data/data7-26.gdt
+%%DATADIR%%/data/data7-3.gdt
+%%DATADIR%%/data/data7-4.gdt
+%%DATADIR%%/data/data7-5.gdt
+%%DATADIR%%/data/data7-6.gdt
+%%DATADIR%%/data/data7-7.gdt
+%%DATADIR%%/data/data7-8.gdt
+%%DATADIR%%/data/data7-9.gdt
+%%DATADIR%%/data/data8-1.gdt
+%%DATADIR%%/data/data8-2.gdt
+%%DATADIR%%/data/data8-3.gdt
+%%DATADIR%%/data/data9-1.gdt
+%%DATADIR%%/data/data9-10.gdt
+%%DATADIR%%/data/data9-11.gdt
+%%DATADIR%%/data/data9-12.gdt
+%%DATADIR%%/data/data9-13.gdt
+%%DATADIR%%/data/data9-2.gdt
+%%DATADIR%%/data/data9-3.gdt
+%%DATADIR%%/data/data9-4.gdt
+%%DATADIR%%/data/data9-5.gdt
+%%DATADIR%%/data/data9-6.gdt
+%%DATADIR%%/data/data9-7.gdt
+%%DATADIR%%/data/data9-8.gdt
+%%DATADIR%%/data/data9-9.gdt
+%%DATADIR%%/data/descriptions
+%%DATADIR%%/data/greene/greene10_3.gdt
+%%DATADIR%%/data/greene/greene11_3.gdt
+%%DATADIR%%/data/greene/greene12_1.gdt
+%%DATADIR%%/data/greene/greene13_1.gdt
+%%DATADIR%%/data/greene/greene14_1.gdt
+%%DATADIR%%/data/greene/greene18_1.gdt
+%%DATADIR%%/data/greene/greene18_2.gdt
+%%DATADIR%%/data/greene/greene19_1.gdt
+%%DATADIR%%/data/greene/greene22_2.gdt
+%%DATADIR%%/data/greene/greene5_1.gdt
+%%DATADIR%%/data/greene/greene7_8.gdt
+%%DATADIR%%/data/greene/greene8_3.gdt
+%%DATADIR%%/data/greene/greene9_1.gdt
+%%DATADIR%%/data/greene/wg_descriptions
+%%DATADIR%%/data/gretldata.dtd
+%%DATADIR%%/data/misc/abdata.gdt
+%%DATADIR%%/data/misc/anscombe.gdt
+%%DATADIR%%/data/misc/arma.gdt
+%%DATADIR%%/data/misc/b-g.gdt
+%%DATADIR%%/data/misc/bjg.gdt
+%%DATADIR%%/data/misc/denmark.gdt
+%%DATADIR%%/data/misc/descriptions
+%%DATADIR%%/data/misc/djclose.gdt
+%%DATADIR%%/data/misc/ects_nls.gdt
+%%DATADIR%%/data/misc/hall.gdt
+%%DATADIR%%/data/misc/hamilton.gdt
+%%DATADIR%%/data/misc/hendry_jae.gdt
+%%DATADIR%%/data/misc/jgm-data.gdt
+%%DATADIR%%/data/misc/keane.gdt
+%%DATADIR%%/data/misc/kennan.gdt
+%%DATADIR%%/data/misc/klein.gdt
+%%DATADIR%%/data/misc/kmenta.gdt
+%%DATADIR%%/data/misc/leverage.gdt
+%%DATADIR%%/data/misc/longley.gdt
+%%DATADIR%%/data/misc/mccullagh.gdt
+%%DATADIR%%/data/misc/mroz.gdt
+%%DATADIR%%/data/misc/mrw.gdt
+%%DATADIR%%/data/misc/np.gdt
+%%DATADIR%%/data/misc/nysewk.gdt
+%%DATADIR%%/data/misc/penngrow.gdt
+%%DATADIR%%/data/misc/pension.gdt
+%%DATADIR%%/data/misc/poisson.gdt
+%%DATADIR%%/data/misc/rac3d.gdt
+%%DATADIR%%/data/misc/sw_ch12.gdt
+%%DATADIR%%/data/misc/sw_ch14.gdt
+%%DATADIR%%/data/nist/Filip.dat
+%%DATADIR%%/data/nist/Longley.dat
+%%DATADIR%%/data/nist/NoInt1.dat
+%%DATADIR%%/data/nist/NoInt2.dat
+%%DATADIR%%/data/nist/Norris.dat
+%%DATADIR%%/data/nist/Pontius.dat
+%%DATADIR%%/data/nist/Wampler1.dat
+%%DATADIR%%/data/nist/Wampler2.dat
+%%DATADIR%%/data/nist/Wampler3.dat
+%%DATADIR%%/data/nist/Wampler4.dat
+%%DATADIR%%/data/nist/Wampler5.dat
+%%DATADIR%%/db/fedstl.bin
+%%DATADIR%%/db/fedstl.idx
+%%DATADIR%%/fonts/Vera.ttf
+%%DATADIR%%/fonts/luxisr.ttf
+%%DATADIR%%/functions/gretlfunc.dtd
+%%NOGNOME:%%%%DATADIR%%/gtksourceview/gnuplot.lang
+%%NOGNOME:%%%%DATADIR%%/gtksourceview/gretl.lang
+%%DATADIR%%/gretl-logo.xpm
+%%DATADIR%%/gretl.stamp
+%%DATADIR%%/gretlcli.hlp
+%%DATADIR%%/gretlcli.hlp.es
+%%DATADIR%%/gretlcli.hlp.it
+%%DATADIR%%/gretlcmd.hlp
+%%DATADIR%%/gretlcmd.hlp.es
+%%DATADIR%%/gretlcmd.hlp.it
+%%DATADIR%%/gretlgui.hlp
+%%DATADIR%%/gretlgui.hlp.es
+%%DATADIR%%/gretlgui.hlp.it
+%%DATADIR%%/helpfigs/adf1.png
+%%DATADIR%%/helpfigs/aic.png
+%%DATADIR%%/helpfigs/arlags.png
+%%DATADIR%%/helpfigs/autocorr.png
+%%DATADIR%%/helpfigs/bic_orig.png
+%%DATADIR%%/helpfigs/cumulate.png
+%%DATADIR%%/helpfigs/dffit.png
+%%DATADIR%%/helpfigs/ell.png
+%%DATADIR%%/helpfigs/garch_h.png
+%%DATADIR%%/helpfigs/greene_Cfunc.png
+%%DATADIR%%/helpfigs/hsk.png
+%%DATADIR%%/helpfigs/hurst.png
+%%DATADIR%%/helpfigs/influence.png
+%%DATADIR%%/helpfigs/kernel1.png
+%%DATADIR%%/helpfigs/kernel2.png
+%%DATADIR%%/helpfigs/lambda.png
+%%DATADIR%%/helpfigs/logistic1.png
+%%DATADIR%%/helpfigs/logistic2.png
+%%DATADIR%%/helpfigs/mahal.png
+%%DATADIR%%/helpfigs/mahal2.png
+%%DATADIR%%/helpfigs/nw1.png
+%%DATADIR%%/helpfigs/nw2.png
+%%DATADIR%%/helpfigs/poisson1.png
+%%DATADIR%%/helpfigs/poisson2.png
+%%DATADIR%%/helpfigs/simformula.png
+%%DATADIR%%/helpfigs/syssigma1.png
+%%DATADIR%%/helpfigs/syssigma2.png
+%%DATADIR%%/helpfigs/vif.png
+%%DATADIR%%/helpfigs/wlsr2.png
+%%DATADIR%%/scripts/greene11_3.inp
+%%DATADIR%%/scripts/greene12_1.inp
+%%DATADIR%%/scripts/greene14_1.inp
+%%DATADIR%%/scripts/greene14_2.inp
+%%DATADIR%%/scripts/greene15_3.inp
+%%DATADIR%%/scripts/greene18_6.inp
+%%DATADIR%%/scripts/greene19_1.inp
+%%DATADIR%%/scripts/greene19_3.inp
+%%DATADIR%%/scripts/greene22_2.inp
+%%DATADIR%%/scripts/greene7_8.inp
+%%DATADIR%%/scripts/greene8_3.inp
+%%DATADIR%%/scripts/greene9_1.inp
+%%DATADIR%%/scripts/greene9_3.inp
+%%DATADIR%%/scripts/misc/arbond91.inp
+%%DATADIR%%/scripts/misc/armaloop.inp
+%%DATADIR%%/scripts/misc/bjg.inp
+%%DATADIR%%/scripts/misc/camtriv.inp
+%%DATADIR%%/scripts/misc/convolve.inp
+%%DATADIR%%/scripts/misc/denmark.inp
+%%DATADIR%%/scripts/misc/ects_nls.inp
+%%DATADIR%%/scripts/misc/garch.inp
+%%DATADIR%%/scripts/misc/hall_cbapm.inp
+%%DATADIR%%/scripts/misc/hamilton.inp
+%%DATADIR%%/scripts/misc/jgm-1996.inp
+%%DATADIR%%/scripts/misc/keane.inp
+%%DATADIR%%/scripts/misc/klein.inp
+%%DATADIR%%/scripts/misc/kmenta.inp
+%%DATADIR%%/scripts/misc/leverage.inp
+%%DATADIR%%/scripts/misc/longley.inp
+%%DATADIR%%/scripts/misc/mrw.inp
+%%DATADIR%%/scripts/misc/oprobit.inp
+%%DATADIR%%/scripts/misc/penngrow.inp
+%%DATADIR%%/scripts/misc/perron97.inp
+%%DATADIR%%/scripts/misc/ps_descriptions
+%%DATADIR%%/scripts/misc/restrict.inp
+%%DATADIR%%/scripts/misc/sw_ch12.inp
+%%DATADIR%%/scripts/misc/sw_ch14.inp
+%%DATADIR%%/scripts/misc/weibull.inp
+%%DATADIR%%/scripts/misc/wg_nls.inp
+%%DATADIR%%/scripts/ps10-1.inp
+%%DATADIR%%/scripts/ps10-10.inp
+%%DATADIR%%/scripts/ps10-11.inp
+%%DATADIR%%/scripts/ps10-2.inp
+%%DATADIR%%/scripts/ps10-3.inp
+%%DATADIR%%/scripts/ps10-4.inp
+%%DATADIR%%/scripts/ps10-5a.inp
+%%DATADIR%%/scripts/ps10-5b.inp
+%%DATADIR%%/scripts/ps10-6.inp
+%%DATADIR%%/scripts/ps10-7.inp
+%%DATADIR%%/scripts/ps10-8.inp
+%%DATADIR%%/scripts/ps10-9.inp
+%%DATADIR%%/scripts/ps11-1.inp
+%%DATADIR%%/scripts/ps11-2.inp
+%%DATADIR%%/scripts/ps11-3.inp
+%%DATADIR%%/scripts/ps12-1.inp
+%%DATADIR%%/scripts/ps13-1.inp
+%%DATADIR%%/scripts/ps2-1.inp
+%%DATADIR%%/scripts/ps2-2.inp
+%%DATADIR%%/scripts/ps2-3.inp
+%%DATADIR%%/scripts/ps3-1.inp
+%%DATADIR%%/scripts/ps3-2.inp
+%%DATADIR%%/scripts/ps3-3.inp
+%%DATADIR%%/scripts/ps3-4.inp
+%%DATADIR%%/scripts/ps3-5.inp
+%%DATADIR%%/scripts/ps3-6.inp
+%%DATADIR%%/scripts/ps4-1.inp
+%%DATADIR%%/scripts/ps4-2.inp
+%%DATADIR%%/scripts/ps4-3.inp
+%%DATADIR%%/scripts/ps4-4.inp
+%%DATADIR%%/scripts/ps4-5.inp
+%%DATADIR%%/scripts/ps5-1.inp
+%%DATADIR%%/scripts/ps5-2.inp
+%%DATADIR%%/scripts/ps5-3.inp
+%%DATADIR%%/scripts/ps5-4.inp
+%%DATADIR%%/scripts/ps5-5.inp
+%%DATADIR%%/scripts/ps6-1.inp
+%%DATADIR%%/scripts/ps6-10.inp
+%%DATADIR%%/scripts/ps6-11.inp
+%%DATADIR%%/scripts/ps6-12.inp
+%%DATADIR%%/scripts/ps6-2.inp
+%%DATADIR%%/scripts/ps6-3.inp
+%%DATADIR%%/scripts/ps6-4.inp
+%%DATADIR%%/scripts/ps6-5.inp
+%%DATADIR%%/scripts/ps6-6.inp
+%%DATADIR%%/scripts/ps6-7.inp
+%%DATADIR%%/scripts/ps6-8.inp
+%%DATADIR%%/scripts/ps6-9.inp
+%%DATADIR%%/scripts/ps7-1.inp
+%%DATADIR%%/scripts/ps7-2.inp
+%%DATADIR%%/scripts/ps7-3.inp
+%%DATADIR%%/scripts/ps7-4.inp
+%%DATADIR%%/scripts/ps7-5.inp
+%%DATADIR%%/scripts/ps7-6.inp
+%%DATADIR%%/scripts/ps7-7.inp
+%%DATADIR%%/scripts/ps8-1.inp
+%%DATADIR%%/scripts/ps8-2.inp
+%%DATADIR%%/scripts/ps8-3.inp
+%%DATADIR%%/scripts/ps8-4.inp
+%%DATADIR%%/scripts/ps8-5.inp
+%%DATADIR%%/scripts/ps8-6.inp
+%%DATADIR%%/scripts/ps8-7.inp
+%%DATADIR%%/scripts/ps8-8.inp
+%%DATADIR%%/scripts/ps9-1.inp
+%%DATADIR%%/scripts/ps9-10.inp
+%%DATADIR%%/scripts/ps9-2.inp
+%%DATADIR%%/scripts/ps9-3.inp
+%%DATADIR%%/scripts/ps9-4.inp
+%%DATADIR%%/scripts/ps9-5.inp
+%%DATADIR%%/scripts/ps9-6.inp
+%%DATADIR%%/scripts/ps9-7.inp
+%%DATADIR%%/scripts/ps9-8.inp
+%%DATADIR%%/scripts/ps9-9.inp
+%%DATADIR%%/scripts/ps_descriptions
+%%DATADIR%%/scripts/testinp
+%%DATADIR%%/scripts/wg_ps_descriptions
+%%GNOME:%%share/gtksourceview-1.0/language-specs/gnuplot.lang
+%%GNOME:%%share/gtksourceview-1.0/language-specs/gretl.lang
+%%GNOME:%%share/mime-info/gretl.keys
+%%GNOME:%%share/mime-info/gretl.mime
+%%GNOME:%%share/pixmaps/gnome-application-x-gretldata.png
+%%GNOME:%%share/pixmaps/gnome-application-x-gretlsession.png
+%%GNOME:%%share/pixmaps/gretl-logo.xpm
+%%GNOME:%%share/pixmaps/gretl.xpm
+share/locale/de/LC_MESSAGES/gretl.mo
+share/locale/es/LC_MESSAGES/gretl.mo
+share/locale/eu/LC_MESSAGES/gretl.mo
+share/locale/fr/LC_MESSAGES/gretl.mo
+share/locale/it/LC_MESSAGES/gretl.mo
+share/locale/ja/LC_MESSAGES/gretl.mo
+share/locale/pl/LC_MESSAGES/gretl.mo
+share/locale/pt/LC_MESSAGES/gretl.mo
+share/locale/pt_BR/LC_MESSAGES/gretl.mo
+share/locale/rw/LC_MESSAGES/gretl.mo
+share/locale/tr/LC_MESSAGES/gretl.mo
+@dirrm %%DATADIR%%/scripts/misc
+@dirrm %%DATADIR%%/scripts
+@dirrm %%DATADIR%%/helpfigs
+%%NOGNOME:%%@dirrm %%DATADIR%%/gtksourceview
+@dirrm %%DATADIR%%/functions
+@dirrm %%DATADIR%%/fonts
+@dirrm %%DATADIR%%/db
+@dirrm %%DATADIR%%/data/nist
+@dirrm %%DATADIR%%/data/misc
+@dirrm %%DATADIR%%/data/greene
+@dirrm %%DATADIR%%/data
+@dirrm %%DATADIR%%
+%%GNOME:%%@dirrmtry share/gnome
+@dirrm lib/gretl-gtk2/data
+@dirrm lib/gretl-gtk2
+@dirrm include/gretl
+@dirrmtry share/locale/rw/LC_MESSAGES
+@dirrmtry share/locale/rw