summaryrefslogtreecommitdiff
path: root/graphics/sciplot/Makefile
blob: 602e9e955c2d1fe23ad3a995e987573adc148b9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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>