2e7ffa5482
PR: 246428 Submitted by: Dave Cornejo <dcornejo@netgate.com> (maintainer) Sponsored by: Rubicon Communications, LLC (Netgate)
37 lines
693 B
Makefile
37 lines
693 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= clixon
|
|
PORTVERSION= 4.5.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.4.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>
|