2004-03-08 21:27:13 +01:00
|
|
|
# $NetBSD: Makefile,v 1.12 2004/03/08 20:27:15 minskim Exp $
|
2002-08-27 10:07:06 +02:00
|
|
|
|
2003-09-01 20:21:12 +02:00
|
|
|
DISTNAME= ns-src-2.26
|
|
|
|
PKGNAME= ${DISTNAME:S/-src//}
|
2003-10-06 13:02:43 +02:00
|
|
|
PKGREVISION= 1
|
2002-08-27 10:07:06 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.isi.edu/nsnam/dist/
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2002-08-27 10:07:06 +02:00
|
|
|
HOMEPAGE= http://www.isi.edu/nsnam/ns/
|
|
|
|
COMMENT= The UCB/LBNL Network Simulator Version 2
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
|
2002-08-27 10:07:06 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_BUILDLINK2= yes
|
|
|
|
USE_X11= yes
|
|
|
|
PTHREAD_OPTS+= require
|
|
|
|
# Perl is only needed if you want to run the validation tests.
|
2002-08-28 13:32:52 +02:00
|
|
|
#USE_PERL5= build
|
2002-08-27 10:07:06 +02:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}
|
|
|
|
CONFIGURE_ARGS+= --with-tk=${BUILDLINK_PREFIX.tk}
|
2002-08-28 12:09:54 +02:00
|
|
|
CONFIGURE_ARGS+= --with-tclcl=${BUILDLINK_PREFIX.tcl-tclcl}
|
2002-08-27 10:07:06 +02:00
|
|
|
|
|
|
|
MESSAGE_SUBST+= HOMEPAGE=${HOMEPAGE}
|
|
|
|
|
2003-09-01 20:21:12 +02:00
|
|
|
# Remove a left over executable in the source tarball.
|
2002-08-27 10:07:06 +02:00
|
|
|
post-extract:
|
|
|
|
${_PKG_SILENT}${_PKG_DEBUG} \
|
2003-09-01 20:21:12 +02:00
|
|
|
${RM} ${WRKSRC}/indep-utils/cmu-scen-gen/setdest/calcdest
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/ns
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/CHANGES.html ${PREFIX}/share/doc/html/ns
|
2002-08-27 10:07:06 +02:00
|
|
|
|
|
|
|
.include "../../net/libpcap/buildlink2.mk"
|
2002-08-28 12:09:54 +02:00
|
|
|
.include "../../devel/tcl-tclcl/buildlink2.mk"
|
|
|
|
.include "../../lang/tcl-otcl/buildlink2.mk"
|
2004-03-08 21:27:13 +01:00
|
|
|
.include "../../x11/tk83/buildlink2.mk"
|
2002-08-27 10:07:06 +02:00
|
|
|
.include "../../mk/pthread.buildlink2.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|