8d6597e0bb
With hat: portmgr Sponsored by: Absolight
34 lines
841 B
Makefile
34 lines
841 B
Makefile
# Created by: Martin Jackson <mhjacks@swbell.net>
|
|
# $FreeBSD$
|
|
|
|
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 <bsd.port.mk>
|