[54984] trunk/dports/science/libANN/Portfile

mnick at macports.org mnick at macports.org
Wed Aug 5 09:05:36 PDT 2009


Revision: 54984
          http://trac.macports.org/changeset/54984
Author:   mnick at macports.org
Date:     2009-08-05 09:05:33 -0700 (Wed, 05 Aug 2009)
Log Message:
-----------
* remove slash between ${destroot}${prefix}
* add livecheck

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

Modified: trunk/dports/science/libANN/Portfile
===================================================================
--- trunk/dports/science/libANN/Portfile	2009-08-05 14:53:35 UTC (rev 54983)
+++ trunk/dports/science/libANN/Portfile	2009-08-05 16:05:33 UTC (rev 54984)
@@ -26,9 +26,13 @@
 build.target        macosx-g++
 
 destroot {
-    file copy ${worksrcpath}/include/ANN ${destroot}/${prefix}/include
-    file copy ${worksrcpath}/lib/libANN.a ${destroot}/${prefix}/lib
-    eval file copy [glob ${worksrcpath}/bin/*] ${destroot}/${prefix}/bin
-    file mkdir ${destroot}/${prefix}/share/doc
-    file copy ${worksrcpath}/doc ${destroot}/${prefix}/share/doc/libANN
+    file copy ${worksrcpath}/include/ANN ${destroot}${prefix}/include
+    file copy ${worksrcpath}/lib/libANN.a ${destroot}${prefix}/lib
+    eval file copy [glob ${worksrcpath}/bin/*] ${destroot}${prefix}/bin
+    file mkdir ${destroot}${prefix}/share/doc
+    file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/libANN
 }
+
+livecheck.check 	regex
+livecheck.url 		${homepage}
+livecheck.regex 	<b>Version (.*)</b>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090805/fe4341b4/attachment-0001.html>


More information about the macports-changes mailing list