graphics/sciplot: New port: Modern C++ scientific plotting library powered by gnuplot

This commit is contained in:
Yuri Victorovich 2022-11-08 07:21:19 -08:00
parent b8ae34430b
commit bc87463a96
5 changed files with 80 additions and 0 deletions

View file

@ -1050,6 +1050,7 @@
SUBDIR += sane-epkowa
SUBDIR += scale2x
SUBDIR += scantailor
SUBDIR += sciplot
SUBDIR += scr2png
SUBDIR += scrot
SUBDIR += scwm-icons

28
graphics/sciplot/Makefile Normal file
View file

@ -0,0 +1,28 @@
PORTNAME= sciplot
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.1
CATEGORIES= graphics
PKGNAMESUFFIX= -plotting-library
MAINTAINER= yuri@FreeBSD.org
COMMENT= Modern C++ scientific plotting library powered by gnuplot
WWW= https://sciplot.github.io/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= gnuplot:math/gnuplot
USES= cmake:testing compiler:c++17-lang
USE_GITHUB= yes
CMAKE_OFF= SCIPLOT_BUILD_TESTS SCIPLOT_BUILD_EXAMPLES SCIPLOT_BUILD_DOCS
CMAKE_TESTING_ON= SCIPLOT_BUILD_TESTS
CMAKE_TESTING_TARGET= ${ALL_TARGET} # no test target, see https://github.com/sciplot/sciplot/issues/105
NO_ARCH= yes
post-test:
@cd ${TEST_WRKSRC} && tests/sciplot-cpptests
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1668023049
SHA256 (sciplot-sciplot-v0.3.1_GH0.tar.gz) = d5f8fa7783920c0db4f54d8d9cea8a5e50be99153e81dcaccf91532994ebbad0
SIZE (sciplot-sciplot-v0.3.1_GH0.tar.gz) = 1801509

View file

@ -0,0 +1,5 @@
The goal of the sciplot project is to enable C++ programs to conveniently plot
beautiful graphs as easy as in other high-level programming languages. sciplot
is a header-only library that needs a C++17-capable compiler, but has no
external dependencies for compiling. The only external runtime dependencies are
gnuplot-palettes for providing color palettes and a gnuplot executable.

View file

@ -0,0 +1,43 @@
include/sciplot/Canvas.hpp
include/sciplot/ColumnIndex.hpp
include/sciplot/Constants.hpp
include/sciplot/Default.hpp
include/sciplot/Enums.hpp
include/sciplot/Figure.hpp
include/sciplot/Palettes.hpp
include/sciplot/Plot.hpp
include/sciplot/Plot2D.hpp
include/sciplot/Plot3D.hpp
include/sciplot/StringOrDouble.hpp
include/sciplot/Utils.hpp
include/sciplot/Vec.hpp
include/sciplot/sciplot.hpp
include/sciplot/specs/AxisLabelSpecs.hpp
include/sciplot/specs/BorderSpecs.hpp
include/sciplot/specs/DepthSpecsOf.hpp
include/sciplot/specs/DrawSpecs.hpp
include/sciplot/specs/FillSpecsOf.hpp
include/sciplot/specs/FillStyleSpecs.hpp
include/sciplot/specs/FilledCurvesSpecsOf.hpp
include/sciplot/specs/FontSpecsOf.hpp
include/sciplot/specs/FrameSpecsOf.hpp
include/sciplot/specs/GridSpecs.hpp
include/sciplot/specs/GridSpecsBase.hpp
include/sciplot/specs/HistogramStyleSpecs.hpp
include/sciplot/specs/LabelSpecs.hpp
include/sciplot/specs/LayoutSpecs.hpp
include/sciplot/specs/LegendSpecs.hpp
include/sciplot/specs/LineSpecsOf.hpp
include/sciplot/specs/OffsetSpecsOf.hpp
include/sciplot/specs/PointSpecsOf.hpp
include/sciplot/specs/ShowSpecsOf.hpp
include/sciplot/specs/Specs.hpp
include/sciplot/specs/TextSpecsOf.hpp
include/sciplot/specs/TicsSpecs.hpp
include/sciplot/specs/TicsSpecsBaseOf.hpp
include/sciplot/specs/TicsSpecsMajor.hpp
include/sciplot/specs/TicsSpecsMinor.hpp
include/sciplot/specs/TitleSpecsOf.hpp
%%DATADIR%%/sciplotConfig.cmake
%%DATADIR%%/sciplotConfigVersion.cmake
%%DATADIR%%/sciplotTargets.cmake