aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.default-versions.mk
blob: 45ea894241ae0355e9518cabc643327777a911a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $FreeBSD$
#
# MAINTAINER:   ports@FreeBSD.org
#
# Handle the default versions for users chosable multi versions.
#
# It expects users to define DEFAULT_VERSIONS in their 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