Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/tcl.mk
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | |||||
# When adding a version, please keep the comment in | # When adding a version, please keep the comment in | ||||
# Mk/bsd.default-versions.mk in sync. | # Mk/bsd.default-versions.mk in sync. | ||||
_TCLTK_VALID_VERSIONS= 84 85 86 | _TCLTK_VALID_VERSIONS= 84 85 86 | ||||
# | # | ||||
# Bring in the default and check that the specified version is in the list of | # Bring in the default and check that the specified version is in the list of | ||||
# valid versions. | # valid versions. | ||||
# | # | ||||
.include "${PORTSDIR}/Mk/bsd.default-versions.mk" | |||||
_TCLTK_DEFAULT_VERSION= ${TCLTK_DEFAULT:S/.//} | _TCLTK_DEFAULT_VERSION= ${TCLTK_DEFAULT:S/.//} | ||||
.if ! ${_TCLTK_VALID_VERSIONS:M${_TCLTK_DEFAULT_VERSION}} | .if ! ${_TCLTK_VALID_VERSIONS:M${_TCLTK_DEFAULT_VERSION}} | ||||
IGNORE= Invalid tcltk version ${TCLTK_DEFAULT} | IGNORE= Invalid tcltk version ${TCLTK_DEFAULT} | ||||
.endif | .endif | ||||
# | # | ||||
# _TCLTK_PORT tells us whether we're depending on Tcl or Tk. When using | # _TCLTK_PORT tells us whether we're depending on Tcl or Tk. When using | ||||
# USES+=tk, the included file tk.mk sets this before including this file. | # USES+=tk, the included file tk.mk sets this before including this file. | ||||
▲ Show 20 Lines • Show All 132 Lines • Show Last 20 Lines |