diff options
author | miwi <miwi@FreeBSD.org> | 2007-03-08 22:28:16 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-03-08 22:28:16 +0800 |
commit | f796f25df1dfab23c370b39e3fdb8acf3d17f980 (patch) | |
tree | 67285e5c28d0e4982aa5680ae2ba229e48b28eeb /lang/tcl86/Makefile | |
parent | 4e37d2f085197187364ff1e9139e006125b4b415 (diff) | |
download | freebsd-ports-gnome-f796f25df1dfab23c370b39e3fdb8acf3d17f980.tar.gz freebsd-ports-gnome-f796f25df1dfab23c370b39e3fdb8acf3d17f980.tar.zst freebsd-ports-gnome-f796f25df1dfab23c370b39e3fdb8acf3d17f980.zip |
- Adds TCL85_MAN and TCLSH_WRAPPER to OPTIONS
- Removes pseudo-installation of tclsh in favour of new lang/tcl-tk-wrapper port
- Replaces NO_TCL85_MAN with WITHOUT_TCL85_MAN to comply with structure of lang/tcl84
- Removes NOPORTDOCS because NO_INSTALL_MANPAGES and NOPORTDOCS aren't the same
PR: 110083
Submitted by: Martin Matuska <martin@matuska.org> (maintainer)
Diffstat (limited to 'lang/tcl86/Makefile')
-rw-r--r-- | lang/tcl86/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/lang/tcl86/Makefile b/lang/tcl86/Makefile index 090ed8ea7e72..578eaaf04ab6 100644 --- a/lang/tcl86/Makefile +++ b/lang/tcl86/Makefile @@ -7,7 +7,7 @@ PORTNAME= tcl PORTVERSION= 8.5.a.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= tcl @@ -25,14 +25,13 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared --includedir=${PREFIX}/include/tcl${TCL_VER} CONFIGURE_ENV= PORTSDIR=${PORTSDIR} MAKE_ENV= SHORT_TCL_VER=85 LANG=C LC_ALL=C # LANG=C is required for some of UTF-using tests -PKGINSTALL= ${PKGDIR}/pkg-install.tclsh -PKGDEINSTALL= ${PKGDIR}/pkg-deinstall.tclsh TCL_VER= 8.5 NOPRECIOUSMAKEVARS= Too many _MLINKS for README.html PLIST_SUB= TCL_VER=${TCL_VER} SHORT_TCL_VER=85 EXTRACT_AFTER_ARGS=|${TAR} -xpf - --exclude compat/ -OPTIONS= NO_TCL85_MAN "Do not install tcl85 manpages" off +OPTIONS= TCL85_MAN "Install tcl 8.5 manpages" on \ + TCLSH_WRAPPER "Require tclsh wrapper from ports" off .include <bsd.port.pre.mk> @@ -50,11 +49,11 @@ CONFLICTS= tcl-threads-8.5* LATEST_LINK= tcl85${THREADS_SUFFIX} -.if defined(NOPORTDOCS) -NO_INSTALL_MANPAGES= true +.if defined(WITH_TCLSH_WRAPPER) +RUN_DEPENDS+= tclsh:${PORTSDIR}/lang/tcl-tk-wrapper .endif -.if defined(NO_INSTALL_MANPAGES) || defined(WITH_NO_TCL85_MAN) +.if defined(NO_INSTALL_MANPAGES) || defined(WITHOUT_TCL85_MAN) PLIST_SUB+= INSTMAN='@comment ' @@ -703,7 +702,7 @@ post-configure: ${REINPLACE_CMD} \ -e 's,-DNO_MEMMOVE=1,,' -e 's,-DNO_STRING_H=1,,' \ -e 's,^COMPAT_OBJS.*,,' ${WRKSRC}/Makefile -.if defined(NO_INSTALL_MANPAGES) || defined(WITH_NO_TCL85_MAN) +.if defined(NO_INSTALL_MANPAGES) || defined(WITHOUT_TCL85_MAN) ${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \ ${WRKSRC}/Makefile . for mp in ${MAN1} ${MAN3} ${MANN} @@ -724,7 +723,7 @@ post-install: .if exists(${PKGINSTALL}) ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} .endif -.if !defined(NO_INSTALL_MANPAGES) && !defined(WITH_NO_TCL85_MAN) +.if !defined(NO_INSTALL_MANPAGES) && !defined(WITHOUT_TCL85_MAN) ${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/../doc/man.macros ${DATADIR} .endif |