aboutsummaryrefslogtreecommitdiffstats
path: root/devel/boxed-cpp/Makefile
blob: 8323d649a60c8caf6aaa376ac76d28183917ca4d (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
30
PORTNAME=	boxed-cpp
DISTVERSIONPREFIX=	v
DISTVERSION=	1.4.3
CATEGORIES=	devel

MAINTAINER=	tagattie@FreeBSD.org
COMMENT=	Boxing primitive types in C++
WWW=		https://github.com/contour-terminal/boxed-cpp

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

TEST_DEPENDS=	${LOCALBASE}/lib/cmake/Catch2/Catch2Config.cmake:devel/catch2

USES=		cmake:testing

USE_GITHUB=	yes
GH_ACCOUNT=	contour-terminal

CMAKE_TESTING_ON=	BOXED_TESTING

PORTDOCS=	README.md

OPTIONS_DEFINE=	DOCS

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>