[42633] trunk/dports/graphics/ImageMagick/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Nov 27 01:00:23 PST 2008


Revision: 42633
          http://trac.macports.org/changeset/42633
Author:   ryandesign at macports.org
Date:     2008-11-27 01:00:23 -0800 (Thu, 27 Nov 2008)
Log Message:
-----------
ImageMagick: Change livecheck to only alert me when the major.minor.revision part of the version changes, and not when only the -patch part changes. It's taking up too much time chasing their myriad patch releases.

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

Modified: trunk/dports/graphics/ImageMagick/Portfile
===================================================================
--- trunk/dports/graphics/ImageMagick/Portfile	2008-11-27 08:52:05 UTC (rev 42632)
+++ trunk/dports/graphics/ImageMagick/Portfile	2008-11-27 09:00:23 UTC (rev 42633)
@@ -4,11 +4,12 @@
 
 name                    ImageMagick
 version                 6.4.6-0
+set reasonable_version  [lindex [split ${version} -] 0]
 homepage                http://www.imagemagick.org/
 categories              graphics devel
 maintainers             ryandesign
 use_bzip2               yes
-worksrcdir              ${name}-[lindex [split ${version} -] 0]
+worksrcdir              ${name}-${reasonable_version}
 platforms               darwin
 use_parallel_build      yes
 
@@ -228,6 +229,7 @@
         lib:libltdl:libtool
 }
 
+livecheck.version       ${reasonable_version}
 livecheck.check         regex
 livecheck.url           http://ftp.surfnet.nl/pub/ImageMagick/?C=M&O=D
-livecheck.regex         ${name}-(\\d+(?:\\.\\d+)*(?:-\\d+)?)
+livecheck.regex         ${name}-(\\d+(?:\\.\\d+)*)(?:-\\d+)?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081127/7e389063/attachment-0001.html>


More information about the macports-changes mailing list