[35435] trunk/dports/mail

afb at macports.org afb at macports.org
Fri Mar 28 04:55:57 PDT 2008


Revision: 35435
          http://trac.macosforge.org/projects/macports/changeset/35435
Author:   afb at macports.org
Date:     2008-03-28 04:55:56 -0700 (Fri, 28 Mar 2008)

Log Message:
-----------
new port: thunderbird-x11 2.0.0.12

Added Paths:
-----------
    trunk/dports/mail/thunderbird-x11/
    trunk/dports/mail/thunderbird-x11/Portfile
    trunk/dports/mail/thunderbird-x11/files/
    trunk/dports/mail/thunderbird-x11/files/patch-libprldap-Makefile.in
    trunk/dports/mail/thunderbird-x11/files/patch-xpcom-build-Makefile
    trunk/dports/mail/thunderbird-x11/files/share-applications-thunderbird.desktop

Added: trunk/dports/mail/thunderbird-x11/Portfile
===================================================================
--- trunk/dports/mail/thunderbird-x11/Portfile	                        (rev 0)
+++ trunk/dports/mail/thunderbird-x11/Portfile	2008-03-28 11:55:56 UTC (rev 35435)
@@ -0,0 +1,89 @@
+# $Id$
+
+PortSystem      1.0
+
+name            thunderbird-x11
+categories      mail x11
+version         2.0.0.12
+platforms       darwin
+maintainers     nomaintainer
+description     Mozilla.org's popular stand-alone mail/news client
+
+long_description \
+    Thunderbird makes emailing safer, faster and easier than ever before \
+    with the industry's best implementations of features such as intelligent \
+    spam filters, a built-in spell checker, extension support, and much more.
+
+homepage        http://www.mozilla.com/thunderbird/
+master_sites    http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/${version}/source/
+distname        thunderbird-${version}-source
+use_bzip2       yes
+
+checksums       md5 c23f576a8fd0ceee5135829c8ae5168b \
+                sha1 36ea64353d32a9f138ef658250cfdcf8f9e862f2 \
+                rmd160  80d6fdb4b8e085a82234825cfbfc6cd05d015f6f
+
+worksrcdir      mozilla
+
+patchfiles      patch-xpcom-build-Makefile \
+                patch-libprldap-Makefile.in
+
+depends_build   port:pkgconfig
+
+depends_lib     port:libidl \
+                port:glib2 \
+                port:zip \
+                port:gtk2 \
+                port:gnome-vfs \
+                port:gnome-icon-theme \
+                port:cairo \
+                port:nspr
+
+
+configure.args  --enable-application=mail \
+                --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/thunderbird \
+                --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-thunderbird.desktop \
+        ${destroot}${prefix}/share/applications/thunderbird.desktop
+
+system "( echo '#!/bin/sh'; echo 'exec ${prefix}/lib/thunderbird-${version}/thunderbird-bin \"\$@\"' ) > ${destroot}${prefix}/bin/thunderbird"
+system "chmod 755 ${destroot}${prefix}/bin/thunderbird"
+}


Property changes on: trunk/dports/mail/thunderbird-x11/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Added: trunk/dports/mail/thunderbird-x11/files/patch-libprldap-Makefile.in
===================================================================
--- trunk/dports/mail/thunderbird-x11/files/patch-libprldap-Makefile.in	                        (rev 0)
+++ trunk/dports/mail/thunderbird-x11/files/patch-libprldap-Makefile.in	2008-03-28 11:55:56 UTC (rev 35435)
@@ -0,0 +1,11 @@
+--- directory/c-sdk/ldap/libraries/libprldap/Makefile.in.orig	2006-02-03 15:44:49.000000000 +0100
++++ directory/c-sdk/ldap/libraries/libprldap/Makefile.in	2008-03-28 10:04:03.000000000 +0100
+@@ -224,7 +224,7 @@ $(DLLPRLDAP): $(OBJS) $(LIBDIR) $(PRLDAP
+ ifdef SO_FILES_TO_REMOVE
+ 	-$(RM) $(SO_FILES_TO_REMOVE)
+ endif
+-	$(LINK_DLL) $(PRLDAP_EXPORT_FLAGS) $(EXTRA_LIBS)
++	$(LINK_DLL) $(PRLDAP_EXPORT_FLAGS) $(OS_LDFLAGS) $(EXTRA_LIBS)
+ 
+ veryclean:: clean
+ 

Added: trunk/dports/mail/thunderbird-x11/files/patch-xpcom-build-Makefile
===================================================================
--- trunk/dports/mail/thunderbird-x11/files/patch-xpcom-build-Makefile	                        (rev 0)
+++ trunk/dports/mail/thunderbird-x11/files/patch-xpcom-build-Makefile	2008-03-28 11:55:56 UTC (rev 35435)
@@ -0,0 +1,15 @@
+--- save/xpcom_build_Makefile.in	2007-08-22 16:11:33.000000000 -0400
++++ xpcom/build/Makefile.in		2007-08-22 16:11:56.000000000 -0400
+@@ -139,6 +139,12 @@
+ EXTRA_DEPS += $(DIST)/lib/$(LIB_PREFIX)macmorefiles_s.$(LIB_SUFFIX)
+ endif
+ 
++# nsMacUtilsImpl needs CoreFoundation on Darwin, probably wrong, but 
++# that's the way it is.
++ifeq ($(OS_TARGET),Darwin)
++OS_LIBS		+= -framework CoreServices -framework CoreFoundation
++endif
++
+ # Force use of PIC
+ FORCE_USE_PIC	= 1 
+ 

Added: trunk/dports/mail/thunderbird-x11/files/share-applications-thunderbird.desktop
===================================================================
--- trunk/dports/mail/thunderbird-x11/files/share-applications-thunderbird.desktop	                        (rev 0)
+++ trunk/dports/mail/thunderbird-x11/files/share-applications-thunderbird.desktop	2008-03-28 11:55:56 UTC (rev 35435)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Thunderbird Mail/News Client
+Comment=Check your Mail and News
+Exec=thunderbird
+Icon=applications-other.png
+Terminal=false
+Type=Application
+Categories=Application;Network
+StartupNotify=true

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080328/202d86a3/attachment-0001.html


More information about the macports-changes mailing list