diff options
Diffstat (limited to 'net-mgmt/py-pyang/Makefile')
-rw-r--r-- | net-mgmt/py-pyang/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/net-mgmt/py-pyang/Makefile b/net-mgmt/py-pyang/Makefile index cb13af120d22..2543bc7950cd 100644 --- a/net-mgmt/py-pyang/Makefile +++ b/net-mgmt/py-pyang/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pyang -PORTVERSION= 1.2 +PORTVERSION= 1.3 CATEGORIES= net-mgmt python MASTER_SITES= GOOGLE_CODE PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,14 +15,12 @@ LICENSE= BSD USE_PYTHON= -2.7 USE_PYDISTUTILS=yes -MAKE_ENV+= YANG_INSTALL=${PREFIX} -MAN1= pyang.1 yang2dsdl.1 +DATADIR= ${PREFIX}/share/yang -# TODO: Sed YANG_INSTALL into pyang itself. +MAN1= pyang.1 yang2dsdl.1 -post-install: - @${ECHO_MSG} - @${ECHO_MSG} "Don't forget to set YANG_INSTALL to ${PREFIX} in your environment." - @${ECHO_MSG} +post-patch: + @${REINPLACE_CMD} -e \ + 's|share/man|man|' ${WRKSRC}/setup.py .include <bsd.port.mk> |