summaryrefslogtreecommitdiff
path: root/devel/clixon/Makefile
blob: 6b1268102c91b9ebed748f5a68f8b73d6d55ced3 (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
30
31
32
33
34
35

PORTNAME=	clixon
PORTVERSION=	4.8.0
CATEGORIES=	devel

MAINTAINER=	dcornejo@netgate.com
COMMENT=	YANG-based toolchain including CLI, NETCONF and RESTCONF interfaces

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE.md

LIB_DEPENDS=	libcligen.so:devel/cligen \
		libfcgi.so:www/fcgi
BUILD_DEPENDS=	cligen>=4.8.0:devel/cligen

USES=		autoreconf bison compiler:c11 gmake

USE_LDCONFIG=	yes
USE_GITHUB=	yes

GH_ACCOUNT=	clicon
MAKE_ARGS=	wwwdir=${PREFIX}/sbin \
		wwwuser=${WWWOWN}

GROUPS=		clixon
USERS=		clixon

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--sysconfdir=${ETCDIR} \
		--with-cligen=${LOCALBASE}
CONFIGURE_ENV=	YACC="bison -y"

SUB_FILES=	pkg-message

.include <bsd.port.mk>