freebsd-ports/net-mgmt/py-snmp/Makefile
Alexander Botero-Lowry 4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00

35 lines
846 B
Makefile

# New ports collection makefile for: py-snmp
# Date created: 26 March 2002
# Whom: Hye-Shik Chang
#
# $FreeBSD$
#
PORTNAME= snmp
PORTVERSION= 3.4.4
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
CONFLICTS= py??-snmp2-[0-9]* py??-snmp4-[0-9]*
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= pysnmp
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${EXAMPLESDIR}
${TAR} -C ${WRKSRC}/examples -cf - . | ${TAR} -C ${EXAMPLESDIR} -xf -
${MKDIR} ${DOCSDIR}
${TAR} -C ${WRKSRC}/docs -cf - . | ${TAR} -C ${DOCSDIR} -xf -
.endif
.include <bsd.port.mk>