summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/nam/DESCR7
-rw-r--r--net/nam/MESSAGE11
-rw-r--r--net/nam/Makefile34
-rw-r--r--net/nam/PLIST3
-rw-r--r--net/nam/distinfo7
-rw-r--r--net/nam/patches/patch-aa13
-rw-r--r--net/nam/patches/patch-ab13
-rw-r--r--net/nam/patches/patch-ac13
8 files changed, 101 insertions, 0 deletions
diff --git a/net/nam/DESCR b/net/nam/DESCR
new file mode 100644
index 00000000000..1edb2e31502
--- /dev/null
+++ b/net/nam/DESCR
@@ -0,0 +1,7 @@
+Nam is a Tcl/TK based animation tool for viewing network simulation traces
+and real world packet traces. It supports topology layout, packet level
+animation, and various data inspection tools.
+
+Nam began at LBL. It has evolved substantially over the past few years.
+The nam development effort is now an ongoing collaboration with
+the VINT project.
diff --git a/net/nam/MESSAGE b/net/nam/MESSAGE
new file mode 100644
index 00000000000..d19a0907f22
--- /dev/null
+++ b/net/nam/MESSAGE
@@ -0,0 +1,11 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2002/08/27 08:06:08 seb Exp $
+
+See Ns documentation for full documentation of Nam. But because
+Ns is an evolving system, its documentation will never be completely
+up-to-date, please refer to ${HOMEPAGE}.
+
+The source distribution also contains a lot of more or less directly
+usable examples in the ex/ directory.
+
+===========================================================================
diff --git a/net/nam/Makefile b/net/nam/Makefile
new file mode 100644
index 00000000000..ee49c88744a
--- /dev/null
+++ b/net/nam/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/08/27 08:06:08 seb Exp $
+
+DISTNAME= nam-src-1.0a11a
+PKGNAME= ${DISTNAME:S/0a/0rc/:S/-src//}
+CATEGORIES= net
+MASTER_SITES= http://www.isi.edu/nsnam/dist/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.isi.edu/nsnam/nam/
+COMMENT= The UCB/LBNL Network Animator
+
+WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
+
+.include "../../mk/bsd.prefs.mk"
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK2= yes
+USE_X11= yes
+ALL_TARGET=
+
+CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}
+CONFIGURE_ARGS+= --with-tk=${BUILDLINK_PREFIX.tk}
+CONFIGURE_ARGS+= --with-tclcl=${BUILDLINK_PREFIX.tclcl}
+
+post-install:
+ ${INSTALL_MAN_DIR} ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/nam.1 ${PREFIX}/man/man1
+
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../devel/zlib/buildlink2.mk"
+.include "../../lang/otcl/buildlink2.mk"
+.include "../../devel/tclcl/buildlink2.mk"
+.include "../../x11/tk/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/nam/PLIST b/net/nam/PLIST
new file mode 100644
index 00000000000..e105c4674d8
--- /dev/null
+++ b/net/nam/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/27 08:06:08 seb Exp $
+bin/nam
+man/man1/nam.1
diff --git a/net/nam/distinfo b/net/nam/distinfo
new file mode 100644
index 00000000000..c7aa2817785
--- /dev/null
+++ b/net/nam/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/08/27 08:06:08 seb Exp $
+
+SHA1 (nam-src-1.0a11a.tar.gz) = 74955f993767bb476abf5dc9c4222e1ede1c24f8
+Size (nam-src-1.0a11a.tar.gz) = 4355016 bytes
+SHA1 (patch-aa) = 79d115a0813e038d1d5a8f2bbe238bba48aaa544
+SHA1 (patch-ab) = 28cda4d9f68e031725016d2c06925394c76e5152
+SHA1 (patch-ac) = 7d9bbb391e025be2b75eebc4cb87a57a16409e7f
diff --git a/net/nam/patches/patch-aa b/net/nam/patches/patch-aa
new file mode 100644
index 00000000000..4c1c282d7c6
--- /dev/null
+++ b/net/nam/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/08/27 08:06:08 seb Exp $
+
+--- Makefile.in.orig Mon Apr 15 21:18:51 2002
++++ Makefile.in
+@@ -70,7 +70,7 @@ RANLIB = @V_RANLIB@
+ BLANK = # make a blank space. DO NOT add anything to this line
+ AR = ar rc $(BLANK)
+ LINK = $(CPP)
+-LDFLAGS =
++LDFLAGS = @LDFLAGS@
+ LDOUT = -o $(BLANK)
+ PERL = perl
+ RM = rm -f
diff --git a/net/nam/patches/patch-ab b/net/nam/patches/patch-ab
new file mode 100644
index 00000000000..a2326f65e26
--- /dev/null
+++ b/net/nam/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/08/27 08:06:08 seb Exp $
+
+--- conf/configure.in.TclCL.orig Sat Apr 13 00:29:31 2002
++++ conf/configure.in.TclCL
+@@ -59,7 +59,7 @@ TCLCL_PROG_PLACES="\
+ /usr/src/local/Tcl \
+ /usr/src/local/Tcl-1.0 \
+ "
+-TCLCL_PROG_PLACES_D="$d"
++TCLCL_PROG_PLACES_D="$d/bin"
+
+
+ NS_BEGIN_PACKAGE(tclcl)
diff --git a/net/nam/patches/patch-ac b/net/nam/patches/patch-ac
new file mode 100644
index 00000000000..83a6cc2fd59
--- /dev/null
+++ b/net/nam/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/08/27 08:06:08 seb Exp $
+
+--- configure.orig Mon Apr 15 21:53:09 2002
++++ configure
+@@ -5448,7 +5448,7 @@ TCLCL_PROG_PLACES="\
+ /usr/src/local/Tcl \
+ /usr/src/local/Tcl-1.0 \
+ "
+-TCLCL_PROG_PLACES_D="$d"
++TCLCL_PROG_PLACES_D="$d/bin"
+
+ NS_PACKAGE_tclcl_UNDERWAY=false
+ NS_PACKAGE_tclcl_COMPLETE=true