# $Id: Portfile 64149 2010-02-23 19:22:37Z avsm@macports.org $

PortSystem 1.0

name                camlp5
version             5.13
categories          lang
platforms           darwin
maintainers         nomaintainer

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.

homepage            http://pauillac.inria.fr/~ddr/camlp5/
master_sites        ${homepage}distrib/src/

checksums           md5     f205d624e890761d3526eaf709071039 \
                    sha1    b7aba330497a47d99efae8fb0646f9f86bbaef0c \
                    rmd160  a648e0c381d0778ec8e5371c685a495bccb44b6b

depends_build       port:ocaml
extract.suffix      .tgz
configure.pre_args  --prefix "${prefix}" \
                    --mandir "${prefix}/share/man"
build.target        world.opt
use_parallel_build  no

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