Fix PLIST when official branding is disabled.

This commit is contained in:
tnn 2011-07-11 13:17:40 +00:00
parent df44046b66
commit 99e23778fe
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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