Annotation of pkgsrc/net/ns/Makefile, revision 1.34
1.34 ! dholland 1: # $NetBSD: Makefile,v 1.33 2012/08/21 23:49:24 marino Exp $
1.1 seb 2:
1.30 minskim 3: DISTNAME= ns-2.33
1.33 marino 4: PKGREVISION= 1
1.1 seb 5: CATEGORIES= net
1.26 minskim 6: MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nsnam/}
1.1 seb 7:
1.13 minskim 8: MAINTAINER= [email protected]
1.27 minskim 9: HOMEPAGE= http://nsnam.isi.edu/nsnam/
1.1 seb 10: COMMENT= The UCB/LBNL Network Simulator Version 2
11:
1.13 minskim 12: PKG_INSTALLATION_TYPES= overwrite pkgviews
1.31 joerg 13: PKG_DESTDIR_SUPPORT= user-destdir
1.13 minskim 14:
1.29 minskim 15: WRKSRC= ${WRKDIR}/${PKGNAME}
1.32 minskim 16: USE_LANGUAGES= c99 c++
1.30 minskim 17: USE_TOOLS+= gmake
1.1 seb 18: GNU_CONFIGURE= yes
1.13 minskim 19: PTHREAD_OPTS+= require
1.1 seb 20: # Perl is only needed if you want to run the validation tests.
1.19 jlam 21: #USE_TOOLS+= perl
1.1 seb 22:
1.21 rillig 23: CONFIGURE_ARGS+= LIBS="`${CONFIG_SHELL} -c '. ${TCLCONFIG_SH}; ${ECHO} $$TCL_LIBS'`"
1.1 seb 24: CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}
1.34 ! dholland 25: CONFIGURE_ARGS+= --with-tcl-ver=8.5
1.1 seb 26: CONFIGURE_ARGS+= --with-tk=${BUILDLINK_PREFIX.tk}
1.34 ! dholland 27: CONFIGURE_ARGS+= --with-tk-ver=8.5
1.13 minskim 28: CONFIGURE_ARGS+= --with-otcl=${BUILDLINK_PREFIX.tcl-otcl}
1.2 seb 29: CONFIGURE_ARGS+= --with-tclcl=${BUILDLINK_PREFIX.tcl-tclcl}
1.30 minskim 30: CONFIGURE_ENV+= X11LIBDIR=${X11PREFIX}/lib${LIBABISUFFIX}
31: CONFIGURE_ENV+= X11INCDIR=${X11PREFIX}/include
1.1 seb 32:
33: MESSAGE_SUBST+= HOMEPAGE=${HOMEPAGE}
34:
1.31 joerg 35: INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/ns
36:
37: post-install:
38: ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/cmu-scen-gen/setdest/calcdest ${DESTDIR}${PREFIX}/bin
39: ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/webtrace-conv/dec/dec-tr-stat ${DESTDIR}${PREFIX}/bin
40: ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/webtrace-conv/epa/epa-tr-stat ${DESTDIR}${PREFIX}/bin
41: ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/webtrace-conv/nlanr/nlanr-tr-stat ${DESTDIR}${PREFIX}/bin
42: ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/cmu-scen-gen/setdest/setdest ${DESTDIR}${PREFIX}/bin
43: ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/webtrace-conv/ucb/ucb-tr-stat ${DESTDIR}${PREFIX}/bin
44: ${INSTALL_DATA} ${WRKSRC}/CHANGES.html ${DESTDIR}${PREFIX}/share/doc/ns
45:
46: BUILDLINK_DEPMETHOD.libXt?= build
1.13 minskim 47:
48: .include "../../devel/tcl-tclcl/buildlink3.mk"
49: .include "../../lang/tcl/buildlink3.mk"
50: .include "../../lang/tcl-otcl/buildlink3.mk"
51: .include "../../net/libpcap/buildlink3.mk"
1.30 minskim 52: .include "../../x11/libX11/buildlink3.mk"
53: .include "../../x11/libXext/buildlink3.mk"
1.31 joerg 54: .include "../../x11/libXt/buildlink3.mk"
1.14 minskim 55: .include "../../x11/tk/buildlink3.mk"
1.13 minskim 56: .include "../../mk/pthread.buildlink3.mk"
57:
1.1 seb 58: .include "../../mk/bsd.pkg.mk"
CVSweb <[email protected]>