# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 github.setup camlp5 camlp5 8.03.00 revision 1 categories lang ocaml license BSD maintainers {pmetzger @pmetzger} openmaintainer 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 https://camlp5.github.io/ checksums rmd160 459a703b56523f907f0c0c8b9ebf98f11edad676 \ sha256 c79d7e31353b5a30133ba585106cad6ad456dde0720f501ae774a95811db875a \ size 1284440 depends_build bin:perl:perl5 depends_lib port:ocaml \ port:ocaml-bos \ port:ocaml-camlp-streams \ port:ocaml-camlp5-buildscripts \ port:ocaml-findlib \ port:ocaml-fmt \ port:ocaml-re \ port:ocaml-rresult extract.suffix .tgz configure.pre_args --prefix "${prefix}" configure.args --mandir "${prefix}/share/man" if {${build_arch} eq "ppc" || ${build_arch} eq "ppc64"} { build.target world } else { build.target world.opt } use_parallel_build no # ocaml is not universal universal_variant no post-destroot { # Install META file not installed by the Makefile xinstall -m 755 -d ${destroot}${prefix}/lib/ocaml/site-lib/${name} xinstall -m 644 ${worksrcpath}/etc/META \ ${destroot}${prefix}/lib/ocaml/site-lib/${name} }