summaryrefslogtreecommitdiff
path: root/www/firefox
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2011-07-11 13:17:40 +0000
committertnn <tnn@pkgsrc.org>2011-07-11 13:17:40 +0000
commitba588f4dee22c1a399f0a375fee4334ab46145b6 (patch)
treed1c6058b3c47f20b0fbe427cfa6acaa0f263e649 /www/firefox
parent7102b4c1f05175930ae32269e0c644d9cac9f315 (diff)
downloadpkgsrc-ba588f4dee22c1a399f0a375fee4334ab46145b6.tar.gz
Fix PLIST when official branding is disabled.
Diffstat (limited to 'www/firefox')
-rw-r--r--www/firefox/PLIST3
-rw-r--r--www/firefox/options.mk5
2 files changed, 6 insertions, 2 deletions
diff --git a/www/firefox/PLIST b/www/firefox/PLIST
index 64d8b604be0..578ca9ee49d 100644
--- a/www/firefox/PLIST
+++ b/www/firefox/PLIST
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.42 2011/04/26 14:18:01 tnn Exp $
+@comment $NetBSD: PLIST,v 1.43 2011/07/11 13:17:40 tnn Exp $
bin/firefox
lib/firefox/README.txt
lib/firefox/application.ini
lib/firefox/blocklist.xml
lib/firefox/chrome.manifest
+${PLIST.nobranding}lib/firefox/chrome/browser/content/branding/about-background.png
lib/firefox/chrome/browser/content/branding/about-logo.png
lib/firefox/chrome/browser/content/branding/about-wordmark.png
lib/firefox/chrome/browser/content/branding/about.png
diff --git a/www/firefox/options.mk b/www/firefox/options.mk
index b2f40708b0a..f975f69900f 100644
--- a/www/firefox/options.mk
+++ b/www/firefox/options.mk
@@ -1,14 +1,17 @@
-# $NetBSD: options.mk,v 1.9 2010/03/16 15:57:03 tnn Exp $
+# $NetBSD: options.mk,v 1.10 2011/07/11 13:17:40 tnn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.firefox
PKG_SUPPORTED_OPTIONS= official-mozilla-branding
.include "../../mk/bsd.options.mk"
+PLIST_VARS+= nobranding
.if !empty(PKG_OPTIONS:Mofficial-mozilla-branding)
CONFIGURE_ARGS+= --enable-official-branding
LICENSE= mozilla-trademark-license
RESTRICTED= Trademark holder prohibits distribution of modified versions.
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
+.else
+PLIST.nobranding= yes
.endif