e2cd5999be
Reported by: Kevin Oberman <rkoberman@gmail.com>
30 lines
612 B
Makefile
30 lines
612 B
Makefile
# Created by: Ed Schouten <ed@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
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>
|