diff options
Diffstat (limited to 'net/ns')
-rw-r--r-- | net/ns/Makefile | 33 | ||||
-rw-r--r-- | net/ns/distinfo | 1 | ||||
-rw-r--r-- | net/ns/files/patch-aa | 11 | ||||
-rw-r--r-- | net/ns/pkg-comment | 1 | ||||
-rw-r--r-- | net/ns/pkg-descr | 7 | ||||
-rw-r--r-- | net/ns/pkg-plist | 65 |
6 files changed, 118 insertions, 0 deletions
diff --git a/net/ns/Makefile b/net/ns/Makefile new file mode 100644 index 000000000000..1be9134bc1fd --- /dev/null +++ b/net/ns/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/ns/distinfo b/net/ns/distinfo new file mode 100644 index 000000000000..ddaed37a3634 --- /dev/null +++ b/net/ns/distinfo @@ -0,0 +1 @@ +MD5 (ns-src-2.1b5.tar.gz) = 6aae46016418c0f5dc54b9b7398c4fc0 diff --git a/net/ns/files/patch-aa b/net/ns/files/patch-aa new file mode 100644 index 000000000000..74f6728fd3c9 --- /dev/null +++ b/net/ns/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/ns/pkg-comment b/net/ns/pkg-comment new file mode 100644 index 000000000000..0c9bcd737961 --- /dev/null +++ b/net/ns/pkg-comment @@ -0,0 +1 @@ +The UCB/LBNL Network Simulator Version 2 diff --git a/net/ns/pkg-descr b/net/ns/pkg-descr new file mode 100644 index 000000000000..11340c906901 --- /dev/null +++ b/net/ns/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/ns/pkg-plist b/net/ns/pkg-plist new file mode 100644 index 000000000000..c9bf970db0d1 --- /dev/null +++ b/net/ns/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 |