[62534] trunk/dports/devel/ocaml-bitstring/Portfile

nox at macports.org nox at macports.org
Sat Jan 9 20:43:29 PST 2010


Revision: 62534
          http://trac.macports.org/changeset/62534
Author:   nox at macports.org
Date:     2010-01-09 20:43:26 -0800 (Sat, 09 Jan 2010)
Log Message:
-----------
Update ocaml-bitstring to 2.0.2

Modified Paths:
--------------
    trunk/dports/devel/ocaml-bitstring/Portfile

Modified: trunk/dports/devel/ocaml-bitstring/Portfile
===================================================================
--- trunk/dports/devel/ocaml-bitstring/Portfile	2010-01-10 02:54:28 UTC (rev 62533)
+++ trunk/dports/devel/ocaml-bitstring/Portfile	2010-01-10 04:43:26 UTC (rev 62534)
@@ -4,7 +4,7 @@
 PortSystem      1.0
 
 name            ocaml-bitstring
-version         2.0.0
+version         2.0.2
 platforms       macosx
 categories      devel ocaml
 maintainers     nox openmaintainer
@@ -18,9 +18,9 @@
 homepage        http://code.google.com/p/bitstring/
 master_sites    googlecode:bitstring
 
-checksums       md5     9f597c267318a88f2754ca10450e478f \
-                sha1    ca54f7cd2e1457d9102200fd8aebb3dce3d10a32 \
-                rmd160  74d24e4a75915707f47319f010634396e2c96a0b
+checksums       md5     0c9fa24a0e5201e8bb61f355b9058fe9 \
+                sha1    5ddfe2e138962a972b9a782ac55c38c4e872142c \
+                rmd160  6d0eef1f04b012560c7504004898b551efc546c4
 
 patchfiles      patch-Makefile.in-ocamlfind.diff \
                 patch-Makefile.in-top_srcdir.diff
@@ -34,26 +34,29 @@
 test.run        yes
 
 pre-destroot {
-    file mkdir $destroot$prefix/lib/ocaml/site-lib
+    file mkdir ${destroot}${prefix}/lib/ocaml/site-lib
 }
 
 post-activate {
-    set ldconf  [open $prefix/lib/ocaml/ld.conf r+]
+    set ldconf  [open ${prefix}/lib/ocaml/ld.conf r+]
     set found   0
 
-    while {[gets $ldconf line] != -1} {
-        if {$line eq "$prefix/lib/ocaml/site-lib/bitstring"} {
+    while {[gets ${ldconf} line] != -1} {
+        if {${line} eq "${prefix}/lib/ocaml/site-lib/bitstring"} {
             set found 1
             break
         }
     }
 
-    if {!$found} {
-        puts $ldconf $prefix/lib/ocaml/site-lib/bitstring
+    if {!${found}} {
+        puts ${ldconf} ${prefix}/lib/ocaml/site-lib/bitstring
     }
 
-    close $ldconf
+    close ${ldconf}
 }
 
+# ocaml does not have a universal variant
+universal_variant no
+
 livecheck.type  regex
-livecheck.regex $name-(\\d+(?:\\.\\d+)*)
+livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100109/035d4777/attachment-0001.html>


More information about the macports-changes mailing list