aboutsummaryrefslogtreecommitdiff
path: root/net/ns2
diff options
context:
space:
mode:
authorFrank J. Laszlo <laszlof@FreeBSD.org>2007-03-12 01:36:57 +0000
committerFrank J. Laszlo <laszlof@FreeBSD.org>2007-03-12 01:36:57 +0000
commitc7c9ea82139f9002eac8110c64ad76547025c96c (patch)
treeae4dced9fd379fbe03a815f866a2172928e7eff5 /net/ns2
parent49ad7fe1b0c0a1f1ae032eaaeb3ee54d8a772389 (diff)
downloadports-c7c9ea82139f9002eac8110c64ad76547025c96c.tar.gz
ports-c7c9ea82139f9002eac8110c64ad76547025c96c.zip
Notes
Diffstat (limited to 'net/ns2')
-rw-r--r--net/ns2/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/ns2/Makefile b/net/ns2/Makefile
index cf7f253916d2..c15390459084 100644
--- a/net/ns2/Makefile
+++ b/net/ns2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ns
PORTVERSION= 2.29
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.isi.edu/nsnam/dist/
DISTNAME= ns-src-${PORTVERSION}
@@ -23,13 +24,18 @@ MANCOMPRESSED= no
WRKSRC= ${WRKDIR}/ns-${PORTVERSION}
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-tcl-ver=8.4 --with-tk-ver=8.4 --with-tclcl=${LOCALBASE}
+CONFIGURE_ARGS= --with-tcl-ver=8.4 --with-tk-ver=8.4
MAKE_ARGS+= "LDFLAGS=${LDFLAGS}"
ALL_TARGET=
.include <bsd.port.pre.mk>
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/src/local/Tcl-1.0 \\|${LOCALBASE}/include/tclcl \\|g' \
+ -e 's|/usr/src/local/Tcl-1.0\"|${LOCALBASE}/lib\"|g' \
+ ${WRKSRC}/configure
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ns ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ns.1 ${PREFIX}/man/man1