diff options
author | Barbara Guida <bar@FreeBSD.org> | 2014-12-08 00:12:07 +0000 |
---|---|---|
committer | Barbara Guida <bar@FreeBSD.org> | 2014-12-08 00:12:07 +0000 |
commit | b93a63e555a2b2151af95cc39e6886382d23a4ea (patch) | |
tree | d72e49a8e8ffc61d838b6d7797f7b0f33e65847a | |
parent | - Remove not needed ACLOCAL_ARGS and AUTOMAKE_ARGS (diff) |
As it seems that MASTER_SITE_MOZILLA isn't hosting addons anymore, a new
variable MASTER_SITE_MOZILLA_ADDONS has been defined and set to
http://addons.cdn.mozilla.net/user-media/%SUBDIR%/
which unfortunately not browsable and AFAIK not mirrored.
I tried to keep the changes to the minimum and successfully (except for
adblock) tested the fetch target for XPIs not defining their own MASTER_SITE.
-rw-r--r-- | www/xpi-adblock/Makefile.xpi | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/www/xpi-adblock/Makefile.xpi b/www/xpi-adblock/Makefile.xpi index 8f9de8ace523..623391664664 100644 --- a/www/xpi-adblock/Makefile.xpi +++ b/www/xpi-adblock/Makefile.xpi @@ -2,7 +2,7 @@ # $FreeBSD$ # XPI_ID - Extension id, might be in {12345-...} or dev@org format -# XPI_NUM - Extension number, as in addons.mozilla.org URL +# XPI_NUM - Extension number, as in addons.cdn.mozilla.net URL # XPI_FILES - List of files in xpi archive. This is used to produce # PLIST_FILES. XPI_FILES can be generated by xpi-gen, but be # sure to put chrome.manifest in ${FILESDIR} before that if you @@ -13,7 +13,7 @@ # - These should all be set manually for port to be functional. See # ${PORTSDIR}/Mk/bsd.port.mk for details. # MASTER_SITES - This should be set if port is unavailable at the default site. -# Default: ${MASTER_SITE_MOZILLA} +# Default (defined below): ${MASTER_SITE_MOZILLA_ADDONS} # MASTER_SITE_SUBDIR # - Default: extensions/${PORTNAME} # LATEST_LINK - Default: ${PKGBASE:S/_//g} @@ -58,8 +58,10 @@ # xpi ports do not depend on their master applications. You can install an # extension before the app and run relink when the app is present. +MASTER_SITE_MOZILLA_ADDONS= http://addons.cdn.mozilla.net/user-media/%SUBDIR%/ + .ifndef MASTER_SITES -MASTER_SITES?= MOZILLA_EXTENDED +MASTER_SITES?= MOZILLA_ADDONS .ifdef XPI_NUM MASTER_SITE_SUBDIR?= addons/${XPI_NUM} .endif |