[89098] trunk/dports/science/magic/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Jan 19 09:07:41 PST 2012


Revision: 89098
          http://trac.macports.org/changeset/89098
Author:   ryandesign at macports.org
Date:     2012-01-19 09:07:40 -0800 (Thu, 19 Jan 2012)
Log Message:
-----------
magic: fix livecheck

Modified Paths:
--------------
    trunk/dports/science/magic/Portfile

Modified: trunk/dports/science/magic/Portfile
===================================================================
--- trunk/dports/science/magic/Portfile	2012-01-19 16:30:21 UTC (rev 89097)
+++ trunk/dports/science/magic/Portfile	2012-01-19 17:07:40 UTC (rev 89098)
@@ -6,7 +6,7 @@
 name                magic
 version             7.5.180
 revision            1
-
+set major           [lindex [split ${version} .] 0]
 categories          science
 maintainers         waqar openmaintainer
 description         A VLSI Layout System
@@ -34,3 +34,7 @@
 configure.args      --mandir=${prefix}/share/man --infodir=${prefix}/share/info
 
 use_parallel_build  no
+
+livecheck.type      regex
+livecheck.url       [lindex ${master_sites} 0]
+livecheck.regex     ${name}-(${major}\\.\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120119/1c17c99a/attachment.html>


More information about the macports-changes mailing list