aboutsummaryrefslogtreecommitdiff
path: root/net/cppserver/Makefile
blob: 613e4d867cff55ac9dce4d0b460cb2bcef251ed8 (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
PORTNAME=	CppServer
PORTVERSION=	1.0.6.0
CATEGORIES=	net

MAINTAINER=	thierry@FreeBSD.org
COMMENT=	C++ asynchronous networking library
WWW=		https://github.com/chronoxor/CppServer

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	asio>0:net/asio
LIB_DEPENDS=	libcppcommon.so:devel/cppcommon	\
		libfmt.so:devel/libfmt

USE_GITHUB=	yes
GH_ACCOUNT=	chronoxor

USES=		cmake pkgconfig ssl
CMAKE_ON=	CPPSERVER_SYSTEM_DEPENDENCIES

OPTIONS_DEFINE=	EXAMPLES
PORTEXAMPLES=	*

do-install-EXAMPLES-on:
	(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})

.include <bsd.port.mk>