Skip to content

Commit

Permalink
devel/libheinz: New port: C++ base library of Heinz Maier-Leibnitz Ze…
Browse files Browse the repository at this point in the history
…ntrum
  • Loading branch information
yurivict committed Jan 24, 2023
1 parent 1135b25 commit e7e2d49
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -1255,6 +1255,7 @@
SUBDIR += libgudev
SUBDIR += libgusb
SUBDIR += libgutenfetch
SUBDIR += libheinz
SUBDIR += libhoard
SUBDIR += libhtp
SUBDIR += libhyve-remote
Expand Down
26 changes: 26 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
12 changes: 12 additions & 0 deletions 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.

2 changes: 2 additions & 0 deletions devel/libheinz/pkg-descr
@@ -0,0 +1,2 @@
libheinz is a C++ base library used in software developed at
Heinz Maier-Leibnitz Zentrum.

0 comments on commit e7e2d49

Please sign in to comment.