summaryrefslogtreecommitdiff
path: root/graphics/cxxplot/Makefile
blob: c2bc93d98d4844c24ab3decb38b1abe8565a6dc6 (plain) (blame)
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
29
PORTNAME=	cxxplot
DISTVERSIONPREFIX=	v
DISTVERSION=	0.3.2
CATEGORIES=	graphics

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	C++ 2D plotting library
WWW=		https://github.com/USNavalResearchLaboratory/cxxplot

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/license.txt

USES=		cmake:testing compiler:c++20-lang gl qt:6
USE_QT=		base tools:build
USE_GL=		gl opengl

USE_GITHUB=	yes
GH_ACCOUNT=	USNavalResearchLaboratory

CMAKE_ON=		BUILD_SHARED_LIBS
CMAKE_TESTING_TARGET=

post-test: # 'make test' opens a lot of windows
.for name in 01_test 02_test 03_test 04_test 05_test 06_test_csv 07_test_image
	@${ECHO} "==> Running the test ${name}"
	@${TEST_WRKSRC}/tests/${name}/libcxxplot_${name:C/test_.*/test/}
.endfor

.include <bsd.port.mk>