# -*- 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 ocaml 1.0 PortGroup github 1.0 github.setup ocaml camlp4 4.14+1 name ocaml-camlp4 version [string map {+ -} ${version}] revision 0 categories lang devel ocaml maintainers {pmetzger @pmetzger} openmaintainer license {LGPL-2.1 OpenSSLException} description Caml Preprocessor and Pretty-Printer long_description \ Camlp4 is a software system for writing extensible parsers for programming \ languages. It provides a set of OCaml libraries that are used to define \ grammars as well as loadable syntax extensions of such grammars. Camlp4 \ stands for Caml Preprocessor and Pretty-Printer and one of its most \ important applications is the definition of domain-specific extensions of \ the syntax of OCaml. \ Camlp4 was part of the official OCaml distribution until its version \ 4.01.0. Since then it has been replaced by a simpler system which is \ easier to maintain and to learn: ppx rewriters and extension points. checksums rmd160 e914eeccb76e0703412dba0aedd15454b7c3d276 \ sha256 9b359566efba1f4465e5dcf9bd5c6c6cb25ad7ab42165fd072c4a94a03374adb \ size 653208 configure.pre_args --bindir=${prefix}/bin --libdir=${prefix}/lib/ocaml --pkgdir=${ocamlfind_dir} depends_build port:ocaml-ocamlbuild use_parallel_build no if {${build_arch} eq "ppc" || ${build_arch} eq "ppc64"} { build.target byte } else { build.target byte native } destroot.target install install-META destroot.destdir BINDIR=${destroot}${prefix}/bin \ LIBDIR=${destroot}${prefix}/lib/ocaml \ MANDIR=${destroot}${prefix}/share/man \ PKGDIR=${destroot}${ocamlfind_dir}