openbsd-ports/net/ns/Makefile
2000-03-24 23:28:01 +00:00

30 lines
765 B
Makefile

#
# $FreeBSD: ports/net/ns/Makefile,v 1.3 1999/11/28 18:31:26 steve Exp $
# $OpenBSD: Makefile,v 1.5 2000/03/24 23:28:27 espie Exp $
#
DISTNAME= ns-src-2.1b5
PKGNAME= ns-2.1b5
CATEGORIES= net
NEED_VERSION= 1.230
MASTER_SITES= http://www-mash.cs.berkeley.edu/dist/vint/
MAINTAINER= angelos@openbsd.org
BUILD_DEPENDS= ${PREFIX}/lib/libtclcl.a::devel/tclcl
RUN_DEPENDS= ${PREFIX}/bin/tclsh8.2::lang/tcl82
WRKDIST= ${WRKDIR}/${PKGNAME}
GNU_CONFIGURE= Yes
CONFIGURE_ARGS= --with-tcl-ver=8.2 --with-tk-ver=8.2
ALL_TARGET=
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ns ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ns.1 ${PREFIX}/man/man1
mkdir -p ${PREFIX}/share/examples/ns2
${INSTALL_DATA} ${WRKSRC}/tcl/ex/*.tcl ${PREFIX}/share/examples/ns2
.include <bsd.port.mk>