# $Id: Portfile 38077 2008-07-05 21:37:56Z ryandesign@macports.org $ PortSystem 1.0 name firefox-x11 categories www x11 version 2.0.0.13 revision 1 platforms darwin maintainers nomaintainer description Mozilla.org's popular stand-alone web browser long_description \ Firefox empowers you to browse faster, more safely and more \ efficiently than with any other browser. 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 2c778aa46525e0f63efbedad0654ed47 \ sha1 45e804fe96119af6ce1ca39da07b107eaf3a1d54 \ rmd160 3452d5bffd14e8e230c400191c78c431305bd2b2 worksrcdir mozilla patchfiles patch-browser-app-profile-firefox.js \ patch-en-US-chrome-branding-brand.dtd \ patch-xpcom-build-Makefile \ patch-dylib_file.diff \ patch-layout-build-Makefile.in \ patch-build-unix-mozilla-xpcom.pc \ patch-browser-app-mozilla.in \ patch-xptcall_x86.diff \ patch-pthread.diff \ patch-executable_path.diff \ patch-configure.diff depends_build port:pkgconfig depends_lib port:libidl \ path:${prefix}/lib/pkgconfig/glib-2.0.pc:glib2 \ port:zip \ port:gtk2 \ port:gnome-vfs \ port:gnome-icon-theme \ port:cairo \ port:nspr 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 description "build with debugging symbols" { 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 }