Lines 6-14
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= ns |
8 |
PORTNAME= ns |
9 |
PORTVERSION= 2.33 |
9 |
PORTVERSION= 2.35 |
10 |
CATEGORIES= net |
10 |
CATEGORIES= net |
11 |
MASTER_SITES= SF/${PORTNAME}nam/${PORTNAME}-2/${PORTVERSION} |
11 |
MASTER_SITES= SF/${PORTNAME}nam/${PORTNAME}-2/${PORTVERSION} |
|
|
12 |
DISTFILES= ${PORTNAME}-src-${PORTVERSION}.tar.gz |
12 |
|
13 |
|
13 |
MAINTAINER= lstewart@FreeBSD.org |
14 |
MAINTAINER= lstewart@FreeBSD.org |
14 |
COMMENT= Discrete event simulator for networking research |
15 |
COMMENT= Discrete event simulator for networking research |
Lines 19-37
Link Here
|
19 |
MANCOMPRESSED= no |
20 |
MANCOMPRESSED= no |
20 |
|
21 |
|
21 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
22 |
CONFIGURE_ARGS= --with-tcl-ver=8.4 --with-tk-ver=8.4 --x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include |
23 |
CONFIGURE_ARGS= --with-tcl-ver=${TCL_VER} --with-tk-ver=${TK_VER} --x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include |
23 |
USE_GMAKE= yes |
24 |
USE_GMAKE= yes |
24 |
USE_TK= 84 |
25 |
USE_TK= 85+ |
25 |
|
26 |
|
26 |
post-patch: |
27 |
post-patch: |
27 |
@${REINPLACE_CMD} -e 's|/usr/src/local/Tcl-1.0 \\|${LOCALBASE}/include/tclcl \\|g' \ |
28 |
@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" \ |
28 |
-e 's|/usr/src/local/Tcl-1.0\"|${LOCALBASE}/lib\"|g' \ |
|
|
29 |
${WRKSRC}/configure |
29 |
${WRKSRC}/configure |
30 |
|
30 |
|
31 |
do-install: |
31 |
do-install: |
32 |
${INSTALL_PROGRAM} ${WRKSRC}/ns ${PREFIX}/bin |
32 |
${INSTALL_PROGRAM} ${WRKSRC}/ns ${PREFIX}/bin |
33 |
${INSTALL_MAN} ${WRKSRC}/ns.1 ${MANPREFIX}/man/man1 |
33 |
${INSTALL_MAN} ${WRKSRC}/ns.1 ${MANPREFIX}/man/man1 |
|
|
34 |
.if !defined(NOPORTDOCS) |
34 |
${MKDIR} ${EXAMPLESDIR} |
35 |
${MKDIR} ${EXAMPLESDIR} |
35 |
${INSTALL_DATA} ${WRKSRC}/tcl/ex/*.tcl ${EXAMPLESDIR} |
36 |
${INSTALL_DATA} ${WRKSRC}/tcl/ex/*.tcl ${EXAMPLESDIR} |
|
|
37 |
.endif |
36 |
|
38 |
|
37 |
.include <bsd.port.mk> |
39 |
.include <bsd.port.mk> |