From b23ca0cc0282ff8a3fd151eb337862197b9b2992 Mon Sep 17 00:00:00 2001 From: smorlat Date: Fri, 25 Sep 2009 07:06:39 +0000 Subject: [PATCH] add linphone port file for stable release git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@678 3f6dc0c8-ddfe-455d-9043-3cd528dc4637 --- linphone/configure.in | 6 ++++-- linphone/scripts/PortFile-devel.tmpl | 24 ++++++++++++++++++++++++ linphone/scripts/PortFile.tmpl | 8 +++----- 3 files changed, 31 insertions(+), 7 deletions(-) create mode 100644 linphone/scripts/PortFile-devel.tmpl diff --git a/linphone/configure.in b/linphone/configure.in index 0643cf738..4d0d986b8 100644 --- a/linphone/configure.in +++ b/linphone/configure.in @@ -11,8 +11,10 @@ LINPHONE_MICRO_VERSION=$(echo $PACKAGE_VERSION | cut -d. -f3) LINPHONE_EXTRA_VERSION=$(echo $PACKAGE_VERSION | cut -d. -f4) dnl program extension -LINPHONE_VERSION=$LINPHONE_MAJOR_VERSION.$LINPHONE_MINOR_VERSION.${LINPHONE_MICRO_VERSION}.${LINPHONE_EXTRA_VERSION} - +LINPHONE_VERSION=$LINPHONE_MAJOR_VERSION.$LINPHONE_MINOR_VERSION.${LINPHONE_MICRO_VERSION} +if test "$LINPHONE_EXTRA_VERSION" != "" ;then + LINPHONE_VERSION=$LINPHONE_VERSION.${LINPHONE_EXTRA_VERSION} +fi LIBLINPHONE_SO_VERSION=`expr $LINPHONE_MINOR_VERSION + $LINPHONE_MAJOR_VERSION`:$LINPHONE_MICRO_VERSION:$LINPHONE_MINOR_VERSION AC_SUBST(LIBLINPHONE_SO_VERSION, $LIBLINPHONE_SO_VERSION) diff --git a/linphone/scripts/PortFile-devel.tmpl b/linphone/scripts/PortFile-devel.tmpl new file mode 100644 index 000000000..418c0a97b --- /dev/null +++ b/linphone/scripts/PortFile-devel.tmpl @@ -0,0 +1,24 @@ +# -*- 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: PortFile 57236 2009-09-08 00:18:44Z macsforever2000@macports.org $ + +PortSystem 1.0 + +name linphone-devel +version @VERSION@ +categories net +maintainers linphone.org:jehan.monnier +description voice over IP sip phone +long_description With linphone you can communicate freely with people over the internet, with voice and text instant messaging. +homepage http://www.linphone.org/index.php +platforms darwin +master_sites http://download.savannah.gnu.org/releases-noredirect/linphone/unstable/source/ + +distname linphone-${version} + +checksums md5 @LINPHONE_MD5@ + +depends_lib port:libglade2 \ + port:speex-devel \ + port:libeXosip2 + +configure.args-append --disable-video --with-readline=none diff --git a/linphone/scripts/PortFile.tmpl b/linphone/scripts/PortFile.tmpl index 8458a0664..e5ccd5876 100644 --- a/linphone/scripts/PortFile.tmpl +++ b/linphone/scripts/PortFile.tmpl @@ -3,18 +3,16 @@ PortSystem 1.0 -name linphone-devel +name linphone version @VERSION@ categories net -maintainers linphone.org:simon.morlat +maintainers linphone.org:jehan.monnier description voice over IP sip phone long_description With linphone you can communicate freely with people over the internet, with voice and text instant messaging. homepage http://www.linphone.org/index.php platforms darwin -master_sites http://download.savannah.gnu.org/releases-noredirect/linphone/unstable/source/ +master_sites http://download.savannah.gnu.org/releases-noredirect/linphone/3.2.x/sources/ -distname linphone-${version} - checksums md5 @LINPHONE_MD5@ depends_lib port:libglade2 \