# New ports collection makefile for: py-snmp # Date created: 26 March 2002 # Whom: Hye-Shik Chang # # $FreeBSD$ # PORTNAME= snmp PORTVERSION= 3.3.6 CATEGORIES= net-mgmt python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pysnmp PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pysnmp-${PORTVERSION} MAINTAINER= perky@FreeBSD.org COMMENT= SNMP framework for Python USE_PYTHON= yes USE_PYDISTUTILS=yes EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} .if !defined(NOPORTDOCS) post-install: ${MKDIR} ${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR} ${MKDIR} ${DOCSDIR} ${TAR} -C ${WRKSRC}/docs -cf - . | ${TAR} -C ${DOCSDIR} -xf - .endif .include