# -*- 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
github.setup ocaml camlp4 4.05+2
version [string map {+ -} ${version}]
categories lang devel ocaml
maintainers {@pmetzger piermont.com:perry} openmaintainer
license {LGPL-2.1 OpenSSLException}
description Caml Preprocessor and Pretty-Printer
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 \
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 39daba906c2c3cfcc4f22f0de1f2f43e508b86e2 \
sha256 a21d17cdc007ee76a67d5a9b2cc5851a5e7e9fcc5d8bccf8855b6ac2e7c2aa25
configure.pre_args --bindir=${prefix}/bin --libdir=${prefix}/lib/ocaml --pkgdir=${ocamlfind_dir}
depends_build port:ocaml-ocamlbuild
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}