# Created by: Martin Jackson # $FreeBSD: head/net-mgmt/py-snmp4-mibs/Makefile 412348 2016-04-01 14:17:44Z mat $ PORTNAME= snmp4-mibs PORTVERSION= 0.1.4 PORTREVISION= 1 CATEGORIES= net-mgmt python MASTER_SITES= CHEESESHOP \ SF/pysnmp/pysnmp-mibs/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pysnmp-mibs-${PORTVERSION} MAINTAINER= mhjacks@swbell.net COMMENT= Additional python MIB files for pysnmp4 and friends LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}snmp4>=4.2.3:net-mgmt/py-snmp4 USES= python USE_PYTHON= distutils autoplist DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} PORTDOCS= CHANGES README post-patch: ${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' ${WRKSRC}/tools/rebuild-pysnmp-mibs post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include