openbsd-ports/net/py-snmp/Makefile

36 lines
776 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.16 2013/03/09 15:24:13 benoit Exp $
COMMENT= SNMP framework for Python
MODPY_EGG_VERSION = 4.2.4
DISTNAME= pysnmp-${MODPY_EGG_VERSION}
PKGNAME= ${DISTNAME:S/py/py-/}
CATEGORIES= net
HOMEPAGE= http://pysnmp.sourceforge.net/
# BSD
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pysnmp/}
2004-08-04 15:14:30 -04:00
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>