summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/xpi-adblock/Makefile.xpi8
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