2011-12-04 05:48:11 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2011/12/04 10:48:11 benoit Exp $
|
2004-06-22 11:31:26 -04:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= SNMP framework for Python
|
2004-06-22 11:31:26 -04:00
|
|
|
|
2011-12-04 05:42:00 -05:00
|
|
|
MODPY_EGG_VERSION = 4.2.1
|
|
|
|
DISTNAME= pysnmp-${MODPY_EGG_VERSION}
|
2010-07-12 18:07:37 -04:00
|
|
|
PKGNAME= ${DISTNAME:S/py/py-/}
|
2004-06-22 11:31:26 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2011-12-04 05:48:11 -05:00
|
|
|
REVISION = 0
|
2004-06-22 11:31:26 -04:00
|
|
|
|
2011-12-04 05:48:11 -05:00
|
|
|
HOMEPAGE= http://pysnmp.sourceforge.net/
|
2004-06-22 11:31:26 -04:00
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pysnmp/}
|
|
|
|
|
2004-08-04 15:14:30 -04:00
|
|
|
MODULES= lang/python
|
2004-06-22 11:31:26 -04:00
|
|
|
|
2011-12-04 05:42:00 -05:00
|
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
|
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
|
|
RUN_DEPENDS = security/py-crypto \
|
|
|
|
devel/py-asn1
|
|
|
|
|
2004-06-22 11:31:26 -04:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-snmp
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-snmp
|
|
|
|
|
|
|
|
post-install:
|
2011-06-13 04:47:51 -04:00
|
|
|
${INSTALL_DATA_DIR} ${DOCSDIR} ${EXAMPLESDIR}
|
2004-06-22 11:31:26 -04:00
|
|
|
cd ${WRKSRC}/docs; tar cf - . | tar xf - -C ${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/examples; tar cf - . | tar xf - -C ${EXAMPLESDIR}
|
|
|
|
|
2011-12-04 05:42:00 -05:00
|
|
|
NO_REGRESS = Yes
|
2004-06-22 11:31:26 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|