summaryrefslogtreecommitdiff
path: root/devel/pcg-cpp/Makefile
blob: 260027a029a1ec8128e37f50dd8fcf07bf67c19f (plain)
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
PORTNAME=	pcg-cpp
DISTVERSIONPREFIX=	v
DISTVERSION=	0.98.1-59
DISTVERSIONSUFFIX=	-g5b5cac8
CATEGORIES=	devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	PCG Random Number Generation, C++ Edition

LICENSE=	APACHE20 MIT
LICENSE_COMB=	dual
LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE-APACHE.txt
LICENSE_FILE_MIT=	${WRKSRC}/LICENSE-MIT.txt

USES=		compiler:c++11-lang
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	imneme

NO_BUILD=	yes
NO_ARCH=	yes

PLIST_FILES=	include/pcg_extras.hpp \
		include/pcg_random.hpp \
		include/pcg_uint128.hpp

do-test:
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} CXXFLAGS=-I${WRKSRC}/include ${MAKE_CMD} ${MAKE_ARGS} test

.include <bsd.port.mk>