diff options
author | taca <taca@pkgsrc.org> | 2013-08-30 15:46:25 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2013-08-30 15:46:25 +0000 |
commit | 9bc511d57ac5d207b7d17cdb137e62d6c4d04203 (patch) | |
tree | 05d8ab48fc5c21cc6f8523b8368044826132e82d /www/contao | |
parent | cd169f78f9fd21f6e4c1b68ef12b4766be0ae72d (diff) | |
download | pkgsrc-9bc511d57ac5d207b7d17cdb137e62d6c4d04203.tar.gz |
Contao project has switched download site from SourceForge.net to GitHub.
So, change primary download download.contao.org which redirects to GitHub.
No functional change should be made.
Diffstat (limited to 'www/contao')
-rw-r--r-- | www/contao/Makefile.common | 14 | ||||
-rw-r--r-- | www/contao/Makefile.example | 4 |
2 files changed, 12 insertions, 6 deletions
diff --git a/www/contao/Makefile.common b/www/contao/Makefile.common index 0b42c0f9668..d98e8751592 100644 --- a/www/contao/Makefile.common +++ b/www/contao/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.39 2013/08/27 16:08:03 taca Exp $ +# $NetBSD: Makefile.common,v 1.40 2013/08/30 15:46:25 taca Exp $ # # used by www/contao/Makefile.example" # used by www/contao211/Makefile @@ -6,6 +6,10 @@ # used by www/contao30/Makefile # +# Contao master site (on GitHub). +CT_MASTER_SITE= https://download.contao.org/ \ + https://github.com/contao/core/archive/ \ + # current release CT211_VERSION= 2.11.12 CT300_VERSION= 3.0.6 @@ -26,9 +30,6 @@ CT_VERSION= ${CT310_VERSION} .if ${CT_VERS} == "211" CT_FILES= tl_files .else -. if ${CT_VERS} == "30" -CT_DIST_SUBDIR= contao-20120109 -. endif CT_FILES= files FILESDIR= ${.CURDIR}/../../www/contao/files .endif @@ -37,12 +38,17 @@ CT_VER= ${CT_VERSION:C/([0-9]+)\.([0-9]+)\..*/\1\2/} CT_VERBASE= ${CT_VERSION:C/([0-9]+)\.([0-9]+)\..*/\1.\2/} CT_PKGVER= ${CT_VERSION:S/.RC/rc/} +DIST_SUBDIR?= contao +FETCH_USING?= curl + FILES_SUBST+= PAX=${PAX} CT_EGDIR=${CT_EGDIR:Q} CT_WEBDIR=${CT_WEBDIR:Q} \ WWWGRP=${APACHE_GROUP:Q} WWWOWN=${APACHE_USER:Q} MESSAGE_SUBST+= CT_VER=${CT_VER} PLIST_SUBST+= CT_DOCDIR=${CT_DOCDIR:Q} CT_EGDIR=${CT_EGDIR:Q} \ CT_WEBDIR=${CT_WEBDIR:Q} +WRKSRC?= ${WRKDIR}/core-${CT_VERSION} + PRINT_PLIST_AWK+= /^${CT_WEBDIR:S|/|\\/|g}/ \ { gsub(/${CT_WEBDIR:S|/|\\/|g}/, "$${CT_WEBDIR}"); \ print; next; } diff --git a/www/contao/Makefile.example b/www/contao/Makefile.example index ae77fbdd293..93ea28053d8 100644 --- a/www/contao/Makefile.example +++ b/www/contao/Makefile.example @@ -1,10 +1,10 @@ -# $NetBSD: Makefile.example,v 1.10 2013/04/02 15:27:58 taca Exp $ +# $NetBSD: Makefile.example,v 1.11 2013/08/30 15:46:25 taca Exp $ # # used by www/contao211-example/Makefile # used by www/contao30-example/Makefile # -DISTNAME= contao-${CT_VERSION} +DISTNAME= ${CT_VERSION} PKGNAME= contao${CT_VER}-example-${CT_PKGVER} CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=contao/} |