diff --git a/linphone/Makefile.am b/linphone/Makefile.am index cef0db333..3e44bf115 100644 --- a/linphone/Makefile.am +++ b/linphone/Makefile.am @@ -54,6 +54,8 @@ EXTRA_DIST = config.rpath BUGS linphone.kdevelop \ DISTCLEANFILES= intltool-extract intltool-merge intltool-update po/stamp-it po/.intltool-merge-cache $(ISS_SCRIPT) $(PACKAGE_WIN32_FILELIST) +CLEANFILES=PortFile + # `make rpm' all-local: linphone.spec linphone.iss @@ -135,5 +137,9 @@ newdate: cd gtk-glade && $(MAKE) 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 + diff --git a/linphone/ports/PortIndex b/linphone/ports/PortIndex deleted file mode 100644 index 34628034d..000000000 --- a/linphone/ports/PortIndex +++ /dev/null @@ -1,2 +0,0 @@ -linphone 433 -variants universal portdir net/linphone description {voice over IP sip phone} homepage http://www.linphone.org/index.php epoch 0 platforms darwin name linphone depends_lib {port:libglade2 port:speex-devel port:libeXosip2} long_description {With linphone you can communicate freely with people over the internet, with voice and text instant messaging.} maintainers simon.morlat@linphone.org categories net version 3.1.99.1 revision 0 diff --git a/linphone/ports/PortIndex.quick b/linphone/ports/PortIndex.quick deleted file mode 100644 index 86d30a406..000000000 --- a/linphone/ports/PortIndex.quick +++ /dev/null @@ -1 +0,0 @@ -linphone 0 diff --git a/linphone/scripts/Makefile.am b/linphone/scripts/Makefile.am index 7dfd0ed0d..acffa8a1b 100644 --- a/linphone/scripts/Makefile.am +++ b/linphone/scripts/Makefile.am @@ -1 +1,2 @@ -EXTRA_DIST=builder-mingw.mk +EXTRA_DIST=builder-mingw.mk PortFile.tmpl + diff --git a/linphone/ports/net/linphone/PortFile b/linphone/scripts/PortFile.tmpl similarity index 71% rename from linphone/ports/net/linphone/PortFile rename to linphone/scripts/PortFile.tmpl index 751c290e4..6f056d870 100644 --- a/linphone/ports/net/linphone/PortFile +++ b/linphone/scripts/PortFile.tmpl @@ -4,18 +4,17 @@ PortSystem 1.0 name linphone -version 3.1.99.1 +version @VERSION@ categories net maintainers simon.morlat@linphone.org 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 file://localhost/Users/jehanmonnier/workspace/linphone-private/linphone/ -#master_sites http://download.savannah.gnu.org/releases-noredirect/linphone/unstable/source +master_sites http://download.savannah.gnu.org/releases-noredirect/linphone/unstable/source/linphone-@VERSION@.tar.gz -checksums md5 14d172d62dda308f657a8f1178c8a500 +checksums md5 @LINPHONE_MD5@ depends_lib port:libglade2 \ port:speex-devel \