1341025f33
Feature safe: yes
28 lines
565 B
Makefile
28 lines
565 B
Makefile
# Created by: Bruce Simpson
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pyang
|
|
PORTVERSION= 1.2
|
|
CATEGORIES= net-mgmt python
|
|
MASTER_SITES= GOOGLE_CODE
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Validator and code generator for YANG (RFC 4741)
|
|
|
|
LICENSE= BSD
|
|
|
|
USE_PYTHON= -2.7
|
|
USE_PYDISTUTILS=yes
|
|
|
|
MAKE_ENV+= YANG_INSTALL=${PREFIX}
|
|
MAN1= pyang.1 yang2dsdl.1
|
|
|
|
# TODO: Sed YANG_INSTALL into pyang itself.
|
|
|
|
post-install:
|
|
@${ECHO_MSG}
|
|
@${ECHO_MSG} "Don't forget to set YANG_INSTALL to ${PREFIX} in your environment."
|
|
@${ECHO_MSG}
|
|
|
|
.include <bsd.port.mk>
|