Annotation of pkgsrc/net/ns/Makefile, revision 1.5

1.5     ! wiz         1: # $NetBSD: Makefile,v 1.4 2003/03/29 12:42:00 jmmv Exp $
1.1       seb         2: 
                      3: DISTNAME=      ns-src-2.1b9a
1.5     ! wiz         4: PKGREVISION=   1
1.1       seb         5: PKGNAME=       ${DISTNAME:S/b/rc/:S/-src//}
1.4       jmmv        6: WRKSRC=                ${WRKDIR}/${DISTNAME:S/-src//}
1.1       seb         7: CATEGORIES=    net
                      8: MASTER_SITES=  http://www.isi.edu/nsnam/dist/
                      9: 
                     10: MAINTAINER=    [email protected]
                     11: HOMEPAGE=      http://www.isi.edu/nsnam/ns/
                     12: COMMENT=       The UCB/LBNL Network Simulator Version 2
                     13: 
                     14: .include "../../mk/bsd.prefs.mk"
                     15: 
                     16: GNU_CONFIGURE= yes
                     17: USE_BUILDLINK2=        yes
                     18: USE_X11=       yes
                     19: PTHREAD_OPTS+=         require
                     20: # Perl is only needed if you want to run the validation tests.
1.3       seb        21: #USE_PERL5=            build
1.1       seb        22: 
                     23: CONFIGURE_ARGS+=       --with-tcl=${BUILDLINK_PREFIX.tcl}
                     24: CONFIGURE_ARGS+=       --with-tk=${BUILDLINK_PREFIX.tk}
1.2       seb        25: CONFIGURE_ARGS+=       --with-tclcl=${BUILDLINK_PREFIX.tcl-tclcl}
1.1       seb        26: 
                     27: MESSAGE_SUBST+=                HOMEPAGE=${HOMEPAGE}
                     28: 
                     29: # Yes there is object files and executables in the source tarball.
                     30: post-extract:
                     31:        ${_PKG_SILENT}${_PKG_DEBUG}                     \
                     32:        cd ${WRKSRC} &&                                 \
                     33:        ${FIND} . -name "*.o" -exec ${RM} {} \;
                     34:        ${_PKG_SILENT}${_PKG_DEBUG}                     \
                     35:        cd ${WRKSRC}/indep-utils &&                     \
                     36:        ${RM} cmu-scen-gen/setdest/setdest              \
                     37:           cmu-scen-gen/setdest/calcdest                \
                     38:           webtrace-conv/dec/dec-tr-stat                \
                     39:           webtrace-conv/epa/epa-tr-stat                \
                     40:           webtrace-conv/nlanr/nlanr-tr-stat            \
                     41:           webtrace-conv/ucb/ucb-tr-stat
                     42: 
                     43: .include  "../../net/libpcap/buildlink2.mk"
1.2       seb        44: .include  "../../devel/tcl-tclcl/buildlink2.mk"
                     45: .include  "../../lang/tcl-otcl/buildlink2.mk"
1.1       seb        46: .include "../../x11/tk/buildlink2.mk"
                     47: .include "../../mk/pthread.buildlink2.mk"
                     48: .include "../../mk/bsd.pkg.mk"

CVSweb <[email protected]>