opam-version: "1.2"
name: "ocp-indent"
version: "1.5.2"
maintainer: "contact@ocamlpro.com"
authors: [
  "Louis Gesbert <louis.gesbert@ocamlpro.com>"
  "Thomas Gazagnaire <thomas@gazagnaire.org>"
  "Jun Furuse"
]
homepage: "http://www.typerex.org/ocp-indent.html"
bug-reports: "https://github.com/OCamlPro/ocp-indent/issues"
license: "LGPL"
tags: ["org:ocamlpro" "org:typerex"]
dev-repo: "https://github.com/OCamlPro/ocp-indent.git"
build: [
  ["./configure" "--prefix" prefix]
  [make]
]
depends: [
  "ocp-build" {>= "1.99.6-beta"}
  "cmdliner"
]
post-messages: [
  "This package requires additional configuration for use in editors. Install package 'user-setup', or manually:

* for Emacs, add these lines to ~/.emacs:
  (add-to-list 'load-path \"%{share}%/emacs/site-lisp\")
  (require 'ocp-indent)

* for Vim, add this line to ~/.vimrc:
  set rtp^=\"%{share}%/ocp-indent/vim\"
"
  {success & !user-setup:installed}
]
