summaryrefslogtreecommitdiff
path: root/net-mgmt/py-snmp/Makefile
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-03-26 18:08:35 +0000
committerPatrick Li <pat@FreeBSD.org>2002-03-26 18:08:35 +0000
commite82ff5295f1947bb10b44773e9b44a2ff5f3f9fe (patch)
tree3a707987d559f61acb830ff875c23bcb65838105 /net-mgmt/py-snmp/Makefile
parentThis is Intels C/C++ compiler. It is setup to produce native FreeBSD objects. (diff)
Add new port - SNMP framework for Python
PR: 36337 Submitted by: Hye-Shik Chang <perky@fallin.lv>
Notes
Notes: svn path=/head/; revision=56707
Diffstat (limited to 'net-mgmt/py-snmp/Makefile')
-rw-r--r--net-mgmt/py-snmp/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/net-mgmt/py-snmp/Makefile b/net-mgmt/py-snmp/Makefile
new file mode 100644
index 000000000000..cc32a1626b61
--- /dev/null
+++ b/net-mgmt/py-snmp/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: py-snmp
+# Date created: 26 March 2002
+# Whom: Hye-Shik Chang <perky@fallin.lv>
+#
+# $FreeBSD$
+#
+
+PORTNAME= snmp
+PORTVERSION= 1.6.5
+CATEGORIES= net python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= pysnmp
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pysnmp-${PORTVERSION}
+
+MAINTAINER= perky@fallin.lv
+
+USE_PYTHON= yes
+EXAMPLESDIR= ${PREFIX}/share/examples/py-snmp
+DOCSDIR= ${PREFIX}/share/doc/py-snmp
+SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
+
+do-build:
+ ${SETUP_CMD} build
+
+do-install:
+ ${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
+
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/html/* ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>