source: trunk/dports/mail/thunderbird-x11/Portfile @ 35435

Last change on this file since 35435 was 35435, checked in by afb@…, 11 years ago

new port: thunderbird-x11 2.0.0.12

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.0 KB
Line 
1# $Id: Portfile 35435 2008-03-28 11:55:56Z afb@macports.org $
2
3PortSystem      1.0
4
5name            thunderbird-x11
6categories      mail x11
7version         2.0.0.12
8platforms       darwin
9maintainers     nomaintainer
10description     Mozilla.org's popular stand-alone mail/news client
11
12long_description \
13    Thunderbird makes emailing safer, faster and easier than ever before \
14    with the industry's best implementations of features such as intelligent \
15    spam filters, a built-in spell checker, extension support, and much more.
16
17homepage        http://www.mozilla.com/thunderbird/
18master_sites    http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/${version}/source/
19distname        thunderbird-${version}-source
20use_bzip2       yes
21
22checksums       md5 c23f576a8fd0ceee5135829c8ae5168b \
23                sha1 36ea64353d32a9f138ef658250cfdcf8f9e862f2 \
24                rmd160  80d6fdb4b8e085a82234825cfbfc6cd05d015f6f
25
26worksrcdir      mozilla
27
28patchfiles      patch-xpcom-build-Makefile \
29                patch-libprldap-Makefile.in
30
31depends_build   port:pkgconfig
32
33depends_lib     port:libidl \
34                port:glib2 \
35                port:zip \
36                port:gtk2 \
37                port:gnome-vfs \
38                port:gnome-icon-theme \
39                port:cairo \
40                port:nspr
41
42
43configure.args  --enable-application=mail \
44                --disable-official-branding \
45                --with-distribution-id=org.macports \
46                --disable-static \
47                --enable-shared \
48                --enable-default-toolkit=gtk2 \
49                --enable-xft \
50                --disable-freetype2 \
51                --enable-xinerama \
52                --with-pthreads \
53                --enable-gnomevfs \
54                --enable-postscript \
55                --disable-prebinding \
56                --disable-debug \
57                --enable-strip \
58                --enable-optimize='-O2' \
59                --disable-tests \
60                --with-default-mozilla-five-home=${prefix}/lib/thunderbird \
61                --with-system-jpeg=${prefix} \
62                --with-system-zlib=${prefix} \
63                --with-system-png=${prefix} \
64                --enable-system-cairo \
65                --with-system-cairo=${prefix} \
66                --with-system-nspr \
67                --with-nspr-prefix=${prefix}
68
69
70variant debug description "build with debugging symbols" {
71    configure.args-delete   --disable-debug \
72                            --enable-optimize='-O2' \
73                            --enable-strip
74   
75    configure.args-append   --enable-debug \
76                            --disable-optimize \
77                            --disable-strip
78}
79
80post-destroot   {
81    file mkdir ${destroot}${prefix}/share/applications
82   
83    copy \
84        ${filespath}/share-applications-thunderbird.desktop \
85        ${destroot}${prefix}/share/applications/thunderbird.desktop
86
87system "( echo '#!/bin/sh'; echo 'exec ${prefix}/lib/thunderbird-${version}/thunderbird-bin \"\$@\"' ) > ${destroot}${prefix}/bin/thunderbird"
88system "chmod 755 ${destroot}${prefix}/bin/thunderbird"
89}
Note: See TracBrowser for help on using the repository browser.