Lines 6-33
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= tclcl |
8 |
PORTNAME= tclcl |
9 |
PORTVERSION= 1.16 |
9 |
PORTVERSION= 1.18 |
|
|
10 |
DISTVERSIONPREFIX= src- |
10 |
CATEGORIES= devel tcl84 tk84 |
11 |
CATEGORIES= devel tcl84 tk84 |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= otcl-tclcl |
13 |
MASTER_SITE_SUBDIR= otcl-tclcl |
13 |
DISTFILES= tclcl-src-${PORTVERSION}.tar.gz |
|
|
14 |
|
14 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= martin@matuska.org |
16 |
COMMENT= Tcl/C++ interface used by ns and nam |
16 |
COMMENT= Tcl/C++ interface used by ns and nam |
17 |
|
17 |
|
18 |
LIB_DEPENDS= tk84:${PORTSDIR}/x11-toolkits/tk84 \ |
18 |
LIB_DEPENDS= otcl:${PORTSDIR}/lang/otcl |
19 |
otcl:${PORTSDIR}/lang/otcl |
|
|
20 |
|
19 |
|
|
|
20 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
21 |
|
22 |
USE_TK= yes |
23 |
USE_TK_BUILD= yes |
24 |
USE_AUTOTOOLS= autoconf:259 |
21 |
GNU_CONFIGURE= yes |
25 |
GNU_CONFIGURE= yes |
22 |
CONFIGURE_ARGS= --with-tcl-ver=8.4 --with-tk-ver=8.4 \ |
26 |
|
23 |
--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include |
27 |
.if !defined(NOPORTDOCS) |
|
|
28 |
PORTDOCS= CHANGES.html |
29 |
.endif |
24 |
|
30 |
|
25 |
.include <bsd.port.pre.mk> |
31 |
.include <bsd.port.pre.mk> |
26 |
|
32 |
|
|
|
33 |
CONFIGURE_ARGS= --with-tcl-ver=${TCL_VER} --with-tk-ver=${TK_VER} \ |
34 |
--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include |
35 |
|
27 |
do-install: |
36 |
do-install: |
28 |
${INSTALL_PROGRAM} ${WRKSRC}/tcl2c++ ${PREFIX}/bin |
37 |
${INSTALL_PROGRAM} ${WRKSRC}/tcl2c++ ${PREFIX}/bin |
29 |
${INSTALL_SCRIPT} ${WRKSRC}/otcldoc ${PREFIX}/bin |
38 |
${INSTALL_SCRIPT} ${WRKSRC}/otcldoc ${PREFIX}/bin |
30 |
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include |
39 |
${MKDIR} ${PREFIX}/include/tclcl |
|
|
40 |
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/tclcl |
31 |
${INSTALL_DATA} ${WRKSRC}/libtclcl.a ${PREFIX}/lib |
41 |
${INSTALL_DATA} ${WRKSRC}/libtclcl.a ${PREFIX}/lib |
32 |
@${LN} -sf ${PREFIX}/lib/libtclcl.a ${PREFIX}/lib/libTcl.a |
42 |
@${LN} -sf ${PREFIX}/lib/libtclcl.a ${PREFIX}/lib/libTcl.a |
|
|
43 |
|
44 |
post-install: |
45 |
.if !defined(NOPORTDOCS) |
46 |
@${MKDIR} ${DOCSDIR} |
47 |
.for FILE in ${PORTDOCS} |
48 |
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} |
49 |
.endfor |
50 |
.endif |
51 |
|
33 |
.include <bsd.port.post.mk> |
52 |
.include <bsd.port.post.mk> |