# $Id: Portfile 53889 2009-07-16 07:41:14Z ryandesign@macports.org $

PortSystem 1.0

name            camlp5
version         5.12
categories      lang
platforms       darwin
description     Camlp5 is a preprocessor-pretty-printer of OCaml.
long_description  Camlp5 is a preprocessor and pretty-printer for \
        OCaml programs. It also provides parsing and printing tools. \
        As a preprocessor, it allows to: extend the syntax of OCaml, \
        redefine the whole syntax of the language. As a pretty printer, \
        it allows to: display OCaml programs in an elegant way, convert \
        from one syntax to another, check the results of syntax \
        extensions. Camlp5 also provides some parsing and pretty \
        printing tools: extensible grammars, extensible printers, \
        stream parsers and lexers pretty print module.  It works as a \
        shell command and can also be used in the OCaml toplevel.

maintainers     nomaintainer
homepage        http://pauillac.inria.fr/~ddr/camlp5/
master_sites    ${homepage}distrib/src/
extract.suffix  .tgz
depends_build   port:ocaml
configure.pre_args  --prefix "${prefix}" --mandir "${prefix}/share/man"
build.target    world.opt
checksums       md5     28a86d4f1da8983b7fc773262fa52f1f \
                sha1    33dd83e33e8554f88004d2c4a57dcf92a5881700 \
                rmd160  4ba66bc3addff65208a70802371c0987b136d8c6

livecheck.check regex
livecheck.url   [lindex ${master_sites} 0]
livecheck.regex ${name}-(\[0-9.\]+)\\.tgz
