summaryrefslogtreecommitdiff
path: root/www/firefox/Makefile
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2011-04-26 14:16:36 +0000
committertnn <tnn@pkgsrc.org>2011-04-26 14:16:36 +0000
commitebe13a565e5a28c90e9bf0044c56e8642a682587 (patch)
treeb1b32d7bc3532afc29b1589134d2e6300be8703c /www/firefox/Makefile
parent49e4fb0d37db073369664c1d74f050c872e82873 (diff)
downloadpkgsrc-ebe13a565e5a28c90e9bf0044c56e8642a682587.tar.gz
Update to firefox-4.0.
Firefox 4 is based on the Gecko 2.0 Web platform. This release features JavaScript execution speeds up to six times faster than the previous version, new capabilities for Web Developers and Add-on Developers such as hardware accelerated graphics and HTML5 technologies, and a completely revised user interface.
Diffstat (limited to 'www/firefox/Makefile')
-rw-r--r--www/firefox/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index d2d1c28739c..b51bc307cc6 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.84 2011/04/22 13:44:58 obache Exp $
+# $NetBSD: Makefile,v 1.85 2011/04/26 14:18:01 tnn Exp $
.include "../../devel/xulrunner/dist.mk"
PKGNAME= firefox-${FIREFOX_VER}
-PKGREVISION= 1
CATEGORIES= www
MAINTAINER= tnn@NetBSD.org
@@ -15,6 +14,8 @@ MOZILLA_DIR= # empty
CONFIGURE_ARGS+= --enable-application=browser
CONFIGURE_ARGS+= --with-libxul-sdk=${PREFIX}/lib/xulrunner-sdk
CONFIGURE_ARGS+= --with-system-libxul
+# XXX tnn with omnijar enabled it just doesn't start
+CONFIGURE_ARGS+= --enable-chrome-format=flat
ALL_ENV+= MOZILLA_PKG_NAME=firefox
@@ -23,15 +24,17 @@ ALL_ENV+= MOZILLA_PKG_NAME=firefox
MOZILLA=firefox
.if !empty(PKG_OPTIONS:Mofficial-mozilla-branding)
-MOZILLA_NAME= Firefox 3.6
+MOZILLA_NAME= Firefox
MOZILLA_ICON= ${WRKSRC}/other-licenses/branding/firefox/default48.png
.else
-MOZILLA_NAME= Browser 3.6
+MOZILLA_NAME= Browser
MOZILLA_ICON= ${WRKSRC}/browser/branding/unofficial/default48.png
.endif
pre-configure:
cd ${WRKSRC} && autoconf
+# XXX not built here, just to make check-portability.awk shut up.
+ cd ${WRKSRC}/js/src && autoconf
post-build:
${SED} -e 's|@MOZILLA@|${MOZILLA}|g' \
@@ -54,8 +57,10 @@ post-install:
BUILDLINK_API_DEPENDS.xulrunner+= xulrunner>=${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
BUILD_DEPENDS+= xulrunner-${MOZ_BRANCH}${MOZ_BRANCH_MINOR}{,nb*}:../../devel/xulrunner
.include "../../devel/xulrunner/buildlink3.mk"
+PLIST_VARS+= gnome
.if !empty(PKG_BUILD_OPTIONS.xulrunner:Mgnome)
CONFIGURE_ARGS+= --enable-gnomevfs --enable-dbus --enable-gnomeui
+PLIST.gnome= yes
.else
CONFIGURE_ARGS+= --disable-gnomevfs --disable-dbus --disable-gnomeui
.endif