aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-03-30 15:23:11 +0800
committersat <sat@FreeBSD.org>2007-03-30 15:23:11 +0800
commit699c2c65671f85bc778085e37060ad2fdae48d65 (patch)
tree6cf6a0d3b165062c3b3f1f1f211ec6ba2e44c2cb /www
parent69a6c679d7416cc9f43e42071fbcf6bb3c42ffb6 (diff)
downloadfreebsd-ports-gnome-699c2c65671f85bc778085e37060ad2fdae48d65.tar.gz
freebsd-ports-gnome-699c2c65671f85bc778085e37060ad2fdae48d65.tar.zst
freebsd-ports-gnome-699c2c65671f85bc778085e37060ad2fdae48d65.zip
- Add XPI_NUM macro to chase addons.mozilla.org brain surgery
Diffstat (limited to 'www')
-rw-r--r--www/xpi-adblock/Makefile.xpi7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/xpi-adblock/Makefile.xpi b/www/xpi-adblock/Makefile.xpi
index 60b32995ee1c..232110d51c41 100644
--- a/www/xpi-adblock/Makefile.xpi
+++ b/www/xpi-adblock/Makefile.xpi
@@ -9,6 +9,7 @@
#
# XPI_ID - Extension id, might be in {12345-...} or dev@org format
+# XPI_NUM - Extension number, as in addons.mozilla.org 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
@@ -67,6 +68,9 @@
.ifndef MASTER_SITES
MASTER_SITES?= MOZILLA_EXTENDED
+.ifdef XPI_NUM
+MASTER_SITE_SUBDIR?= addons/${XPI_NUM}
+.endif
MASTER_SITE_SUBDIR?= extensions/${XPI_DISTNAME}
.endif
PKGNAMEPREFIX?= xpi-
@@ -81,8 +85,11 @@ EXTRACT_AFTER_ARGS= -d ${WRKSRC}
XPI_DISTNAME?= ${PORTNAME}
XPI_APPS_ALL_WC= *firefox* *thunderbird* *flock*
+# *nvu* *sunbird*
XPI_APPS_ALL= firefox firefox-devel linux-firefox linux-firefox-devel \
thunderbird linux-thunderbird flock linux-flock
+# nvu linux-nvu sunbird linux-sunbird
+# Other apps: mango
# === Let's process WITH_XPI into WITH_XPI_APPS
WITH_XPI_TUPLES= ${WITH_XPI:M*?\:?*}