1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/Mk/Uses/tk.mk
Pietro Cerutti c8209f84b4 - Implement USES+=tcl and USES+=tk
- Use bsd.default-versions.mk to specify the default Tcl/Tk version (8.6)
- Add warnings about the now deprecated use of USE_TCL, USE_TK, ...

  Notes:

  * USES+=tcl and USES+=tk take the following optional arguments

    - either a version in the form of XY or XY+, or 'wrapper' to depend on
      lang/tcl-wrapper or x11-toolkits/tk-wrapper

    - either 'build' (bring in build depend) or 'run' (bring in run depend)

  * it is an error to specify both 'tcl' and 'tk' in USES.

  * The functionality currently implemented via INVALID_TCL_VER and
    INVALID_TK_VER is not yet available.

Approved by:	bapt (portmgr)
2013-09-19 09:49:52 +00:00

18 lines
236 B
Makefile

# $FreeBSD$
#
# vim: ts=8 noexpandtab
#
#
.if ${USES:Mtcl} || ${USES:Mtcl\:*}
IGNORE= Do not set both tcl and tk in USES
.endif
.if defined(tk_ARGS)
tcl_ARGS:= ${tk_ARGS}
.endif
_TCLTK_PORT= tk
.include "${PORTSDIR}/Mk/Uses/tcl.mk"