aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/py-pyang/Makefile
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-03-02 14:41:11 +0800
committermiwi <miwi@FreeBSD.org>2013-03-02 14:41:11 +0800
commit20953498de116a4c7d56001c3eaed5b8adb69927 (patch)
tree46529bacddff827f300b85fa3ecaceed2fc52949 /net-mgmt/py-pyang/Makefile
parent460cfd1f0aa8772cb0ff2a2586627ca8d84f4c3d (diff)
downloadfreebsd-ports-gnome-20953498de116a4c7d56001c3eaed5b8adb69927.tar.gz
freebsd-ports-gnome-20953498de116a4c7d56001c3eaed5b8adb69927.tar.zst
freebsd-ports-gnome-20953498de116a4c7d56001c3eaed5b8adb69927.zip
- Update to 1.3
PR: 176559 Submitted by: Ports Fury
Diffstat (limited to 'net-mgmt/py-pyang/Makefile')
-rw-r--r--net-mgmt/py-pyang/Makefile14
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>