27 lines
528 B
Makefile
27 lines
528 B
Makefile
# Created by: Bruce Simpson
|
|
|
|
PORTNAME= pyang
|
|
PORTVERSION= 1.7.8
|
|
CATEGORIES= net-mgmt python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Validator and code generator for YANG (RFC 4741)
|
|
|
|
LICENSE= MIT
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR}
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
DATADIR= ${PREFIX}/share/yang
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|share/man|man|' ${WRKSRC}/setup.py
|
|
|
|
.include <bsd.port.mk>
|