summaryrefslogtreecommitdiff
path: root/net/py-rt
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-14 09:45:04 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-14 09:45:04 +0000
commit5102c29909ffd7b4ec11a556d6d08866107e4544 (patch)
tree86852e1dbbdae5a52389cc83c00f5a4b1329224a /net/py-rt
parentFix a segfault when authenticating against the system passwd file: (diff)
add py-rt 2.5
Python Routeing Toolkit
Notes
Notes: svn path=/head/; revision=61257
Diffstat (limited to 'net/py-rt')
-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
5 files changed, 59 insertions, 0 deletions
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