--- Portfile	2009-09-02 15:37:56.000000000 +0200
+++ ports/net/asterisk/Portfile	2010-01-16 14:50:00.000000000 +0100
@@ -1,10 +1,10 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
-# $Id$
+# $Id: Portfile 54316 2009-07-24 19:38:59Z snc@macports.org $
 
 PortSystem			1.0
 
 name				asterisk
-version             1.6.1.1
+version				1.6.1.12
 revision			1
 categories			net
 platforms			darwin
@@ -17,8 +17,6 @@
 				
 homepage			http://www.asterisk.org
 master_sites		http://downloads.digium.com/pub/asterisk/releases/
-dist_subdir			${name}-1
-patchfiles          20090420__bug14930.diff
 					
 depends_lib			port:ncurses \
 					port:openssl \
@@ -26,20 +24,24 @@
 					port:bison \
 					port:curl \
 					port:wget
-					
-checksums           md5     35048842108645d0995c89834273cd5f \
-                    sha1    887c463480ec76866d5dde9f2de7ee19256215f6 \
-                    rmd160  fce1b1e11bc25b4de1f770bb57e5f0d5c44ab5fc
+
+checksums           md5     d6bc1448b8fa274a2acaef1b15f4d485 \
+                    sha1    b7c9cdfd6b7401be2eabac537f6f6cebee10b48c \
+                    rmd160  fa2440974605ea3098cd99d697bab2bea534b827
 
 startupitem.create      yes
 startupitem.netchange   yes
 startupitem.executable  ${prefix}/sbin/asterisk -d
 
-configure.args		--without-h323 --without-zaptel
+configure.args		--without-gsm --without-h323 --without-zaptel
 
 build.env			ASTCFLAGS=-I${prefix}/include \
 					ASTLDFLAGS=-L${prefix}/lib
 
+variant jabber description {Enable Jabber support} {
+				depends_lib-append port:iksemel
+}
+
 post-destroot {
 	system "rsync -a $worksrcpath/configs/*.sample ${destroot}/${prefix}/etc/asterisk"
 	file mkdir "${destroot}/${prefix}/var/run"

