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

snc at macports.org snc at macports.org
Sun Mar 7 08:03:05 PST 2010


Revision: 64488
          http://trac.macports.org/changeset/64488
Author:   snc at macports.org
Date:     2010-03-07 08:03:05 -0800 (Sun, 07 Mar 2010)
Log Message:
-----------
updated version, add new variant, #23934

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

Modified: trunk/dports/net/centerim/Portfile
===================================================================
--- trunk/dports/net/centerim/Portfile	2010-03-07 15:55:39 UTC (rev 64487)
+++ trunk/dports/net/centerim/Portfile	2010-03-07 16:03:05 UTC (rev 64488)
@@ -1,26 +1,27 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem 1.0
+
 name              	centerim
-version           	4.22.7
+version           	4.22.9
 revision            1
 categories        	net
 maintainers       	nomaintainer
 platforms		darwin
 description       	Console multi-IM client.
-long_description  	Console client for AIM/ICQ/Yahoo/IRC/LiveJournal.
-checksums		md5     2db303baa9b7680c2cccb3314bfa7ae2 \
-			sha1    c0b3433ed260fca23f8e10999c1cf91895489b35 \
-			rmd160  83c579db34fe6e7c5d539cf78102a2de6b89f47a
+long_description  	Console client for AIM/ICQ/Yahoo/MSN/IRC/LiveJournal.
+checksums		md5     c43911508205e0277529230c8316a298 \
+                sha1    ebe9f4ee2064a2fa10f1084ce26083ccd295673e \
+                rmd160  253007e466a211ec740f7843538e4f686ab95cad
 homepage          	http://www.centerim.org/
 master_sites      	${homepage}download/releases/
-use_bzip2		yes
 depends_lib		port:libiconv port:gettext port:ncurses port:openssl \
 			port:jpeg port:gpgme
-patchfiles		patch-configure.diff \
-			patch-kkconsui_include_conscommon.h.diff
+patchfiles		patch-configure.diff
 
 configure.args		--disable-msn \
+			--disable-yahoo \
 			--with-libiconv-prefix=${prefix} \
 			--with-libintl-prefix=${prefix} \
 			--with-ssl --with-openssl=${prefix}/include \
@@ -42,3 +43,17 @@
         }
     }
 }
+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."
+        }
+    }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100307/e03b22d5/attachment.html>


More information about the macports-changes mailing list