[80591] trunk/dports/net/centerim/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Jul 15 08:18:54 PDT 2011


Revision: 80591
          http://trac.macports.org/changeset/80591
Author:   ryandesign at macports.org
Date:     2011-07-15 08:18:54 -0700 (Fri, 15 Jul 2011)
Log Message:
-----------
centerim: update to 4.22.10, remove msn and allproto variants and make msn and yahoo support always-on; see #30174

Modified Paths:
--------------
    trunk/dports/net/centerim/Portfile

Modified: trunk/dports/net/centerim/Portfile
===================================================================
--- trunk/dports/net/centerim/Portfile	2011-07-15 15:18:20 UTC (rev 80590)
+++ trunk/dports/net/centerim/Portfile	2011-07-15 15:18:54 UTC (rev 80591)
@@ -4,8 +4,7 @@
 PortSystem          1.0
 
 name                centerim
-version             4.22.9
-revision            3
+version             4.22.10
 categories          net
 platforms           darwin
 maintainers         freebsd.org:miwi
@@ -13,52 +12,35 @@
 
 description         Console multi-IM client.
 long_description    Console client for AIM/ICQ/Yahoo/MSN/IRC/LiveJournal.
-checksums           md5     c43911508205e0277529230c8316a298 \
-                    sha1    ebe9f4ee2064a2fa10f1084ce26083ccd295673e \
-                    rmd160  253007e466a211ec740f7843538e4f686ab95cad
+
+checksums           sha1    46fbac7a55f33b0d4f42568cca21ed83770650e5 \
+                    rmd160  2514c871388edb98b4a8957f965ccee3450b968f
+
 homepage            http://www.centerim.org/
 master_sites        ${homepage}download/releases/
+
+depends_build       port:pkgconfig
+
 depends_lib         port:libiconv port:gettext port:ncurses port:openssl \
-                    port:jpeg port:gpgme
+                    port:jpeg port:gpgme port:curl
 patchfiles          patch-configure.diff
 
-configure.args      --disable-msn \
-                    --disable-yahoo \
-                    --with-libiconv-prefix=${prefix} \
+configure.args      --with-libiconv-prefix=${prefix} \
                     --with-libintl-prefix=${prefix} \
                     --with-ssl --with-openssl=${prefix}/include \
                     --with-libjpeg --with-gpgme-prefix=${prefix} \
-                    --without-libcurl
+                    --with-libcurl=${prefix}
 build.type          gnu
 
-variant msn description {Enable MSN support (requires curl+ssl)} {
-    depends_build-append port:pkgconfig
-    depends_lib-append port:curl
-    configure.args-delete --disable-msn --without-libcurl
-    configure.args-append --with-libcurl=${prefix}
-    pre-fetch {
-        set fd [open "|pkg-config --variable=supported_features libcurl"]
-        eval set features [gets $fd]
-        close $fd
-        if {[lsearch -exact $features SSL] == -1} {
-            return -code error "curl must be installed with +ssl to enable MSN support."
-        }
+pre-configure {
+    set fd [open "|pkg-config --variable=supported_features libcurl"]
+    eval set features [gets $fd]
+    close $fd
+    if {[lsearch -exact $features SSL] == -1} {
+        return -code error "curl must be installed with the +ssl variant"
+        return -code error "incompatible curl installation"
     }
 }
-variant allproto description {Enable support for all protocols (requires curl+ssl)} {
-    depends_build-append port:pkgconfig
-    depends_lib-append port:curl
-    configure.args-delete --disable-msn --disable-yahoo --without-libcurl
-    configure.args-append --with-libcurl=${prefix}
-    pre-fetch {
-        set fd [open "|pkg-config --variable=supported_features libcurl"]
-        eval set features [gets $fd]
-        close $fd
-        if {[lsearch -exact $features SSL] == -1} {
-            return -code error "curl must be installed with +ssl to enable MSN and Yahoo support."
-        }
-    }
-}
 
 livecheck.type      regex
 livecheck.url       [lindex ${master_sites} 0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110715/9fdfdd9d/attachment.html>


More information about the macports-changes mailing list