freebsd-ports/net-mgmt/py-pyang/Makefile
Bryan Drewery 1341025f33 - Update to 1.2
Feature safe:	yes
2012-11-27 03:07:20 +00:00

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>