2017-09-07 14:12:52 +02:00
|
|
|
# Created by: Ed Schouten <ed@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= flower
|
|
|
|
DISTVERSIONPREFIX= v
|
2017-09-18 09:00:55 +02:00
|
|
|
DISTVERSION= 0.10
|
2020-06-30 19:46:18 +02:00
|
|
|
PORTREVISION= 4
|
2017-09-07 14:12:52 +02:00
|
|
|
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
|
|
|
|
|
2018-12-25 21:25:39 +01:00
|
|
|
USES= cmake:insource compiler:c++17-lang localbase:ldflags tar:xz
|
2017-09-07 14:12:52 +02:00
|
|
|
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
|
|
|
|
|
2018-11-02 14:32:34 +01:00
|
|
|
.include <bsd.port.mk>
|