aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ctre/Makefile
blob: 9f8e7d31d7ca0fd0970bba49ad5b2d92b4f87154 (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=	ctre
DISTVERSIONPREFIX=	v
DISTVERSION=	3.9.0
CATEGORIES=	devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	C++ header-only library for Compile Time Regular Expressions
WWW=		https://compile-time.re/

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cmake compiler:c++20-lang

USE_GITHUB=	yes
GH_ACCOUNT=	hanickadot
GH_PROJECT=	compile-time-regular-expressions

CMAKE_OFF=	BUILD_TESTING

NO_BUILD=	yes
NO_ARCH=	yes

do-test:
	@cd ${WRKSRC} && \
		${SETENV} ${MAKE_ENV} ${GMAKE} -j ${_MAKE_JOBS}
	@${ECHO} "Test succeeded (successful compilation means that tests succeeded)" # everything is tested during compilation, if you are able to compile then it's ok

.include <bsd.port.mk>