[81804] trunk/dports/graphics/ogre/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Aug 4 20:30:59 PDT 2011


Revision: 81804
          http://trac.macports.org/changeset/81804
Author:   ryandesign at macports.org
Date:     2011-08-04 20:30:57 -0700 (Thu, 04 Aug 2011)
Log Message:
-----------
ogre: update master_sites to avoid redirects; fix livecheck

Modified Paths:
--------------
    trunk/dports/graphics/ogre/Portfile

Modified: trunk/dports/graphics/ogre/Portfile
===================================================================
--- trunk/dports/graphics/ogre/Portfile	2011-08-05 03:22:28 UTC (rev 81803)
+++ trunk/dports/graphics/ogre/Portfile	2011-08-05 03:30:57 UTC (rev 81804)
@@ -5,6 +5,7 @@
 
 name                ogre
 version             1.7.3
+set branch          [join [lrange [split ${version} .] 0 1] .]
 license             MIT
 categories          graphics
 maintainers         openmaintainer mmoll
@@ -12,7 +13,7 @@
 long_description    $description
 homepage            http://www.ogre3d.org/
 platforms           darwin
-master_sites        sourceforge
+master_sites        sourceforge:project/${name}/${name}/${branch}
 
 checksums           rmd160  fea467f35aaf0fd5926573de4f0348ed44191893 \
                     sha1    41acccfbbf7297c91cda78a0ce8a053e56505f04
@@ -58,3 +59,7 @@
     }
 }
 configure.universal_args-delete --disable-dependency-tracking
+
+livecheck.type      regex
+livecheck.url       ${homepage}download/source
+livecheck.regex     {>OGRE ([0-9.]+) Source}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110804/932f9265/attachment-0001.html>


More information about the macports-changes mailing list