afb6e8126b
- fix SF mirror - move LICENSE into correct block - update dependencies versions - move pkg-plist into PLIST_FILES PR: 162669 Submitted by: rm (myself) Approved by: Martin Jackson <mhjacks@swbell.net> (maintainer), novel (mentor) Feature safe: yes
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# New ports collection makefile for: py-pysnmp4-mibs
|
|
# Date created: Sun Apr 9 23:07:14 CDT 2006
|
|
# Whom: Martin Jackson <mhjacks@swbell.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= snmp4-mibs
|
|
PORTVERSION= 0.1.2
|
|
CATEGORIES= net-mgmt python
|
|
MASTER_SITES= CHEESESHOP \
|
|
SF/pysnmp/pysnmp-mibs/${PORTVERSION}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= pysnmp-mibs-${PORTVERSION}
|
|
|
|
MAINTAINER= mhjacks@swbell.net
|
|
COMMENT= Additional python MIB files for pysnmp4 and friends
|
|
|
|
LICENSE= BSD
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1>=0.1.1:${PORTSDIR}/devel/py-asn1 \
|
|
${PYTHON_PKGNAMEPREFIX}snmp4>=4.2.1:${PORTSDIR}/net-mgmt/py-snmp4
|
|
|
|
# Python3 ready
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= easy_install
|
|
PYDISTUTILS_PKGNAME= pysnmp-mibs
|
|
|
|
PLIST_FILES+= bin/rebuild-pysnmp-mibs \
|
|
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
|
|
PORTDOCS= CHANGES \
|
|
README
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|