diff options
author | taca <taca@pkgsrc.org> | 2011-08-12 12:48:48 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2011-08-12 12:48:48 +0000 |
commit | d9129175f2486b1fcf8f69201375e3dd94c05d12 (patch) | |
tree | 4edde952cabb8583b92608628cc63467f7846be4 /www/contao | |
parent | 6c0806100011b525424ba4f66b5e5b9314ef010b (diff) | |
download | pkgsrc-d9129175f2486b1fcf8f69201375e3dd94c05d12.tar.gz |
Move contao's version information to here.
Diffstat (limited to 'www/contao')
-rw-r--r-- | www/contao/Makefile.common | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/www/contao/Makefile.common b/www/contao/Makefile.common index a1591a981ed..b944702f254 100644 --- a/www/contao/Makefile.common +++ b/www/contao/Makefile.common @@ -1,10 +1,27 @@ -# $NetBSD: Makefile.common,v 1.1.1.1 2010/07/05 14:39:32 taca Exp $ +# $NetBSD: Makefile.common,v 1.2 2011/08/12 12:48:48 taca Exp $ # # used by www/contao29/Makefile # used by www/contao29-example/Makefile # used by www/contao29-translations/Makefile +# used by www/contao210/Makefile +# used by www/contao210-example/Makefile +# used by www/contao210-translations/Makefile # +# current release +CT29_VERSION= 2.9.5 +CT210_VERSION= 2.10.0 + +CT_VERS?= 210 + +.if ${CT_VERS} == "29" +CT_VERSION= ${CT29_VERSION} +.elif ${CT_VERS} == "210" +CT_VERSION= ${CT210_VERSION} +.else +.error "Illegal version specified: ${CT_VERS}" +.endif + CT_VER?= ${CT_VERSION:C/([0-9]+)\.([0-9]+)\..*/\1\2/} CT_PKGVER= ${CT_VERSION:S/.RC/rc/} |