[33618] trunk/dports/science/jmol/Portfile

simon at macports.org simon at macports.org
Thu Jan 31 10:06:02 PST 2008


Revision: 33618
          http://trac.macosforge.org/projects/macports/changeset/33618
Author:   simon at macports.org
Date:     2008-01-31 10:06:00 -0800 (Thu, 31 Jan 2008)

Log Message:
-----------
science/jmol: Updated to version 11.4.RC2.

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

Modified: trunk/dports/science/jmol/Portfile
===================================================================
--- trunk/dports/science/jmol/Portfile	2008-01-31 16:47:58 UTC (rev 33617)
+++ trunk/dports/science/jmol/Portfile	2008-01-31 18:06:00 UTC (rev 33618)
@@ -3,7 +3,7 @@
 PortSystem          1.0
 
 name                jmol
-version             11.2.14
+version             11.4.RC2
 categories          science
 platforms           darwin
 maintainers         simon
@@ -20,9 +20,9 @@
 master_sites        sourceforge
 
 distname            ${name}-${version}-binary
-checksums           md5 18464a0587b2d41bb509fa69e222829f \
-                    sha1 07734fcd99517ae96b4e215701bf34ef6a56452b \
-                    rmd160 d2e31719a09555ec38f77008fd3066c7031623c4
+checksums           md5 ca898017d3ddf131dbe4a2ad548b2758 \
+                    sha1 07216b3111f409a53622954fb68de3412a31e7cc \
+                    rmd160 580d961f03af875f640599c01fca12b6f7705064
 worksrcdir          ${name}-${version}
 
 depends_run         bin:java:kaffe
@@ -30,8 +30,8 @@
 use_configure       no
 
 post-patch {
-  reinplace "s|/usr/share/jmol/|${prefix}/share/java/jmol/|g" \
-    ${worksrcpath}/jmol
+    reinplace "s|/usr/share/jmol/|${prefix}/share/java/jmol/|g" \
+        ${worksrcpath}/jmol
 }
 
 build {}
@@ -41,11 +41,11 @@
     xinstall ${worksrcpath}/jmol ${destroot}${prefix}/bin
     # install the jmol java files:
     xinstall -d ${destroot}${prefix}/share/java/jmol
-    foreach img [glob ${worksrcpath}/*.jar] {
-        xinstall $img ${destroot}${prefix}/share/java/jmol
+    foreach jar [glob ${worksrcpath}/*.jar] {
+        xinstall $jar ${destroot}${prefix}/share/java/jmol
     }
 }
 
 livecheck.check     regex
 livecheck.url       http://sourceforge.net/project/showfiles.php?group_id=23629
-livecheck.regex     "version (\\d+(?:\\.\\d+)*)"
+livecheck.regex     {version (11[0-9a-zA-Z.]+)}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080131/ec59b155/attachment.html


More information about the macports-changes mailing list