aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/Makefile1
-rw-r--r--net/py-rt/Makefile36
-rw-r--r--net/py-rt/distinfo1
-rw-r--r--net/py-rt/pkg-comment1
-rw-r--r--net/py-rt/pkg-descr8
-rw-r--r--net/py-rt/pkg-plist13
6 files changed, 60 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 8181717d0288..362caec98c12 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -416,6 +416,7 @@
SUBDIR += py-pcap
SUBDIR += py-rrdpipe
SUBDIR += py-rrdtool
+ SUBDIR += py-rt
SUBDIR += py-smb
SUBDIR += py-snmp
SUBDIR += py-soap
diff --git a/net/py-rt/Makefile b/net/py-rt/Makefile
new file mode 100644
index 000000000000..124a4260e934
--- /dev/null
+++ b/net/py-rt/Makefile
@@ -0,0 +1,36 @@
+# ex:ts=8
+# Ports collection makefile for: py-rt
+# Date created: Jun 14, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= rt
+PORTVERSION= 2.5
+CATEGORIES= net python
+MASTER_SITES= http://www.sprintlabs.com/Department/IP-Interworking/Routing/PyRT/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pyrt-${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+
+USE_PYTHON= yes
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+DOCSDIR= ${PREFIX}/share/doc/py-rt
+
+post-patch:
+.for file in bgp.py isis.py
+ @${REINPLACE_CMD} -e "s/python2/python/g" ${WRKSRC}/${file}
+.endfor
+
+do-install:
+ ${MKDIR} ${PYTHON_SITELIBDIR}/rt
+ (cd ${WRKSRC} ; ${INSTALL_SCRIPT} *.py ${PYTHON_SITELIBDIR}/rt)
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ (cd ${WRKSRC} ; ${INSTALL_SCRIPT} README* ${DOCSDIR})
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/py-rt/distinfo b/net/py-rt/distinfo
new file mode 100644
index 000000000000..177bf71a69f1
--- /dev/null
+++ b/net/py-rt/distinfo
@@ -0,0 +1 @@
+MD5 (pyrt-2.5.tar.gz) = ea7322d0e942f819fb55939f64f92b1c
diff --git a/net/py-rt/pkg-comment b/net/py-rt/pkg-comment
new file mode 100644
index 000000000000..135cdf0229c0
--- /dev/null
+++ b/net/py-rt/pkg-comment
@@ -0,0 +1 @@
+Python Routeing Toolkit
diff --git a/net/py-rt/pkg-descr b/net/py-rt/pkg-descr
new file mode 100644
index 000000000000..01be39fa1379
--- /dev/null
+++ b/net/py-rt/pkg-descr
@@ -0,0 +1,8 @@
+The Python Routeing Toolkit (`PyRT') enables routeing information in a
+network to be collected. The purpose of this software is to enable routeing
+information in a network to be collected. This package currently supports
+BGPv4 and ISIS and will dump MRTD format files. It also supports parsing of
+MRTD TABLE_DUMP files (as available from, eg., RouteViews and RIPE/RIS). A
+number of utilities for manipulating these dumps are also provided.
+
+WWW: http://www.sprintlabs.com/Department/IP-Interworking/Routing/PyRT/
diff --git a/net/py-rt/pkg-plist b/net/py-rt/pkg-plist
new file mode 100644
index 000000000000..0b5856798ebd
--- /dev/null
+++ b/net/py-rt/pkg-plist
@@ -0,0 +1,13 @@
+lib/%%PYTHON_VERSION%%/site-packages/rt/bgp.py
+lib/%%PYTHON_VERSION%%/site-packages/rt/clean.py
+lib/%%PYTHON_VERSION%%/site-packages/rt/isis.py
+lib/%%PYTHON_VERSION%%/site-packages/rt/mrtd.py
+lib/%%PYTHON_VERSION%%/site-packages/rt/mutils.py
+lib/%%PYTHON_VERSION%%/site-packages/rt/parse.py
+lib/%%PYTHON_VERSION%%/site-packages/rt/splice.py
+lib/%%PYTHON_VERSION%%/site-packages/rt/table-dump.py
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/rt
+%%PORTDOCS%%share/doc/py-rt/README
+%%PORTDOCS%%share/doc/py-rt/README.mrtd
+%%PORTDOCS%%share/doc/py-rt/README.rv
+%%PORTDOCS%%@dirrm share/doc/py-rt