bb78ec9d14
snmplabs.com domain name no longer under upstream control Approved by: portmgr (blanket: metadata fix)
36 lines
813 B
Makefile
36 lines
813 B
Makefile
PORTNAME= pysmi
|
|
PORTVERSION= 0.3.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= net-mgmt python
|
|
MASTER_SITES= CHEESESHOP \
|
|
SF/pysmi/pysmi/${PORTVERSION}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= john@saltant.com
|
|
COMMENT= SNMP/SMI MIB parsing in Python
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply@${PY_FLAVOR}
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
BASEDOCS= CHANGES.rst README.md THANKS.txt TODO.txt
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${BASEDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|