summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2012-06-25 02:30:21 +0000
committerswills <swills@FreeBSD.org>2012-06-25 02:30:21 +0000
commit87dde76bd3ec58ae86be6dd98ced8282d12c6639 (patch)
tree9cf102a72ba42817aa3e18405f2b07945cc3a9fb
parent0c7dc49a7c2fc32b3ab2ee4003e3a122f6fea268 (diff)
downloadFreeBSD-ports-87dde76bd3ec58ae86be6dd98ced8282d12c6639.zip
FreeBSD-ports-87dde76bd3ec58ae86be6dd98ced8282d12c6639.tar.gz
- Migrate to new name ns2
PR: ports/169263 Submitted by: Masaki TAGAWA <masaki@club.kyutech.ac.jp>
-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 7b24e81..296bb67 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 8fa42f6..0c652a4 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/
OpenPOWER on IntegriCloud