source: trunk/dports/www/firefox-x11/Portfile @ 20757

Last change on this file since 20757 was 20757, checked in by rhwood@…, 14 years ago

Add openmaintainer@… to all ports that I am the primary maintainer for.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 20757 2006-11-26 10:38:25Z rhwood@macports.org $
2
3PortSystem      1.0
4
5name            firefox-x11
6categories      www x11
7version         1.5.0.1
8revision        2
9platforms       darwin
10maintainers     rhwood@macports.org openmaintainer@macports.org
11description     Mozilla.org's popular stand-alone browser
12long_description        \
13                Firefox empowers you to browse faster, more safely and more \
14                efficiently than with any other browser. Join more than 44 \
15                million others and make the switch today. Firefox imports \
16                your Favorites, settings and other information, so you have \
17                nothing to lose.
18
19homepage        http://www.mozilla.com/firefox/
20master_sites    http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/
21distname        firefox-${version}-source
22checksums       rmd160 6e332fb1a7e80ab56d3d6e3de3d203c8c58217bf
23use_bzip2       yes
24worksrcdir      mozilla
25
26depends_lib     port:libidl1 \
27                port:glib2 \
28                port:zip \
29                port:gtk2 \
30                port:gnome-vfs \
31                port:gnome-icon-theme
32depends_build   port:pkgconfig
33
34patchfiles      patch-browser-app-mozilla.in \
35                patch-browser-components-build-Makefile.in \
36                patch-browser-app-profile-firefox.js
37
38configure.env   CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
39configure.args  --enable-application=browser \
40                --enable-official-branding \
41                --enable-optimize \
42                --disable-static \
43                --enable-shared \
44                --enable-default-toolkit=gtk2 \
45                --enable-xft \
46                --disable-freetype2 \
47                --enable-xinerama \
48                --with-pthreads \
49                --enable-gnomevfs \
50                --enable-postscript \
51                --disable-prebinding \
52                --disable-debug \
53                --enable-strip \
54                --enable-optimize='-O2' \
55                --disable-tests \
56                --with-default-mozilla-five-home=${prefix}/lib/firefox \
57                --with-system-jpeg=${prefix} \
58                --with-system-zlib=${prefix} \
59                --with-system-png=${prefix}
60
61post-destroot   {
62        file mkdir      ${destroot}${prefix}/share/applications
63        file copy       ${filespath}/share-applications-firefox.desktop \
64                                ${destroot}${prefix}/share/applications/firefox.desktop
65}
66
67variant use_system_dependencies {
68        depends_lib     lib:libIDL.a:libidl1 lib:libglib.2:glib2 \
69                        bin:unzip:zip lib:libgtk+-2.0:gtk2
70}
Note: See TracBrowser for help on using the repository browser.