[146852] users/devans/dports

devans at macports.org devans at macports.org
Fri Mar 18 21:06:53 PDT 2016


Revision: 146852
          https://trac.macports.org/changeset/146852
Author:   devans at macports.org
Date:     2016-03-18 21:06:53 -0700 (Fri, 18 Mar 2016)
Log Message:
-----------
devans/dports: pan2, copy from trunk and build from git master as of 20160318 for testing, build failure with libc++ now resolved upstream (bz712539).

Modified Paths:
--------------
    users/devans/dports/news/pan2/Portfile

Added Paths:
-----------
    users/devans/dports/news/
    users/devans/dports/news/pan2/


Property changes on: users/devans/dports/news/pan2
___________________________________________________________________
Added: svn:mergeinfo
   + /branches/mld-qt-481/dports/news/pan2:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856

Modified: users/devans/dports/news/pan2/Portfile
===================================================================
--- trunk/dports/news/pan2/Portfile	2016-03-14 16:55:15 UTC (rev 146637)
+++ users/devans/dports/news/pan2/Portfile	2016-03-19 04:06:53 UTC (rev 146852)
@@ -4,7 +4,9 @@
 PortSystem          1.0
 
 name                pan2
-version             0.139
+set git_commit      dfd5c32d7ea51c2aac3599cf76ed3a8c83ee38d5
+set git_date        20160318
+version             0.140-${git_date}
 categories          news
 license             GPL-2
 platforms           darwin
@@ -16,13 +18,13 @@
                     the Agent newsreader for Windows OSes.
 
 homepage            http://pan.rebelbase.com/
-master_sites        http://pan.rebelbase.com/download/releases/${version}/source/
+master_sites        https://git.gnome.org/browse/${name}/snapshot/
+distname            ${name}-${git_commit}
 
-distname            pan-${version}
-use_bzip2           yes
+use_xz              yes
 
-checksums           rmd160  e0e2963b2d11b362201639ca755ad9ae43581c2f \
-                    sha256  bf5f320f997f582d7ac823e3e854393307161a92e7014d2135e6e2674d144bb9
+checksums           rmd160  b42f94e0fac17e83281ab2a3bda7c50d07ee34ee \
+                    sha256  7d919eadce7e8e4afe4a49bc7735fd8ea9800ab9960c72563d19e246a7d6ae7a
 
 depends_build       port:pkgconfig \
                     port:intltool \
@@ -33,29 +35,31 @@
 
 depends_lib         port:pcre \
                     port:gmime \
+                    port:gnutls \
                     port:gtk2 \
                     port:gtkspell2 \
                     port:libiconv
 
-patchfiles          patch-pan-gui-gui.cc.diff
-
 # reconfigure using upstream autogen.sh for intltool 0.51 compatibility
 
-post-patch {
-    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
-}
+#post-patch {
+#    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
+#}
 
-# Build failure with libc++: https://bugzilla.gnome.org/show_bug.cgi?id=712539
-# Forcing the use of libstdc++ is acceptable because pan2 does not provide any
-# C++ libraries and does not link with any C++ libraries.
-configure.cxx_stdlib libstdc++
-
 configure.cmd       ./autogen.sh
 
-configure.args      --disable-silent-rules
+configure.args      --with-gnutls \
+                    --disable-silent-rules
 
-configure.ldflags-append    -liconv
+configure.ldflags-append \
+                    -liconv
 
+variant gtk3 description {Build using gtk3} {
+    depends_lib-replace port:gtk2 port:gtk3
+    depends_lib-replace port:gtkspell2 port:gtkspell3
+    configure.args-append --with-gtk3
+}
+
 livecheck.type      regex
 livecheck.url       http://pan.rebelbase.com/download/releases/
 livecheck.regex     {>([0-9.]+)/<}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160318/6502cbd4/attachment.html>


More information about the macports-changes mailing list