Revision
140793
Author
dstrubbe@macports.org
Date
2015-10-02 12:43:15 -0700 (Fri, 02 Oct 2015)

Log Message

svdlibc: Add license. Fix checksums. Add livecheck. Comment on destroot failure.

Modified Paths

Diff

Modified: trunk/dports/math/svdlibc/Portfile (140792 => 140793)


--- trunk/dports/math/svdlibc/Portfile	2015-10-02 19:28:52 UTC (rev 140792)
+++ trunk/dports/math/svdlibc/Portfile	2015-10-02 19:43:15 UTC (rev 140793)
@@ -5,6 +5,7 @@
 
 name                svdlibc
 version             1.34
+license             BSD
 maintainers         nomaintainer
 
 categories          math science
@@ -24,9 +25,9 @@
 extract.suffix      .tgz
 worksrcdir          SVDLIBC
 
-checksums           md5     0e1b3bc149f1da476fd81c58742b5ee9 \
-                    sha1    2f843ad31af6bc0ea28297f123eabd33aae1604b \
-                    rmd160  90ddc5fe3f53e0d9da0e8921f927df877be0598a
+checksums           md5     1b644ab4a3df72d6d0a1aeccb93ac503 \
+                    sha1    9243fbc0516af42b020423442212a025b3406dac \
+                    rmd160  3ef133f8ccd9cb1659c11c7692e148709aca7431
 
 use_configure       no
 universal_variant   no
@@ -39,6 +40,7 @@
     reinplace "s|-march=i486|${configure.cc_archflags}|g" ${worksrcpath}/Makefile
 }
 
+# this phase fails. it appears this code does not respect destroot.
 destroot {
     xinstall -m 644 ${worksrcpath}/${hosttype}/libsvd.a ${destroot}${prefix}/lib
     xinstall -m 755 ${worksrcpath}/${hosttype}/svd ${destroot}${prefix}/bin
@@ -50,3 +52,6 @@
     xinstall -m 755 -d ${destroot}${prefix}/share/${name}
     file copy ${worksrcpath}/Manual ${destroot}${prefix}/share/${name}
 }
+
+livecheck.type    regexm
+livecheck.regex   Version Notes</h3>\n\n<table>\n<tr><td valign=top><b>(\[0-9.\]+)