aboutsummaryrefslogtreecommitdiff
path: root/net/flower/Makefile
blob: 44b68a9cb36280f38b556e1f469a82679aec6414 (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
# Created by: Ed Schouten <ed@FreeBSD.org>

PORTNAME=	flower
DISTVERSIONPREFIX=	v
DISTVERSION=	0.10
PORTREVISION=	4
CATEGORIES=	net

MAINTAINER=	ed@FreeBSD.org
COMMENT=	Label-based networking daemon

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libarpc.so:devel/arpc \
		libjsoncpp.so:devel/jsoncpp

USES=		cmake:insource compiler:c++17-lang localbase:ldflags tar:xz
USE_GITHUB=	yes
GH_ACCOUNT=	NuxiNL

CFLAGS+=	-I${LOCALBASE}/include/jsoncpp

# Require the unit tests to pass prior to installing.
post-build:
	@trap '' PIPE && ${WRKSRC}/flower_unittests

.include <bsd.port.mk>