aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ns2/Makefile8
-rw-r--r--net/ns2/pkg-descr4
2 files changed, 7 insertions, 5 deletions
diff --git a/net/ns2/Makefile b/net/ns2/Makefile
index 7b24e817867a..296bb6722087 100644
--- a/net/ns2/Makefile
+++ b/net/ns2/Makefile
@@ -5,11 +5,11 @@
# $FreeBSD$
#
-PORTNAME= ns
+PORTNAME= ns2
PORTVERSION= 2.35
CATEGORIES= net
-MASTER_SITES= SF/${PORTNAME}nam/${PORTNAME}-2/${PORTVERSION}
-DISTFILES= ${PORTNAME}-src-${PORTVERSION}.tar.gz
+MASTER_SITES= SF/nsnam/ns-2/${PORTVERSION}
+DISTNAME= ns-src-${PORTVERSION}
MAINTAINER= masaki@club.kyutech.ac.jp
COMMENT= Discrete event simulator for networking research
@@ -24,6 +24,8 @@ CONFIGURE_ARGS= --with-tcl-ver=${TCL_VER} --with-tk-ver=${TK_VER} --x-libraries
USE_GMAKE= yes
USE_TK= 85+
+WRKSRC= ${WRKDIR}/ns-${PORTVERSION}
+
post-patch:
@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" \
${WRKSRC}/configure
diff --git a/net/ns2/pkg-descr b/net/ns2/pkg-descr
index 8fa42f66b1cd..0c652a4d20c5 100644
--- a/net/ns2/pkg-descr
+++ b/net/ns2/pkg-descr
@@ -1,5 +1,5 @@
-NS is a discrete event simulator targeted at networking research.
-NS provides substantial support for simulation of TCP, routing,
+NS2 is a discrete event simulator targeted at networking research.
+NS2 provides substantial support for simulation of TCP, routing,
and multicast protocols.
WWW: http://www.isi.edu/nsnam/ns/