aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/py-pyang/Makefile
blob: 2543bc7950cdea7a6451d2d3d0ea5d9af94ba9ce (plain) (blame)
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
# Created by: Bruce Simpson
# $FreeBSD$

PORTNAME=   pyang
PORTVERSION=    1.3
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

DATADIR=    ${PREFIX}/share/yang

MAN1=       pyang.1 yang2dsdl.1

post-patch:
    @${REINPLACE_CMD} -e \
        's|share/man|man|' ${WRKSRC}/setup.py

.include <bsd.port.mk>