summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorghen <ghen>2006-02-02 14:03:49 +0000
committerghen <ghen>2006-02-02 14:03:49 +0000
commit9edb6122f3385835faaf79078ca2014180c681cd (patch)
tree9b48678476389302b787437b5697dd9486fa2ad0 /www
parent2207d04891312024606bf48dd0a5adbf6af6c204 (diff)
downloadpkgsrc-9edb6122f3385835faaf79078ca2014180c681cd.tar.gz
Add an option to build Firefox with the official name and logo. Without this,
Firefox is called "Deerpark" and has the blue globe logo without the fox. As of currently, we do not have permission of The Mozilla Foundation to redistribute builds with official branding, but users are allowed to build it for themselves, hence the option. Once we've got this permission from Mozilla (Hubert and I are working on this), this option will become a default. The same will apply to Thunderbird once we've updated it to 1.5. Ok by hubertf.
Diffstat (limited to 'www')
-rw-r--r--www/mozilla/options.mk17
1 files changed, 16 insertions, 1 deletions
diff --git a/www/mozilla/options.mk b/www/mozilla/options.mk
index 4473769d328..316e08d0d3d 100644
--- a/www/mozilla/options.mk
+++ b/www/mozilla/options.mk
@@ -1,8 +1,12 @@
-# $NetBSD: options.mk,v 1.1 2005/11/26 22:09:25 martin Exp $
+# $NetBSD: options.mk,v 1.2 2006/02/02 14:03:49 ghen Exp $
PKG_OPTIONS_VAR = PKG_OPTIONS.gecko
PKG_SUPPORTED_OPTIONS = debug
+.if( ${MOZILLA_BIN} == "firefox-bin" )
+PKG_SUPPORTED_OPTIONS += official-mozilla-branding
+.endif
+
.include "../../mk/bsd.options.mk"
# this .if test looks backward, but the missing options disables debug,
@@ -10,3 +14,14 @@ PKG_SUPPORTED_OPTIONS = debug
.if empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --disable-debug
.endif
+
+# Enable Official mozilla.org Branding for Firefox.
+# Note that you cannot distribute builds with Official Branding
+# without permission of the Mozilla Foundation.
+# See http://www.mozilla.org/foundation/trademarks/
+.if !empty(PKG_OPTIONS:Mofficial-mozilla-branding)
+CONFIGURE_ARGS+= --enable-official-branding
+RESTRICTED= "Cannot redistribute builds with Official Branding at this moment, we need permission of The Mozilla Foundation for this."
+NO_BIN_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+.endif