Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2021 23:52:22 GMT
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 53e162ef0d8b - main - math/mdal: Add new port
Message-ID:  <202107302352.16UNqMmn010786@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by wen:

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

commit 53e162ef0d8bfc968ade9840980d2a573c8c879a
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2021-07-30 23:48:48 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2021-07-30 23:48:48 +0000

    math/mdal: Add new port
    
    Mesh Data Abstraction Library (MDAL) is a C++ library for handling unstructured
    mesh data released with MIT license. It provides a single data model for
    multiple supported data formats. MDAL is used by QGIS for data access for mesh
    layers.
    
    WWW: http://www.mdal.xyz/
---
 math/Makefile       |  1 +
 math/mdal/Makefile  | 32 ++++++++++++++++++++++++++++++++
 math/mdal/distinfo  |  3 +++
 math/mdal/pkg-descr |  6 ++++++
 4 files changed, 42 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 372f33b523a2..a471c4a52c00 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -430,6 +430,7 @@
     SUBDIR += maxima
     SUBDIR += mbasecalc
     SUBDIR += mcsim
+    SUBDIR += mdal
     SUBDIR += metis
     SUBDIR += mfem
     SUBDIR += mingw32-libgmp
diff --git a/math/mdal/Makefile b/math/mdal/Makefile
new file mode 100644
index 000000000000..6e7cf15e0b1e
--- /dev/null
+++ b/math/mdal/Makefile
@@ -0,0 +1,32 @@
+# Created by: Wen Heping <wen@FreeBSD.org>
+
+PORTNAME=	mdal
+DISTVERSION=	0.8.1
+CATEGORIES=	math geography
+
+MAINTAINER=	wen@FreeBSD.org
+COMMENT=	Mesh data abstration library
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${LOCALBASE}/include/gtest/gtest.h:devel/googletest
+LIB_DEPENDS=	libpdal_base.so:math/pdal \
+		libnetcdf.so:science/netcdf \
+		libsqlite3.so:databases/sqlite3
+
+USES=		cmake localbase
+USE_LDCONFIG=	yes
+
+PLIST_FILES=	bin/mdal_translate \
+		bin/mdalinfo \
+		include/mdal.h \
+		lib/libmdal.so \
+		lib/libmdal_a.a
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	lutraconsulting
+GH_PROJECT=	MDAL
+GH_TAGNAME=	release-${DISTVERSION}
+
+.include <bsd.port.mk>
diff --git a/math/mdal/distinfo b/math/mdal/distinfo
new file mode 100644
index 000000000000..a6693c517136
--- /dev/null
+++ b/math/mdal/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1627546478
+SHA256 (lutraconsulting-MDAL-0.8.1-release-0.8.1_GH0.tar.gz) = 0051495aff910b05d04efa792925cce377920ee02a03a89fa45529fd96cd2953
+SIZE (lutraconsulting-MDAL-0.8.1-release-0.8.1_GH0.tar.gz) = 52259830
diff --git a/math/mdal/pkg-descr b/math/mdal/pkg-descr
new file mode 100644
index 000000000000..cbe7859f607e
--- /dev/null
+++ b/math/mdal/pkg-descr
@@ -0,0 +1,6 @@
+Mesh Data Abstraction Library (MDAL) is a C++ library for handling unstructured
+mesh data released with MIT license. It provides a single data model for
+multiple supported data formats. MDAL is used by QGIS for data access for mesh
+layers.
+
+WWW: http://www.mdal.xyz/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107302352.16UNqMmn010786>