aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/py-snmp4-apps/Makefile
blob: fe78af40440bd520c69662fe14122e43c6c84aaf (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
39
40
41
# New ports collection makefile for:    py-pysnmp4-apps
# Date created:             Sun Apr  9 23:07:14 CDT 2006
# Whom:         Martin Jackson <mhjacks@swbell.net>
#
# $FreeBSD$
#

PORTNAME=   snmp4-apps
PORTVERSION=    0.2.11a
CATEGORIES= net-mgmt python
MASTER_SITES=   CHEESESHOP \
        SF/pysnmp/pysnmp-apps-devel/${PORTVERSION}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pysnmp-apps-${PORTVERSION}

MAINTAINER= mhjacks@swbell.net
COMMENT=    Command line utilities for pysnmp4

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}snmp4>=0:${PORTSDIR}/net-mgmt/py-snmp4

LICENSE=    BSD
LICENSE_FILE=   ${WRKSRC}/LICENSE

USE_PYTHON= yes
USE_PYDISTUTILS=    easy_install
PYDISTUTILS_PKGNAME=    pysnmp-apps

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

PORTDOCS=   CHANGES \
        README

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

.include <bsd.port.mk>