diff options
Diffstat (limited to 'graphics/matplotplusplus')
| -rw-r--r-- | graphics/matplotplusplus/Makefile | 13 | ||||
| -rw-r--r-- | graphics/matplotplusplus/distinfo | 6 | ||||
| -rw-r--r-- | graphics/matplotplusplus/files/patch-source_matplot_util_popen.cpp | 11 | ||||
| -rw-r--r-- | graphics/matplotplusplus/files/patch-source_matplot_util_popen.h | 11 | ||||
| -rw-r--r-- | graphics/matplotplusplus/pkg-plist | 1 |
5 files changed, 34 insertions, 8 deletions
diff --git a/graphics/matplotplusplus/Makefile b/graphics/matplotplusplus/Makefile index dabc4371caa3..fd99d1e3a841 100644 --- a/graphics/matplotplusplus/Makefile +++ b/graphics/matplotplusplus/Makefile @@ -1,12 +1,12 @@ PORTNAME= matplotplusplus DISTVERSIONPREFIX= v -DISTVERSION= 1.2.1 -PORTREVISION= 5 +DISTVERSION= 1.2.2 CATEGORIES= graphics devel MAINTAINER= yuri@FreeBSD.org COMMENT= C++ graphics library for data visualization -WWW= https://alandefreitas.github.io/matplotplusplus/ +WWW= https://alandefreitas.github.io/matplotplusplus/ \ + https://github.com/alandefreitas/matplotplusplus LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE @@ -18,13 +18,16 @@ LIB_DEPENDS= libfftw3.so:math/fftw3 \ libtiff.so:graphics/tiff RUN_DEPENDS= gnuplot:math/gnuplot -USES= cmake compiler:c++17-lang jpeg +USES= cmake:testing compiler:c++17-lang jpeg USE_WX= 3.2+ USE_GITHUB= yes GH_ACCOUNT= alandefreitas CMAKE_ON= BUILD_SHARED_LIBS -CMAKE_OFF= BUILD_TESTING BUILD_EXAMPLES +CMAKE_OFF= BUILD_TESTING MATPLOTPP_BUILD_EXAMPLES +CMAKE_TESTING_ON= BUILD_TESTING MATPLOTPP_BUILD_TESTS MATPLOTPP_BUILD_EXAMPLES + +# tests as of 1.2.2: 100% tests passed, 0 tests failed out of 545 (tests need ENTER to be pressed for them to proceed, see https://github.com/alandefreitas/matplotplusplus/issues/478) .include <bsd.port.mk> diff --git a/graphics/matplotplusplus/distinfo b/graphics/matplotplusplus/distinfo index 2501a45af2bb..5fa97e4af366 100644 --- a/graphics/matplotplusplus/distinfo +++ b/graphics/matplotplusplus/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1714116673 -SHA256 (alandefreitas-matplotplusplus-v1.2.1_GH0.tar.gz) = 9dd7cc92b2425148f50329f5a3bf95f9774ac807657838972d35334b5ff7cb87 -SIZE (alandefreitas-matplotplusplus-v1.2.1_GH0.tar.gz) = 38999774 +TIMESTAMP = 1764082873 +SHA256 (alandefreitas-matplotplusplus-v1.2.2_GH0.tar.gz) = c7434b4fea0d0cc3508fd7104fafbb2fa7c824b1d2ccc51c52eaee26fc55a9a0 +SIZE (alandefreitas-matplotplusplus-v1.2.2_GH0.tar.gz) = 39002649 diff --git a/graphics/matplotplusplus/files/patch-source_matplot_util_popen.cpp b/graphics/matplotplusplus/files/patch-source_matplot_util_popen.cpp new file mode 100644 index 000000000000..b5377630c1e6 --- /dev/null +++ b/graphics/matplotplusplus/files/patch-source_matplot_util_popen.cpp @@ -0,0 +1,11 @@ +--- source/matplot/util/popen.cpp.orig 2025-11-25 15:11:25 UTC ++++ source/matplot/util/popen.cpp +@@ -121,7 +121,7 @@ int common_pipe::close(int *exit_code) + } + #endif // _WIN32 implementtion + +-#if defined(__linux) || defined(__APPLE__) ++#if defined(__linux) || defined(__APPLE__) || defined(__FreeBSD__) + + #include <cerrno> + #include <sys/wait.h> // waitpid diff --git a/graphics/matplotplusplus/files/patch-source_matplot_util_popen.h b/graphics/matplotplusplus/files/patch-source_matplot_util_popen.h new file mode 100644 index 000000000000..64cc9233d281 --- /dev/null +++ b/graphics/matplotplusplus/files/patch-source_matplot_util_popen.h @@ -0,0 +1,11 @@ +--- source/matplot/util/popen.h.orig 2025-11-25 15:02:56 UTC ++++ source/matplot/util/popen.h +@@ -23,7 +23,7 @@ class proc_pipe (protected) + FILE *file_ = nullptr; ///< C file handle for I/O (not both) + }; + +-#elif defined(__linux) || defined(__APPLE__) ++#elif defined(__linux) || defined(__APPLE__) || defined(__FreeBSD__) + + #include <unistd.h> // pid_t + diff --git a/graphics/matplotplusplus/pkg-plist b/graphics/matplotplusplus/pkg-plist index df66f3ce6a0b..488818087c76 100644 --- a/graphics/matplotplusplus/pkg-plist +++ b/graphics/matplotplusplus/pkg-plist @@ -49,4 +49,5 @@ lib/cmake/Matplot++/Matplot++ConfigVersion.cmake lib/cmake/Matplot++/Matplot++Targets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/Matplot++/Matplot++Targets.cmake lib/libmatplot.so +lib/libmatplot.so.1 lib/libmatplot.so.1.2.0 |
