# $Id$ PortSystem 1.0 name firefox-x11 categories www x11 version 2.0.0.11 revision 1 platforms darwin maintainers nomaintainer description Mozilla.org's popular stand-alone browser long_description \ Firefox empowers you to browse faster, more safely and more \ efficiently than with any other browser. Join more than 44 \ million others and make the switch today. Firefox imports \ your Favorites, settings and other information, so you have \ nothing to lose. homepage http://www.mozilla.com/firefox/ master_sites http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/ distname firefox-${version}-source use_bzip2 yes checksums md5 b2f982f9f3085195d4797957537ca75d \ sha1 6d070bf04f1a037b621237d02ef9be7802a51bf1 worksrcdir mozilla patchfiles patch-browser-app-profile-firefox.js \ patch-xpcom-build-Makefile \ patch-dylib_file.diff \ patch-export-list.diff \ patch-layout-build-Makefile.in \ patch-build-unix-mozilla-xpcom.pc \ patch-browser-app-mozilla.in \ patch-xptcall_x86.diff \ patch-pthread.diff depends_build port:pkgconfig depends_lib port:libidl \ port:glib2 \ port:zip \ port:gtk2 \ port:gnome-vfs \ port:gnome-icon-theme \ port:cairo \ port:nsrp configure.args --enable-application=browser \ --disable-official-branding \ --with-distribution-id=org.macports \ --disable-static \ --enable-shared \ --enable-default-toolkit=gtk2 \ --enable-xft \ --disable-freetype2 \ --enable-xinerama \ --with-pthreads \ --enable-gnomevfs \ --enable-postscript \ --disable-prebinding \ --disable-debug \ --enable-strip \ --enable-optimize='-O2' \ --disable-tests \ --with-default-mozilla-five-home=${prefix}/lib/firefox \ --with-system-jpeg=${prefix} \ --with-system-zlib=${prefix} \ --with-system-png=${prefix} \ --enable-system-cairo \ --with-system-cairo=${prefix} \ --with-system-nspr \ --with-nspr-prefix=${prefix} variant debug { configure.args-delete --disable-debug \ --enable-optimize='-O2' \ --enable-strip configure.args-append --enable-debug \ --disable-optimize \ --disable-strip } post-destroot { file mkdir ${destroot}${prefix}/share/applications copy \ ${filespath}/share-applications-firefox.desktop \ ${destroot}${prefix}/share/applications/firefox.desktop }