BSD Ports

math/gretl 2026b FreeBSD

GNU Regression, Econometrics, and Time-series Library

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
907de55ddf
License
GPLv3
Categories
math, finance
Package size
14030.2 KiB, 33798.0 KiB installed

Description

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 scripts.
  • Command loop structure for Monte Carlo simulations.
  • GUI controller for fine-tuning Gnuplot graphs.
  • Link to GNU R for further data analysis.

Install

Binary package:

pkg install gretl

From the ports tree:

cd /usr/ports/math/gretl/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	gretl>0:math/gretl
LIB_DEPENDS=	libgretl-1.0.so:math/gretl

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2026b2026b-2024d_22026b
FreeBSD:14:quarterly2026b2026bn/a2024d_22026b
FreeBSD:15:latest2026b2026bn/a2024d_22024d_2
FreeBSD:15:quarterly2026b2026bn/an/an/a
FreeBSD:16:latest2026b2026bn/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 6

The full lists below include those, and their dependencies in turn.

Build dependencies 186

The first 100 are listed.

Run dependencies 181

The first 100 are listed.

No port depends on this one.

Configuration

Options name: math_gretl

OptionDefaultDescription
ADDONSonBuild gretl addons
ATLASoffUse ATLAS for BLAS and LAPACK
GUIonGraphical user interface and plugins
MPIoffMPI (Message Passing Interface) support
NLSoffNative Language Support
ODBCoffODBC database backend
OPENMPonParallel processing support via OpenMP
RofflibR support
UNZIPonUnZip compression support via libgsf
USES
compiler:c11 fortran gmake gnome localbase libtool ncurses pathfix pkgconfig readline shebangfix tar:xz
Service scripts
none

Files

Manual pages 1
  • gretl(1)
pkg-plist 695
  • bin/gretl
  • bin/gretl_x11
  • bin/gretlcli
  • bin/gretlmpi
  • include/gretl/adf_kpss.h
  • include/gretl/bhhh_max.h
  • include/gretl/bootstrap.h
  • include/gretl/boxplots.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_array.h
  • include/gretl/gretl_bfgs.h
  • include/gretl/gretl_btree.h
  • include/gretl/gretl_bundle.h
  • include/gretl/gretl_cmatrix.h
  • include/gretl/gretl_commands.h
  • include/gretl/gretl_data_io.h
  • include/gretl/gretl_drivers.h
  • include/gretl/gretl_errors.h
  • include/gretl/gretl_f2c.h
  • include/gretl/gretl_foreign.h
  • include/gretl/gretl_func.h
  • include/gretl/gretl_intl.h
  • include/gretl/gretl_list.h
  • include/gretl/gretl_matrix.h
  • include/gretl/gretl_mdconv.h
  • include/gretl/gretl_midas.h
  • include/gretl/gretl_model.h
  • include/gretl/gretl_mpi.h
  • include/gretl/gretl_normal.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_typemap.h
  • include/gretl/gretl_untar.h
  • include/gretl/gretl_utils.h
  • include/gretl/gretl_win32.h
  • include/gretl/gretl_www.h
  • include/gretl/gretl_xml.h
  • include/gretl/gretl_zip.h
  • include/gretl/interact.h
  • include/gretl/johansen.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/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/printscan.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/uservar.h
  • include/gretl/var.h
  • include/gretl/varprint.h
  • include/gretl/vartest.h
  • include/gretl/version.h
  • lib/gretl-gtk%%GTK_VER%%/anova.so
  • lib/gretl-gtk%%GTK_VER%%/arma.so
  • lib/gretl-gtk%%GTK_VER%%/arma_x12.so
  • lib/gretl-gtk%%GTK_VER%%/bdstest.so
  • lib/gretl-gtk%%GTK_VER%%/biprobit.so
  • lib/gretl-gtk%%GTK_VER%%/data/dfgls-beta-c.bin
  • lib/gretl-gtk%%GTK_VER%%/data/dfgls-beta-t.bin
  • lib/gretl-gtk%%GTK_VER%%/data/dwdata.gz
  • lib/gretl-gtk%%GTK_VER%%/data/npc.bin
  • lib/gretl-gtk%%GTK_VER%%/data/npt.bin
  • lib/gretl-gtk%%GTK_VER%%/data/pqc.bin
  • lib/gretl-gtk%%GTK_VER%%/data/pqt.bin
  • lib/gretl-gtk%%GTK_VER%%/data/s_alpha.bin
  • lib/gretl-gtk%%GTK_VER%%/data/urcdata.bin
  • lib/gretl-gtk%%GTK_VER%%/dpanel.so

The first 100 are listed.

distinfo 1
FileSizeSHA256
gretl-2026b.tar.xz1.5100344e+07fb57f4922da546067c8be542aafc5a26be77faf2668b40e651ee8c90b702563d
Master sites 1
  • SF/gretl/gretl/${DISTVERSIONFULL}/

Commit history 1

DateCommitCreditsLog message
907de55ddf Robert Clausecker math/gretl: fix build without OpenMP
Remove calls to OpenMP functions when OpenMP is disabled. Disable OpenMP where not available. Remove bogus -lomp link flag. Port now builds fine on armv7. Approved by: portmgr (build fix blanket) MFH: 2026Q3