aboutsummaryrefslogtreecommitdiff
path: root/net/ns2
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2012-06-25 02:30:21 +0000
committerSteve Wills <swills@FreeBSD.org>2012-06-25 02:30:21 +0000
commit33928e10e1700ccaf82b231debbbb5a4d51f7db6 (patch)
treece1b1398677527b2b8df643a733d52325967b1c7 /net/ns2
parentb5338a8c33895f3cc8186450e02506f54bae86d6 (diff)
- Migrate to new name ns2
PR: ports/169263 Submitted by: Masaki TAGAWA <masaki@club.kyutech.ac.jp>
Notes
Notes: svn path=/head/; revision=299923
Diffstat (limited to 'net/ns2')
-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/