1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/net-mgmt/py-snmp4-apps/Makefile
Ruslan Makhmatkhanov 988d74474b - update py-snmp4 to 4.2.5 and py-snmp4-apps to 0.3.4
- convert to auto-generated auto-plist
- convert to optionsng for DOCS and EXAMPLES
- remove NO_STAGE

while here:
- update LICENSE (count clauses)
- do not use deprecated easy_install and unneeded PYDISTUTILS_* knobs
- make DOCSDIR and EXAPLESDIR contain ${PYTHON_PKGNAMEPREFIX} in it, because
  that ports may be installed for different python versions simultaneously
- use common idiom for installing DOCS and EXAMPLES
- install DOCS and EXAMPLES into stage area uncoditioanlly
- remove inclusions of bsd.port.options.mk
- bump PORTREVISION for py-snmp4-mibs, because package is changed
- replace /bin/bash with /bin/sh in py-snmp4-mibs rebuild-pysnmp-mibs script

PR:		186190
Submitted by:	olgeni
Approved by:	Martin Jackson <mhjacks@swbell.net> (maintainer)
2014-02-09 16:41:53 +00:00

32 lines
746 B
Makefile

# Created by: Martin Jackson <mhjacks@swbell.net>
# $FreeBSD$
PORTNAME= snmp4-apps
PORTVERSION= 0.3.4
CATEGORIES= net-mgmt python
MASTER_SITES= CHEESESHOP \
SF/pysnmp/pysnmp-apps/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pysnmp-apps-${PORTVERSION}
MAINTAINER= mhjacks@swbell.net
COMMENT= Command line utilities for pysnmp4
LICENSE= BSD2CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}snmp4>=4.2.3:${PORTSDIR}/net-mgmt/py-snmp4
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
PORTDOCS= CHANGES README
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>