openbsd-ports/net/py-snmp/Makefile
benoit 4846514f1b - update py-snmp to 4.2.3
- regen PLIST
2013-01-07 16:23:21 +00:00

39 lines
853 B
Makefile

# $OpenBSD: Makefile,v 1.15 2013/01/07 16:23:21 benoit Exp $
COMMENT= SNMP framework for Python
MODPY_EGG_VERSION = 4.2.3
DISTNAME= pysnmp-${MODPY_EGG_VERSION}
PKGNAME= ${DISTNAME:S/py/py-/}
CATEGORIES= net
HOMEPAGE= http://pysnmp.sourceforge.net/
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pysnmp/}
MODULES= lang/python
MODPY_SETUPTOOLS = Yes
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = security/py-crypto \
devel/py-asn1
DOCSDIR= ${PREFIX}/share/doc/py-snmp
EXAMPLESDIR= ${PREFIX}/share/examples/py-snmp
post-install:
${INSTALL_DATA_DIR} ${DOCSDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/docs; tar cf - . | tar xf - -C ${DOCSDIR}
cd ${WRKSRC}/examples; tar cf - . | tar xf - -C ${EXAMPLESDIR}
NO_REGRESS = Yes
.include <bsd.port.mk>