From ee80c0be121be551a20834db684dc7623efb8c58 Mon Sep 17 00:00:00 2001 From: smorlat Date: Fri, 4 Sep 2009 08:02:01 +0000 Subject: [PATCH] fix PortFile generation git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@629 3f6dc0c8-ddfe-455d-9043-3cd528dc4637 --- linphone/Makefile.am | 2 +- linphone/scripts/PortFile.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/linphone/Makefile.am b/linphone/Makefile.am index 3e44bf115..e8c5e3838 100644 --- a/linphone/Makefile.am +++ b/linphone/Makefile.am @@ -139,7 +139,7 @@ newdate: PortFile: $(top_srcdir)/scripts/PortFile.tmpl dist sed -e 's/\@VERSION\@/$(LINPHONE_VERSION)/g' \ - -e 's/\@LINPHONE_MD5\@/$(shell md5sum linphone-$(VERSION).tar.gz)/' < $< > PortFile + -e 's/\@LINPHONE_MD5\@/$(shell md5 linphone-$(VERSION).tar.gz | awk {'print $$4'})/' < $< > PortFile diff --git a/linphone/scripts/PortFile.tmpl b/linphone/scripts/PortFile.tmpl index 6f056d870..9c5aa4f09 100644 --- a/linphone/scripts/PortFile.tmpl +++ b/linphone/scripts/PortFile.tmpl @@ -11,10 +11,10 @@ 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/linphone-@VERSION@.tar.gz +master_sites http://download.savannah.gnu.org/releases-noredirect/linphone/unstable/source/ -checksums md5 @LINPHONE_MD5@ +checksums md5 @LINPHONE_MD5@ depends_lib port:libglade2 \ port:speex-devel \