e2dad1ed0b
- remove MAINTAINER per his request
41 lines
867 B
Makefile
41 lines
867 B
Makefile
# $OpenBSD: Makefile,v 1.14 2011/12/04 10:48:11 benoit Exp $
|
|
|
|
COMMENT= SNMP framework for Python
|
|
|
|
MODPY_EGG_VERSION = 4.2.1
|
|
DISTNAME= pysnmp-${MODPY_EGG_VERSION}
|
|
PKGNAME= ${DISTNAME:S/py/py-/}
|
|
CATEGORIES= net
|
|
|
|
REVISION = 0
|
|
|
|
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>
|