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 \