[41965] trunk/dports/multimedia/swfdec/Portfile
devans at macports.org
devans at macports.org
Wed Nov 12 10:50:27 PST 2008
Revision: 41965
http://trac.macports.org/changeset/41965
Author: devans at macports.org
Date: 2008-11-12 10:50:27 -0800 (Wed, 12 Nov 2008)
Log Message:
-----------
swfdec: fix livecheck, add mode line.
Modified Paths:
--------------
trunk/dports/multimedia/swfdec/Portfile
Modified: trunk/dports/multimedia/swfdec/Portfile
===================================================================
--- trunk/dports/multimedia/swfdec/Portfile 2008-11-12 18:43:32 UTC (rev 41964)
+++ trunk/dports/multimedia/swfdec/Portfile 2008-11-12 18:50:27 UTC (rev 41965)
@@ -1,3 +1,4 @@
+# -*- 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$
PortSystem 1.0
@@ -4,13 +5,14 @@
name swfdec
version 0.6.6
+set branch [join [lrange [split ${version} .] 0 1] .]
categories multimedia
platforms darwin
maintainers nomaintainer
description Decoder/renderer for Flash animations.
long_description ${description}
homepage http://swfdec.freedesktop.org/
-master_sites ${homepage}/download/swfdec/0.6/
+master_sites ${homepage}download/${name}/${branch}/
checksums md5 3e91d48e0b8b839e12ff8f9ced4b5040
depends_lib port:gst-plugins-good \
port:libsoup
@@ -18,3 +20,7 @@
reinplace "s|-Wl,-Bsymbolic||g" ${worksrcpath}/configure
}
configure.args --with-audio=none
+
+livecheck.check regex
+livecheck.url ${master_sites}
+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081112/b9ba6124/attachment.html>
More information about the macports-changes
mailing list