aboutsummaryrefslogtreecommitdiff
path: root/net/ns2
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>1999-04-30 16:54:42 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>1999-04-30 16:54:42 +0000
commit6a364c19b2eff020079ec8845e08245a0ae75038 (patch)
treeb5abee4b20d02d0112934da88f36c06ef7a99f55 /net/ns2
parent12c6c097a94f7285afcc4fa3155ce2ec7cf47de6 (diff)
downloadports-6a364c19b2eff020079ec8845e08245a0ae75038.tar.gz
ports-6a364c19b2eff020079ec8845e08245a0ae75038.zip
Notes
Diffstat (limited to 'net/ns2')
-rw-r--r--net/ns2/Makefile33
-rw-r--r--net/ns2/distinfo1
-rw-r--r--net/ns2/files/patch-aa11
-rw-r--r--net/ns2/pkg-comment1
-rw-r--r--net/ns2/pkg-descr7
-rw-r--r--net/ns2/pkg-plist65
6 files changed, 118 insertions, 0 deletions
diff --git a/net/ns2/Makefile b/net/ns2/Makefile
new file mode 100644
index 000000000000..1be9134bc1fd
--- /dev/null
+++ b/net/ns2/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: ns-2
+# Version required: 2.1b5
+# Date created: 26 April 1999
+# Whom: obonilla
+#
+# $Id$
+#
+
+DISTNAME= ns-src-2.1b5
+PKGNAME= ns-2.1b5
+CATEGORIES= net
+MASTER_SITES= http://www-mash.cs.berkeley.edu/dist/vint/
+
+MAINTAINER= obonilla@fisicc-ufm.edu
+
+BUILD_DEPENDS= ${PREFIX}/lib/libtclcl.a:${PORTSDIR}/devel/tclcl
+RUN_DEPENDS= ${PREFIX}/bin/tclsh8.0:${PORTSDIR}/lang/tcl80
+
+MAN1= ns.1
+MANCOMPRESSED= no
+
+WRKSRC= ${WRKDIR}/${PKGNAME}
+
+GNU_CONFIGURE= yes
+
+ALL_TARGET=
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ns ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/ns.1 ${PREFIX}/man/man1
+ ${MKDIR} ${PREFIX}/share/examples/ns2
+ ${INSTALL_DATA} ${WRKSRC}/tcl/ex/*.tcl ${PREFIX}/share/examples/ns2
+.include <bsd.port.mk>
diff --git a/net/ns2/distinfo b/net/ns2/distinfo
new file mode 100644
index 000000000000..ddaed37a3634
--- /dev/null
+++ b/net/ns2/distinfo
@@ -0,0 +1 @@
+MD5 (ns-src-2.1b5.tar.gz) = 6aae46016418c0f5dc54b9b7398c4fc0
diff --git a/net/ns2/files/patch-aa b/net/ns2/files/patch-aa
new file mode 100644
index 000000000000..74f6728fd3c9
--- /dev/null
+++ b/net/ns2/files/patch-aa
@@ -0,0 +1,11 @@
+--- configure.orig Mon Apr 26 09:36:25 1999
++++ configure Mon Apr 26 09:36:48 1999
+@@ -1898,7 +1898,7 @@
+ # $d/unix works if $d is the 8.0 distribution
+ # $d/bin is for the ns-allinone distribution (kind of hacky, isn't it?)
+ PATH=$PATH:$d/unix:$d/bin
+-for ac_prog in tclsh$TCL_VERS tclsh tclsh$TCL_OLD_VERS
++for ac_prog in tclsh$TCL_VERS tclsh8.0 tclsh$TCL_OLD_VERS
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
diff --git a/net/ns2/pkg-comment b/net/ns2/pkg-comment
new file mode 100644
index 000000000000..0c9bcd737961
--- /dev/null
+++ b/net/ns2/pkg-comment
@@ -0,0 +1 @@
+The UCB/LBNL Network Simulator Version 2
diff --git a/net/ns2/pkg-descr b/net/ns2/pkg-descr
new file mode 100644
index 000000000000..11340c906901
--- /dev/null
+++ b/net/ns2/pkg-descr
@@ -0,0 +1,7 @@
+NS is a discrete event simulator targeted at networking research.
+Ns provides substantial support for simulation of TCP, routing, and multicast
+protocols.
+
+For more information see http://www-mash.cs.berkeley.edu/ns/
+
+-Oscar <obonilla@fisicc-ufm.edu>
diff --git a/net/ns2/pkg-plist b/net/ns2/pkg-plist
new file mode 100644
index 000000000000..c9bf970db0d1
--- /dev/null
+++ b/net/ns2/pkg-plist
@@ -0,0 +1,65 @@
+bin/ns
+share/examples/ns2/agent-gen-script.tcl
+share/examples/ns2/agent-gen.tcl
+share/examples/ns2/callback_demo.tcl
+share/examples/ns2/fq-cbr.tcl
+share/examples/ns2/fq.tcl
+share/examples/ns2/hier-rtg-10.tcl
+share/examples/ns2/hier-rtg-100.tcl
+share/examples/ns2/hts100-0.tcl
+share/examples/ns2/lantest.tcl
+share/examples/ns2/mac-test.tcl
+share/examples/ns2/many_tcp.tcl
+share/examples/ns2/manytcp_trmodel.tcl
+share/examples/ns2/mcast.tcl
+share/examples/ns2/nam-example.tcl
+share/examples/ns2/nam-separate-trace.tcl
+share/examples/ns2/nam-simplexlink.tcl
+share/examples/ns2/ranvar.tcl
+share/examples/ns2/rbp_demo.tcl
+share/examples/ns2/rc.tcl
+share/examples/ns2/shuttle-mcast.tcl
+share/examples/ns2/shuttle.tcl
+share/examples/ns2/simple-dyn.tcl
+share/examples/ns2/simple-eqp.tcl
+share/examples/ns2/simple-eqp1.tcl
+share/examples/ns2/simple-heap.tcl
+share/examples/ns2/simple-rtg.tcl
+share/examples/ns2/simple-rtp.tcl
+share/examples/ns2/simple-webcache-comp.tcl
+share/examples/ns2/simple-webcache-trace.tcl
+share/examples/ns2/simple-webcache.tcl
+share/examples/ns2/simple.tcl
+share/examples/ns2/srm-adapt-rep-session.tcl
+share/examples/ns2/srm-adapt-rep.tcl
+share/examples/ns2/srm-adapt-req-session.tcl
+share/examples/ns2/srm-adapt-req.tcl
+share/examples/ns2/srm-chain-session.tcl
+share/examples/ns2/srm-chain.tcl
+share/examples/ns2/srm-demo.tcl
+share/examples/ns2/srm-session.tcl
+share/examples/ns2/srm-star-session.tcl
+share/examples/ns2/srm-star.tcl
+share/examples/ns2/srm.tcl
+share/examples/ns2/ss.tcl
+share/examples/ns2/swp.tcl
+share/examples/ns2/tcp-int.tcl
+share/examples/ns2/tcpecn.tcl
+share/examples/ns2/tcpsrm.tcl
+share/examples/ns2/test-drr.tcl
+share/examples/ns2/test-emulator.tcl
+share/examples/ns2/test-rcvr.tcl
+share/examples/ns2/test-rlm.tcl
+share/examples/ns2/test-suite-intserv.tcl
+share/examples/ns2/test-suite.tcl
+share/examples/ns2/test-tbf.tcl
+share/examples/ns2/tg.tcl
+share/examples/ns2/topo-gen-script.tcl
+share/examples/ns2/topo-gen.tcl
+share/examples/ns2/topo-view.tcl
+share/examples/ns2/virtual-classifier.tcl
+share/examples/ns2/vlantest-flat.tcl
+share/examples/ns2/vlantest-hier.tcl
+share/examples/ns2/vlantest-mcst.tcl
+share/examples/ns2/wireless.tcl
+@dirrm share/examples/ns2