aboutsummaryrefslogtreecommitdiff
path: root/devel/rttr/Makefile
blob: 064733cf31d30945bb6e1cc0b7568e668c667ddb (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
31
32
33
34
35
PORTNAME=	rttr
DISTVERSIONPREFIX=	v
DISTVERSION=	0.9.6-16
PORTREVISION=	3
DISTVERSIONSUFFIX=	-gb3a131c
CATEGORIES=	devel

PATCH_SITES=	https://github.com/rttrorg/rttr/commit/
PATCHFILES=	992df30caa14fe6bfcd2c38213314622e1e02aae.patch:-p1

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Run Time Type Reflection
WWW=		https://github.com/rttrorg/rttr

LICENSE=	MIT

BUILD_DEPENDS=	${LOCALBASE}/include/rapidjson/rapidjson.h:devel/rapidjson \
		${LOCALBASE}/include/chaiscript/chaiscript.hpp:lang/chaiscript

USES=		cmake compiler:c++17-lang pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	rttrorg

CMAKE_OFF=	BUILD_DOCUMENTATION \
		BUILD_UNIT_TESTS \
		BUILD_EXAMPLES

PORTSCOUT=	limit:^0\.

post-extract:
	${RM} -r ${WRKSRC}/3rd_party/rapidjson-1.1.0/
	${RM} -r ${WRKSRC}/3rd_party/chaiscript-devel/
	${RM} -r ${WRKSRC}/3rd_party/chaiscript-6.1.0/

.include <bsd.port.mk>