aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/py-snmp4/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-06-25 08:29:21 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-06-25 08:29:21 +0000
commit069aa36cccfb06ea0f4f157a07ee165ed6f6fd1d (patch)
tree46e9deefb0b4e96dbfc0c1c63a001a4111ee9197 /net-mgmt/py-snmp4/Makefile
parentee57b82aa4530a0a14098ab282a0a77c13f33762 (diff)
downloadports-069aa36cccfb06ea0f4f157a07ee165ed6f6fd1d.tar.gz
ports-069aa36cccfb06ea0f4f157a07ee165ed6f6fd1d.zip
- Update to 4.1.16a
PR: 155713 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=276334
Diffstat (limited to 'net-mgmt/py-snmp4/Makefile')
-rw-r--r--net-mgmt/py-snmp4/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/net-mgmt/py-snmp4/Makefile b/net-mgmt/py-snmp4/Makefile
index e7ee192e7f3e..6645201b415d 100644
--- a/net-mgmt/py-snmp4/Makefile
+++ b/net-mgmt/py-snmp4/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= snmp4
-PORTVERSION= 4.1.10a
+PORTVERSION= 4.1.16a
CATEGORIES= net-mgmt python
-MASTER_SITES= SF/pysnmp/pysnmp-devel/${PORTVERSION}
+MASTER_SITES= CHEESESHOP \
+ SF/pysnmp/pysnmp-devel/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pysnmp-${PORTVERSION}
@@ -20,8 +21,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1>=0:${PORTSDIR}/devel/py-asn1 \
CONFLICTS= py??-snmp-[0-9]* py??-snmp2-[0-9]*
+LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
USE_PYTHON= yes
-USE_PYDISTUTILS=yes
+USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= pysnmp
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
@@ -29,7 +33,6 @@ DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= *
BASEDOCS= CHANGES \
- LICENSE \
README \
TODO
@@ -41,9 +44,11 @@ post-install:
.endfor
@${CP} -Rv ${WRKSRC}/docs/* ${DOCSDIR}
.endif
+.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
.for d in examples tools
@${CP} -Rv ${WRKSRC}/${d}/* ${EXAMPLESDIR}
.endfor
+.endif
.include <bsd.port.mk>