diff --git a/science/maeparser/Portfile b/science/maeparser/Portfile index 68d7887bf3e..a24b4a4ab37 100644 --- a/science/maeparser/Portfile +++ b/science/maeparser/Portfile @@ -7,7 +7,7 @@ PortGroup boost 1.0 github.setup schrodinger maeparser 1.3.3 v github.tarball_from archive -revision 1 +revision 2 categories science license MIT @@ -20,6 +20,8 @@ checksums rmd160 d7693368f54b0a48151504917a385a393a12df0f \ sha256 78e7571a779ea4952e752ecef57c62fb26463947e29ef7f4b31b11988d88ca07 \ size 39896 +patchfiles patch-cmake.diff + boost.version 1.88 compiler.cxx_standard 2011 diff --git a/science/maeparser/files/patch-cmake.diff b/science/maeparser/files/patch-cmake.diff new file mode 100644 index 00000000000..bea9250c0e8 --- /dev/null +++ b/science/maeparser/files/patch-cmake.diff @@ -0,0 +1,27 @@ +From 76c6687167a364f2b23965437d591c07ed4587cc Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= + +Date: Tue, 13 Jan 2026 16:42:27 +0000 +Subject: [PATCH] Fix installation of cmake targets and config (#87) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Co-authored-by: Jakub Klinkovský <1289205+lahwaacz@users.noreply.github.com> +--- + CMakeLists.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index ceb138b..25e488e 100644 +--- CMakeLists.txt ++++ CMakeLists.txt +@@ -82,7 +82,7 @@ + + INSTALL(EXPORT maeparser-targets + FILE ${PROJECT_NAME}-config.cmake +- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake) ++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/maeparser) + + file(GLOB mae_headers "*.hpp") + install(FILES ${mae_headers} DESTINATION include/maeparser)