aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-01-24 08:31:01 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-01-24 08:33:50 +0000
commite7e2d494e8e89c8b1299437d0acbafec6fb4b65e (patch)
treece19b0cbbcdf7f0d78a6ec1439d658377c0ca539
parent1135b256981d08500a0cc708dc0012c763c7fd7c (diff)
downloadports-e7e2d494e8e89c8b1299437d0acbafec6fb4b65e.tar.gz
ports-e7e2d494e8e89c8b1299437d0acbafec6fb4b65e.zip
devel/libheinz: New port: C++ base library of Heinz Maier-Leibnitz Zentrum
-rw-r--r--devel/Makefile1
-rw-r--r--devel/libheinz/Makefile26
-rw-r--r--devel/libheinz/distinfo3
-rw-r--r--devel/libheinz/files/patch-CMakeLists.txt12
-rw-r--r--devel/libheinz/pkg-descr2
5 files changed, 44 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 8d1d7197a1da..a177c74e25b4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1255,6 +1255,7 @@
SUBDIR += libgudev
SUBDIR += libgusb
SUBDIR += libgutenfetch
+ SUBDIR += libheinz
SUBDIR += libhoard
SUBDIR += libhtp
SUBDIR += libhyve-remote
diff --git a/devel/libheinz/Makefile b/devel/libheinz/Makefile
new file mode 100644
index 000000000000..f65687d54d72
--- /dev/null
+++ b/devel/libheinz/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= libheinz
+DISTVERSION= 0.2.0
+CATEGORIES= devel
+MASTER_SITES= https://jugit.fz-juelich.de/mlz/${PORTNAME}/-/archive/v${DISTVERSION}/
+DISTNAME= ${PORTNAME}-v${DISTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= C++ base library of Heinz Maier-Leibnitz Zentrum
+WWW= https://jugit.fz-juelich.de/mlz/libheinz
+
+LICENSE= MIT
+
+USES= cmake:testing
+
+CMAKE_OFF= BUILD_TESTING
+CMAKE_TESTING_ON= BUILD_TESTING
+
+NO_ARCH= yes
+
+PLIST_FILES= cmake/LibHeinzConfig.cmake \
+ cmake/LibHeinzConfigVersion.cmake \
+ include/heinz/Complex.h \
+ include/heinz/Rotations3D.h \
+ include/heinz/Vectors3D.h
+
+.include <bsd.port.mk>
diff --git a/devel/libheinz/distinfo b/devel/libheinz/distinfo
new file mode 100644
index 000000000000..2c496f70b2cd
--- /dev/null
+++ b/devel/libheinz/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1674545526
+SHA256 (libheinz-v0.2.0.tar.gz) = 895b55c98ee5fbe14e3b990c5393f98c6789ee6b57d35d72f6c75b9d5911e7e0
+SIZE (libheinz-v0.2.0.tar.gz) = 464422
diff --git a/devel/libheinz/files/patch-CMakeLists.txt b/devel/libheinz/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..84a8e57010c1
--- /dev/null
+++ b/devel/libheinz/files/patch-CMakeLists.txt
@@ -0,0 +1,12 @@
+--- CMakeLists.txt.orig 2023-01-24 07:32:58 UTC
++++ CMakeLists.txt
+@@ -35,7 +35,9 @@ endif()
+ include(CTest)
+
+ add_subdirectory(inc)
++if (BUILD_TESTING)
+ add_subdirectory(test)
++endif()
+
+ ## CPack settings.
+
diff --git a/devel/libheinz/pkg-descr b/devel/libheinz/pkg-descr
new file mode 100644
index 000000000000..03d7fd0551ee
--- /dev/null
+++ b/devel/libheinz/pkg-descr
@@ -0,0 +1,2 @@
+libheinz is a C++ base library used in software developed at
+Heinz Maier-Leibnitz Zentrum.