1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/net-mgmt/py-snmp4/Makefile
Pav Lucistnik 76c50b784a - Update to 4.1.6a
PR:		ports/98043
Submitted by:	Martin Jackson <mhjacks@swbell.net> (maintainer)
2006-05-29 21:01:54 +00:00

52 lines
1.1 KiB
Makefile

# New ports collection makefile for: py-pysnmp4
# Date created: Sat Apr 8 21:51:59 CDT 2006
# Whom: Martin Jackson <mhjacks@swbell.net>
#
# $FreeBSD$
#
PORTNAME= snmp4
PORTVERSION= 4.1.6a
CATEGORIES= net-mgmt python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pysnmp
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pysnmp-${PORTVERSION}
MAINTAINER= mhjacks@swbell.net
COMMENT= SNMP framework for Python
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pyasn1/__init__.py:${PORTSDIR}/devel/py-asn1 \
${PYTHON_SITELIBDIR}/Crypto/__init__.py:${PORTSDIR}/security/py-pycrypto
CONFLICTS= py??-snmp-[0-9]*
USE_PYTHON= yes
USE_PYDISTUTILS=yes
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= *
BASEDOCS= CHANGES \
LICENSE \
README \
TODO
CONFLICTS= py*-snmp-3.*
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for f in ${BASEDOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
@${CP} -Rv ${WRKSRC}/docs/* ${DOCSDIR}
.endif
@${MKDIR} ${EXAMPLESDIR}
.for d in examples tools
@${CP} -Rv ${WRKSRC}/${d}/* ${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>