| @@ -1,37 +1,33 @@ | | | @@ -1,37 +1,33 @@ |
1 | # $NetBSD: Makefile.common,v 1.41 2013/09/04 02:38:31 taca Exp $ | | 1 | # $NetBSD: Makefile.common,v 1.42 2013/09/08 11:11:04 taca Exp $ |
2 | # | | 2 | # |
3 | # used by www/contao/Makefile.example" | | 3 | # used by www/contao/Makefile.example" |
4 | # used by www/contao211/Makefile | | 4 | # used by www/contao211/Makefile |
5 | # used by www/contao211-translations/Makefile | | 5 | # used by www/contao211-translations/Makefile |
6 | # used by www/contao30/Makefile | | | |
7 | # used by www/contao31/Makefile | | 6 | # used by www/contao31/Makefile |
8 | # | | 7 | # |
9 | | | 8 | |
10 | # Contao master site (on GitHub). | | 9 | # Contao master site (on GitHub). |
11 | CT_MASTER_SITE= https://download.contao.org/ \ | | 10 | CT_MASTER_SITE= https://download.contao.org/ \ |
12 | https://github.com/contao/core/archive/ \ | | 11 | https://github.com/contao/core/archive/ \ |
13 | | | 12 | |
14 | # current release | | 13 | # current release |
15 | CT211_VERSION= 2.11.12 | | 14 | CT211_VERSION= 2.11.12 |
16 | CT300_VERSION= 3.0.6 | | | |
17 | CT310_VERSION= 3.1.2 | | 15 | CT310_VERSION= 3.1.2 |
18 | | | 16 | |
19 | CT_VERS?= 211 | | 17 | CT_VERS?= 211 |
20 | | | 18 | |
21 | .if ${CT_VERS} == "211" | | 19 | .if ${CT_VERS} == "211" |
22 | CT_VERSION= ${CT211_VERSION} | | 20 | CT_VERSION= ${CT211_VERSION} |
23 | .elif ${CT_VERS} == "30" | | | |
24 | CT_VERSION= ${CT300_VERSION} | | | |
25 | .elif ${CT_VERS} == "31" | | 21 | .elif ${CT_VERS} == "31" |
26 | CT_VERSION= ${CT310_VERSION} | | 22 | CT_VERSION= ${CT310_VERSION} |
27 | .else | | 23 | .else |
28 | .error "Illegal version specified: ${CT_VERS}" | | 24 | .error "Illegal version specified: ${CT_VERS}" |
29 | .endif | | 25 | .endif |
30 | | | 26 | |
31 | .if ${CT_VERS} == "211" | | 27 | .if ${CT_VERS} == "211" |
32 | CT_FILES= tl_files | | 28 | CT_FILES= tl_files |
33 | .else | | 29 | .else |
34 | CT_FILES= files | | 30 | CT_FILES= files |
35 | FILESDIR= ${.CURDIR}/../../www/contao/files | | 31 | FILESDIR= ${.CURDIR}/../../www/contao/files |
36 | .endif | | 32 | .endif |
37 | | | 33 | |