opam-version: "2.0"
maintainer: "jun.furuse@gmail.com"
remove: [[make "uninstall" "BINDIR=%{bin}%" "PREFIX=%{prefix}%"]]
install: [make "all" "opt" "install" "BINDIR=%{bin}%" "PREFIX=%{prefix}%"]
synopsis: "OCamlSpotter - OCaml source browsing"
description: """
OCamlSpotter is a tool for OCaml source code browsing. 

* You can search the definitions of names of values, functions, data types and modules.
* Emacs and Vim helpers help your browsing via editors.
* Definition search traverses module aliases and functor applications: if module M = N, OCamlSpotter automatically seeks the definition of M.x in N. Very helpful in the modern OCaml programming with lots of modules.

OCamlSpotter 2.x uses \\*.cmt and \\*.cmti files created by OCaml compiler 4.00.0 or newer with -bin-annot option.

Unlike OCamlSpotter 1.x, OCamlSpotter 2.x is a standalone application. You NO LONGER need compiler patching. Just make, make install, and configure ocamlspot.el.

In OPAM, ocamlspot.el and ocamlspot.vim is %{lib%}/ocamlspot ."""
depends: [
  "ocaml" {>= "4.00.0" & <= "4.00.1"}
]
extra-files: ["ocamlspot.install" "md5=f43cbca5e0836c5ff9da5bd00d816ac3"]
url {
  src: "https://bitbucket.org/camlspotter/ocamlspot/get/4.00.0.2.0.1.tar.gz"
  checksum: "md5=8af4d270f71402b0b8401845c4f5be44"
}
