2004-02-24 21:35:15 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2004/02/25 02:35:17 naddy Exp $
|
2000-01-05 21:46:03 -05:00
|
|
|
# $FreeBSD: ports/net/ns/Makefile,v 1.3 1999/11/28 18:31:26 steve Exp $
|
|
|
|
|
2001-09-09 14:14:51 -04:00
|
|
|
COMMENT= "UCB/LBNL Network Simulator Version 2"
|
2001-05-06 00:59:54 -04:00
|
|
|
|
2003-11-01 15:05:01 -05:00
|
|
|
DISTNAME= ns-2.26
|
|
|
|
DISTFILES= ns-src-2.26.tar.gz
|
2000-01-05 21:46:03 -05:00
|
|
|
CATEGORIES= net
|
2002-10-27 19:47:05 -05:00
|
|
|
|
|
|
|
MASTER_SITES= ftp://ftp.ee.surrey.ac.uk/pub/Mirrors/ftp.isi.edu/nsnam/ \
|
|
|
|
ftp://ftp.isi.edu/nsnam/ \
|
|
|
|
http://www.isi.edu/nsnam/dist/
|
2000-04-05 06:13:52 -04:00
|
|
|
|
2001-06-19 21:43:11 -04:00
|
|
|
# License: BSD
|
2003-11-01 15:05:01 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-04-18 03:13:06 -04:00
|
|
|
|
2000-11-24 21:14:31 -05:00
|
|
|
HOMEPAGE= http://www.isi.edu/nsnam/ns/
|
2000-01-05 21:46:03 -05:00
|
|
|
|
2001-10-15 11:20:09 -04:00
|
|
|
LIB_DEPENDS= otcl::lang/otcl \
|
2003-11-01 15:05:01 -05:00
|
|
|
tclcl::devel/tclcl
|
|
|
|
|
2000-10-22 11:41:23 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
2000-04-05 06:13:52 -04:00
|
|
|
CONFIGURE_ARGS= --with-tcl-ver=8.3 --with-tk-ver=8.3
|
2000-01-05 21:46:03 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ns ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/ns.1 ${PREFIX}/man/man1
|
2000-04-05 06:13:52 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ns2
|
2000-01-05 21:46:03 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/tcl/ex/*.tcl ${PREFIX}/share/examples/ns2
|
2002-10-27 19:47:05 -05:00
|
|
|
|
2003-11-01 15:05:01 -05:00
|
|
|
do-regress:
|
|
|
|
cd ${WRKSRC} && ./validate
|
|
|
|
|
2000-01-05 21:46:03 -05:00
|
|
|
.include <bsd.port.mk>
|