aboutsummaryrefslogtreecommitdiff
path: root/devel/ctre/Makefile
blob: 7c735318cadb4aa11025b3636a097fc9fcd54c67 (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.8.1
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>