Lines 7-13
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= tcl |
8 |
PORTNAME= tcl |
9 |
PORTVERSION= 8.5.a.5 |
9 |
PORTVERSION= 8.5.a.5 |
10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 2 |
11 |
CATEGORIES= lang |
11 |
CATEGORIES= lang |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITE_SUBDIR= tcl |
13 |
MASTER_SITE_SUBDIR= tcl |
Lines 25-38
Link Here
|
25 |
CONFIGURE_ARGS= --enable-shared --includedir=${PREFIX}/include/tcl${TCL_VER} |
25 |
CONFIGURE_ARGS= --enable-shared --includedir=${PREFIX}/include/tcl${TCL_VER} |
26 |
CONFIGURE_ENV= PORTSDIR=${PORTSDIR} |
26 |
CONFIGURE_ENV= PORTSDIR=${PORTSDIR} |
27 |
MAKE_ENV= SHORT_TCL_VER=85 LANG=C LC_ALL=C # LANG=C is required for some of UTF-using tests |
27 |
MAKE_ENV= SHORT_TCL_VER=85 LANG=C LC_ALL=C # LANG=C is required for some of UTF-using tests |
28 |
PKGINSTALL= ${PKGDIR}/pkg-install.tclsh |
|
|
29 |
PKGDEINSTALL= ${PKGDIR}/pkg-deinstall.tclsh |
30 |
TCL_VER= 8.5 |
28 |
TCL_VER= 8.5 |
31 |
NOPRECIOUSMAKEVARS= Too many _MLINKS for README.html |
29 |
NOPRECIOUSMAKEVARS= Too many _MLINKS for README.html |
32 |
PLIST_SUB= TCL_VER=${TCL_VER} SHORT_TCL_VER=85 |
30 |
PLIST_SUB= TCL_VER=${TCL_VER} SHORT_TCL_VER=85 |
33 |
EXTRACT_AFTER_ARGS=|${TAR} -xpf - --exclude compat/ |
31 |
EXTRACT_AFTER_ARGS=|${TAR} -xpf - --exclude compat/ |
34 |
|
32 |
|
35 |
OPTIONS= NO_TCL85_MAN "Do not install tcl85 manpages" off |
33 |
OPTIONS= TCL85_MAN "Install tcl 8.5 manpages" on \ |
|
|
34 |
TCLSH_WRAPPER "Require tclsh wrapper from ports" off |
36 |
|
35 |
|
37 |
.include <bsd.port.pre.mk> |
36 |
.include <bsd.port.pre.mk> |
38 |
|
37 |
|
Lines 50-60
Link Here
|
50 |
|
49 |
|
51 |
LATEST_LINK= tcl85${THREADS_SUFFIX} |
50 |
LATEST_LINK= tcl85${THREADS_SUFFIX} |
52 |
|
51 |
|
53 |
.if defined(NOPORTDOCS) |
52 |
.if defined(WITH_TCLSH_WRAPPER) |
54 |
NO_INSTALL_MANPAGES= true |
53 |
RUN_DEPENDS+= tclsh:${PORTSDIR}/lang/tcl-tk-wrapper |
55 |
.endif |
54 |
.endif |
56 |
|
55 |
|
57 |
.if defined(NO_INSTALL_MANPAGES) || defined(WITH_NO_TCL85_MAN) |
56 |
.if defined(NO_INSTALL_MANPAGES) || defined(WITHOUT_TCL85_MAN) |
58 |
|
57 |
|
59 |
PLIST_SUB+= INSTMAN='@comment ' |
58 |
PLIST_SUB+= INSTMAN='@comment ' |
60 |
|
59 |
|
Lines 703-709
Link Here
|
703 |
${REINPLACE_CMD} \ |
702 |
${REINPLACE_CMD} \ |
704 |
-e 's,-DNO_MEMMOVE=1,,' -e 's,-DNO_STRING_H=1,,' \ |
703 |
-e 's,-DNO_MEMMOVE=1,,' -e 's,-DNO_STRING_H=1,,' \ |
705 |
-e 's,^COMPAT_OBJS.*,,' ${WRKSRC}/Makefile |
704 |
-e 's,^COMPAT_OBJS.*,,' ${WRKSRC}/Makefile |
706 |
.if defined(NO_INSTALL_MANPAGES) || defined(WITH_NO_TCL85_MAN) |
705 |
.if defined(NO_INSTALL_MANPAGES) || defined(WITHOUT_TCL85_MAN) |
707 |
${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \ |
706 |
${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \ |
708 |
${WRKSRC}/Makefile |
707 |
${WRKSRC}/Makefile |
709 |
. for mp in ${MAN1} ${MAN3} ${MANN} |
708 |
. for mp in ${MAN1} ${MAN3} ${MANN} |
Lines 724-730
Link Here
|
724 |
.if exists(${PKGINSTALL}) |
723 |
.if exists(${PKGINSTALL}) |
725 |
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} |
724 |
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} |
726 |
.endif |
725 |
.endif |
727 |
.if !defined(NO_INSTALL_MANPAGES) && !defined(WITH_NO_TCL85_MAN) |
726 |
.if !defined(NO_INSTALL_MANPAGES) && !defined(WITHOUT_TCL85_MAN) |
728 |
${MKDIR} ${DATADIR} |
727 |
${MKDIR} ${DATADIR} |
729 |
${INSTALL_DATA} ${WRKSRC}/../doc/man.macros ${DATADIR} |
728 |
${INSTALL_DATA} ${WRKSRC}/../doc/man.macros ${DATADIR} |
730 |
.endif |
729 |
.endif |