# Created by: Martin Jackson # $FreeBSD$ PORTNAME= snmp4 PORTVERSION= 4.3.2 CATEGORIES= net-mgmt python MASTER_SITES= CHEESESHOP \ SF/pysnmp/pysnmp/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pysnmp-${PORTVERSION} MAINTAINER= mhjacks@swbell.net COMMENT= SNMP framework for Python LICENSE= BSD2CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.2:devel/py-pyasn1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.4.1:security/py-pycrypto@${PY_FLAVOR} OPTIONS_DEFINE= DOCS EXAMPLES USES= python USE_PYTHON= distutils autoplist EXAMPLESDIR= ${PREFIX}/share/examples/${PYTHON_PKGNAMEPREFIX}${PORTNAME} DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/docs/source/docs && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include