summaryrefslogtreecommitdiff
path: root/net/flower/Makefile
blob: 84766f33bb2611366885a9669a2f6ab5bb78dccd (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
# Created by: Ed Schouten <ed@FreeBSD.org>
# $FreeBSD$

PORTNAME=	flower
DISTVERSIONPREFIX=	v
DISTVERSION=	0.10
PORTREVISION=	2
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>