[98473] trunk/dports/math/pecco/Portfile

hum at macports.org hum at macports.org
Fri Oct 5 23:59:55 PDT 2012


Revision: 98473
          http://trac.macports.org//changeset/98473
Author:   hum at macports.org
Date:     2012-10-05 23:59:54 -0700 (Fri, 05 Oct 2012)
Log Message:
-----------
pecco: update to 2012-10-06; clean up post-destroot and livecheck.

Modified Paths:
--------------
    trunk/dports/math/pecco/Portfile

Modified: trunk/dports/math/pecco/Portfile
===================================================================
--- trunk/dports/math/pecco/Portfile	2012-10-06 06:59:24 UTC (rev 98472)
+++ trunk/dports/math/pecco/Portfile	2012-10-06 06:59:54 UTC (rev 98473)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                pecco
-version             2012-09-26
+version             2012-10-06
 epoch               1
 categories          math
 maintainers         hum openmaintainer
@@ -17,14 +17,15 @@
 license             {GPL-2 LGPL-2.1}
 
 master_sites        ${homepage}
-checksums           rmd160  e733271beabb03e98ee1de7a3519b834a3da61c8 \
-                    sha256  00309d244576854cf0889b371b3aff7955b9ffe4d4e20690bde1e1f8d75ad5ca
+checksums           rmd160  96eef9c21da57e767a2d8160c99404336a5a3ac9 \
+                    sha256  c1e341be31e24791503e8936d669d4f3d5eacf5107fafaea2ee0aab3b5892188
 
 post-destroot {
-    file mkdir ${destroot}${prefix}/share/doc/${name}
+    set doc_dir ${destroot}${prefix}/share/doc/${name}
+    file mkdir ${doc_dir}
     xinstall -m 644 -W ${worksrcpath} \
         AUTHORS COPYING GPL LGPL README \
-        ${destroot}${prefix}/share/doc/${name}
+        ${doc_dir}
     copy ${worksrcpath}/test ${destroot}${prefix}/share/${name}
 }
 
@@ -44,5 +45,4 @@
 default_variants    +dartsclone
     
 livecheck.type      regex
-livecheck.url       ${homepage}
-livecheck.regex     {pecco-(\d+-\d+-\d+)\.tar}
+livecheck.regex     ${name}-(\\d+-\\d+-\\d+)\\.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121005/b8113764/attachment.html>


More information about the macports-changes mailing list