git: 6ea12069549f - main - math/hsl: New port: COIN-OR autotools harness to build HSL linear solvers

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 23 Feb 2022 17:02:14 UTC
The branch main has been updated by yuri:

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

commit 6ea12069549f56d7cf4e579b9ddbf367493e0858
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-02-23 16:32:20 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-02-23 17:02:06 +0000

    math/hsl: New port: COIN-OR autotools harness to build HSL linear solvers
---
 math/Makefile      |  1 +
 math/hsl/Makefile  | 29 +++++++++++++++++++++++++++++
 math/hsl/distinfo  |  3 +++
 math/hsl/pkg-descr |  5 +++++
 4 files changed, 38 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 3c86fa0af22d..c1419aee8fd7 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -359,6 +359,7 @@
     SUBDIR += hpipm
     SUBDIR += hs-Agda
     SUBDIR += hs-penrose
+    SUBDIR += hsl
     SUBDIR += ideep
     SUBDIR += ignition-math
     SUBDIR += igraph
diff --git a/math/hsl/Makefile b/math/hsl/Makefile
new file mode 100644
index 000000000000..66db71ba67fb
--- /dev/null
+++ b/math/hsl/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	hsl
+DISTVERSIONPREFIX=	releases/
+DISTVERSION=	2.2.1
+CATEGORIES=	math
+PKGNAMEPREFIX=	coin-or-
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	COIN-OR autotools harness to build HSL linear solvers
+
+LICENSE=	EPL
+
+USES=		fortran gmake libtool pkgconfig
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	coin-or-tools
+GH_PROJECT=	ThirdParty-HSL
+
+GNU_CONFIGURE=	yes
+
+INSTALL_TARGET=	install-strip
+
+PLIST_FILES=	include/coin-or/hsl/CoinHslConfig.h \
+		lib/libcoinhsl.so \
+		lib/libcoinhsl.so.7 \
+		lib/libcoinhsl.so.7.2.1 \
+		libdata/pkgconfig/coinhsl.pc
+
+.include <bsd.port.mk>
diff --git a/math/hsl/distinfo b/math/hsl/distinfo
new file mode 100644
index 000000000000..c1d15d1d2ab6
--- /dev/null
+++ b/math/hsl/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1645633609
+SHA256 (coin-or-tools-ThirdParty-HSL-releases-2.2.1_GH0.tar.gz) = b7651a75638b6a3151e4aaf3237f99f98a891afd983fd2ab027c7392afd872ea
+SIZE (coin-or-tools-ThirdParty-HSL-releases-2.2.1_GH0.tar.gz) = 313216
diff --git a/math/hsl/pkg-descr b/math/hsl/pkg-descr
new file mode 100644
index 000000000000..ce9c8c06c6e8
--- /dev/null
+++ b/math/hsl/pkg-descr
@@ -0,0 +1,5 @@
+This is an autotools-based build system to build and install routines
+from the Harwell Subroutine Library (HSL). This installation of HSL
+routines is used by some other COIN-OR projects, in particular Ipopt.
+
+WWW: https://github.com/coin-or-tools/ThirdParty-HSL