f106670c04
new DEFAULT_VERSIONS variable. PYTHON_DEFAULT_VERSION, PYTHON2_DEFAULT_VERSION and PYTHON3_DEFAULT_VERSION are deprecated. If you have set them in your make.conf, you should change them something like DEFAULT_VERSIONS=python=2.7 python2=2.7 python3=3.3
27 lines
570 B
Makefile
27 lines
570 B
Makefile
# $FreeBSD$
|
|
#
|
|
# MAINTAINER: ports@FreeBSD.org
|
|
#
|
|
# Handle the default versions for users chosable multi versions.
|
|
#
|
|
# It expects users to define DEFAULT_VERSIONS in there make.conf
|
|
# Syntax is the following:
|
|
#
|
|
# DEFAULT_VERSIONS= perl5=5.18 ruby=2.0
|
|
|
|
.if !defined(_INCLUDE_BSD_DEFAULT_VERSIONS_MK)
|
|
_INCLUDE_BSD_DEFAULT_VERSIONS_MK= yes
|
|
|
|
.for lang in ${DEFAULT_VERSIONS}
|
|
_l= ${lang:C/=.*//g}
|
|
${_l:U}_DEFAULT= ${lang:C/.*=//g}
|
|
.endfor
|
|
|
|
PERL5_DEFAULT?= 5.14
|
|
RUBY_DEFAULT?= 1.9
|
|
TCLTK_DEFAULT?= 8.6
|
|
PYTHON_DEFAULT?= 2.7
|
|
PYTHON2_DEFAULT?= 2.7
|
|
PYTHON3_DEFAULT?= 3.3
|
|
|
|
.endif
|