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

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

USES=       python
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>