aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/py-snmp4-mibs/Makefile
blob: 6d389aae114063bfb5b27a85dd2042ef4c6dbcb4 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:    py-pysnmp4-mibs
# Date created:             Sun Apr  9 23:07:14 CDT 2006
# Whom:         Martin Jackson <mhjacks@swbell.net>
#
# $FreeBSD$
#

PORTNAME=   snmp4-mibs
PORTVERSION=    0.0.6a
CATEGORIES= net-mgmt python
MASTER_SITES=   SF/pysnmp/pysnmp-mibs-devel/${PORTVERSION}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pysnmp-mibs-${PORTVERSION}

MAINTAINER= mhjacks@swbell.net
COMMENT=    Additional python MIB files for pysnmp4 and friends

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}asn1>=0:${PORTSDIR}/devel/py-asn1

USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME=    pysnmp-mibs

DOCSDIR=    ${PREFIX}/share/doc/py-${PORTNAME}

PORTDOCS=   CHANGES \
        LICENSE \
        README

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>