# Created by: jkh # $FreeBSD$ PORTNAME= tcl PORTVERSION= 8.4.20 PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= lang tcl MASTER_SITES= TCLTK/tcl8_4 \ SF/tcl/Tcl/${PORTVERSION} PKGNAMESUFFIX= ${PORTVERSION:R:S/.//} DISTNAME= ${PORTNAME}${PORTVERSION}-src MAINTAINER= tcltk@FreeBSD.org COMMENT= Tool Command Language LICENSE= TclTk LICENSE_NAME= Tcl/Tk License LICENSE_FILE= ${WRKSRC}/../license.terms LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept OPTIONS_DEFINE= TCLMAN THREADS OPTIONS_DEFAULT=THREADS TCLMAN_DESC= Install Tcl function manpages WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix ALL_TARGET= all INSTALL_TARGET= install install-libraries USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared \ --enable-man-suffix=.${MAN_SUFFIX} \ --includedir=${PREFIX}/include/tcl${TCL_VER} CONFIGURE_ENV= PORTSDIR=${PORTSDIR} TCL_VER= 8.4 SHORT_TCL_VER= ${TCL_VER:S/8./8/} MAN_SUFFIX= ${PKGBASE} MAKE_ENV= SHORT_TCL_VER="${SHORT_TCL_VER}" \ MAN_SUFFIX=.${MAN_SUFFIX} \ LANG=C LC_ALL=C # LANG=C is required for some of UTF-using tests PLIST_SUB= TCL_VER=${TCL_VER} \ SHORT_TCL_VER=${SHORT_TCL_VER} .include .if ${PORT_OPTIONS:MTCLMAN} INSTALL_TARGET+=install-doc PLIST_SUB+= MAN="" .else PLIST_SUB+= MAN="@comment " .endif .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+= --enable-threads .else CONFIGURE_ARGS+= --disable-threads .endif post-patch: ${REINPLACE_CMD} -e \ 's|@TCL_BUILD_LIB_SPEC@|@TCL_LIB_SPEC@|; \ s|@TCL_BUILD_STUB_LIB_SPEC@|@TCL_STUB_LIB_SPEC@|; \ s|@TCL_BUILD_STUB_LIB_PATH@|@TCL_STUB_LIB_PATH@|; \ s|@TCL_SRC_DIR@|${PREFIX}/include/tcl${TCL_VER}|' \ ${WRKSRC}/tclConfig.sh.in post-configure: ${REINPLACE_CMD} \ -e 's,-DNO_MEMMOVE=1,,' -e 's,-DNO_STRING_H=1,,' \ -e 's,^COMPAT_OBJS.*,,' ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tclsh${TCL_VER} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtcl${SHORT_TCL_VER}.so.1 regression-test: build cd ${WRKSRC} && LC_ALL=C ${MAKE} test .include s/lodash-4.17.19 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Don't override upstream pathsamdmi32015-06-025-58/+18
* - Revive mail/smfsavamdmi32015-05-315-0/+145
* Remove non staged ports without pending PR from ma*bapt2014-09-025-146/+0
* - Update MASTER_SITESpawel2012-11-024-87/+3
* In the rc.d scripts, change assignments to rcvar to use thedougb2012-01-141-1/+1