# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup ocaml 1.0 name ocaml-bitstring version 2.0.3 revision 4 platforms macosx categories devel ml maintainers nomaintainer license {GPL-2 LGPL-2.1+} description bitstrings and bitstring matching for OCaml long_description \ The ocaml-bitstring project adds Erlang-style bitstrings and matching over bitstrings as a syntax extension and library for OCaml. \ (This project was formerly known as bitmatch). You can use this module to both parse and generate binary formats, files and protocols. \ Bitstring handling is added as primitives to the language, making it exceptionally simple to use and very powerful. homepage http://code.google.com/p/bitstring/ master_sites googlecode:bitstring checksums md5 88ad0ee29af8b077e63896da23ec9054 \ sha1 49b5ec677e251672686dd2886219bb7da30fda86 \ rmd160 47af0dfd6617a8054252208807649f188e083b55 patchfiles patch-Makefile.in-ocamlfind.diff \ patch-Makefile.in-top_srcdir.diff depends_lib port:ocaml port:ocaml-findlib use_parallel_build no test.run yes post-activate { 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"} { set found 1 break } } if {!${found}} { puts ${ldconf} ${prefix}/lib/ocaml/site-lib/bitstring } close ${ldconf} } livecheck.type regex livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)