git: a38bafff729a - main - math/octave-forge-statistics-bootstrap: new port.

From: Stephen Montgomery-Smith <stephen_at_FreeBSD.org>
Date: Tue, 25 Oct 2022 05:21:04 UTC
The branch main has been updated by stephen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a38bafff729a052d880bc999f91d58bc9b3218b3

commit a38bafff729a052d880bc999f91d58bc9b3218b3
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2022-10-25 05:20:09 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2022-10-25 05:20:09 +0000

    math/octave-forge-statistics-bootstrap: new port.
    
    Estimate bias, uncertainty (standard errors and confidence intervals)
    and test hypotheses (p-values) using bootstrap resampling methods.
---
 math/Makefile                                    |  1 +
 math/octave-forge-statistics-bootstrap/Makefile  | 32 ++++++++++++++++++++++++
 math/octave-forge-statistics-bootstrap/distinfo  |  3 +++
 math/octave-forge-statistics-bootstrap/pkg-descr |  9 +++++++
 4 files changed, 45 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index b96cea6c62cd..07a5660092ba 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -601,6 +601,7 @@
     SUBDIR += octave-forge-special-matrix
     SUBDIR += octave-forge-splines
     SUBDIR += octave-forge-statistics
+    SUBDIR += octave-forge-statistics-bootstrap
     SUBDIR += octave-forge-stk
     SUBDIR += octave-forge-strings
     SUBDIR += octave-forge-struct
diff --git a/math/octave-forge-statistics-bootstrap/Makefile b/math/octave-forge-statistics-bootstrap/Makefile
new file mode 100644
index 000000000000..67e01e92e3ce
--- /dev/null
+++ b/math/octave-forge-statistics-bootstrap/Makefile
@@ -0,0 +1,32 @@
+PORTNAME=	octave-forge-statistics-bootstrap
+DISTVERSIONPREFIX=	v
+DISTVERSION=	5.0.2
+CATEGORIES=	math
+
+MAINTAINER=	stephen@FreeBSD.org
+COMMENT=	Octave-forge package ${OCTAVE_PKGNAME}
+WWW=		http://octave.sourceforge.net/
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKDIR}/${OCTSRC}/COPYING
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	gnu-octave
+GH_PROJECT=	statistics-bootstrap
+
+# OCTSRC is the name of the directory of the package.
+# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
+OCTSRC=		${GH_PROJECT}-${DISTVERSION}
+
+WRKSRC=		${WRKDIR}/${OCTSRC}/src
+ALL_TARGET=	make
+
+RUN_DEPENDS+=	${TARBALLS_DIR}/statistics.tar.gz:math/octave-forge-statistics
+
+.include "${.CURDIR}/../../Mk/bsd.octave.mk"
+
+post-build:
+	${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure
+	cd ${WRKDIR} && ${TAR} cfz ${OCTAVE_DISTNAME}.tar.gz ${OCTSRC}
+
+.include <bsd.port.mk>
diff --git a/math/octave-forge-statistics-bootstrap/distinfo b/math/octave-forge-statistics-bootstrap/distinfo
new file mode 100644
index 000000000000..c2768131397a
--- /dev/null
+++ b/math/octave-forge-statistics-bootstrap/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1666673900
+SHA256 (octave-forge/gnu-octave-statistics-bootstrap-v5.0.2_GH0.tar.gz) = a08a880012e3bab62a5bb083e6096ee28cc1c91f4507b92d153200553bf9c176
+SIZE (octave-forge/gnu-octave-statistics-bootstrap-v5.0.2_GH0.tar.gz) = 986681
diff --git a/math/octave-forge-statistics-bootstrap/pkg-descr b/math/octave-forge-statistics-bootstrap/pkg-descr
new file mode 100644
index 000000000000..cadaa3d2687c
--- /dev/null
+++ b/math/octave-forge-statistics-bootstrap/pkg-descr
@@ -0,0 +1,9 @@
+The octave-forge package is the result of The GNU Octave Repositry project,
+which is intended to be a central location for custom scripts, functions and
+extensions for GNU Octave. contains the source for all the functions plus
+build and install scripts.
+
+This is statistics-bootstrap.
+
+ Estimate bias, uncertainty (standard errors and confidence intervals) and
+test hypotheses (p-values) using bootstrap resampling methods.