diff options
| author | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2025-03-24 00:51:44 +0000 |
|---|---|---|
| committer | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2025-03-24 00:51:44 +0000 |
| commit | b7cebbf64137b06e77a9802394ac62933aba5e24 (patch) | |
| tree | 80a7e1e370da367a647927038415b4a8141cbad7 | |
| parent | 0bf6945c85260bc11cadd562e1f472a052feaa1d (diff) | |
math/octave-forge-piqp: New port
- PIQP is a Proximal Interior Point Quadratic Programming solver, which
can solve dense and sparse quadratic programs.
| -rw-r--r-- | math/Makefile | 1 | ||||
| -rw-r--r-- | math/octave-forge-piqp/Makefile | 26 | ||||
| -rw-r--r-- | math/octave-forge-piqp/distinfo | 3 | ||||
| -rw-r--r-- | math/octave-forge-piqp/pkg-descr | 9 |
4 files changed, 39 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index d5026e994f55..1268670ca1ce 100644 --- a/math/Makefile +++ b/math/Makefile @@ -637,6 +637,7 @@ SUBDIR += octave-forge-outliers SUBDIR += octave-forge-parallel SUBDIR += octave-forge-pde1dm + SUBDIR += octave-forge-piqp SUBDIR += octave-forge-pkg-octave-doc SUBDIR += octave-forge-plot SUBDIR += octave-forge-ponchon-savarit diff --git a/math/octave-forge-piqp/Makefile b/math/octave-forge-piqp/Makefile new file mode 100644 index 000000000000..34de4b8d3eae --- /dev/null +++ b/math/octave-forge-piqp/Makefile @@ -0,0 +1,26 @@ +PORTNAME= octave-forge-piqp +PORTVERSION= 0.5.0 +CATEGORIES= math +MASTER_SITES= https://github.com/PREDICT-EPFL/piqp/releases/download/v0.5.0/ +DISTNAME= piqp-octave + +MAINTAINER= stephen@FreeBSD.org +COMMENT= Octave-forge package ${OCTAVE_PKGNAME} +WWW= https://packages.octave.org/ + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= octave + +OCTAVE_SRC= ${DISTNAME} +WRKSRC= ${WRKDIR}/${OCTAVE_SRC} + +do-build: + cd ${WRKSRC}; \ + octave-cli -W -H -q --no-site-file --eval make_piqp + ${RM} ${WRKSRC}/src/piqp/interfaces/octave/package/DESCRIPTION + ${RM} ${WRKSRC}/pre_install.m + ${MV} ${WRKSRC}/piqp_oct.oct ${WRKSRC}/inst/. + +.include <bsd.port.mk> diff --git a/math/octave-forge-piqp/distinfo b/math/octave-forge-piqp/distinfo new file mode 100644 index 000000000000..6e4684ce5428 --- /dev/null +++ b/math/octave-forge-piqp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1742773717 +SHA256 (octave-forge/piqp-octave.tar.gz) = 49a9bf3c7c242b7fd7293f5fe234ed321595822ce3fc4189d794c122e07fe88b +SIZE (octave-forge/piqp-octave.tar.gz) = 3447606 diff --git a/math/octave-forge-piqp/pkg-descr b/math/octave-forge-piqp/pkg-descr new file mode 100644 index 000000000000..f2f1657df940 --- /dev/null +++ b/math/octave-forge-piqp/pkg-descr @@ -0,0 +1,9 @@ +The octave-forge package is the result of The GNU Octave Repository 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 piqp. + + PIQP is a Proximal Interior Point Quadratic Programming solver, which can +solve dense and sparse quadratic programs. |
