opam is the package manager for the OCaml ecosystem. Almost all OCaml libraries and programs have associated opam files.
Generally, it's better for people working in the ocaml ecosystem to use opam for their day to day operations, but if you're building a package that is written in ocaml in macports, you probably don't care and don't want to care about opam and the opam ecosystem. We thus have to maintain a bunch of packages that are also packaged by opam, and it's painful. Automation would help a lot.
quick overview of the opam format
opam file description
repository of opam files used by the opam system
typical opam file for the zarith package
my portfile for zarith, not really made from the opam file
opam is the package manager for the OCaml ecosystem. Almost all OCaml libraries and programs have associated opam files.
Generally, it's better for people working in the ocaml ecosystem to use opam for their day to day operations, but if you're building a package that is written in ocaml in macports, you probably don't care and don't want to care about opam and the opam ecosystem. We thus have to maintain a bunch of packages that are also packaged by opam, and it's painful. Automation would help a lot.
quick overview of the opam format
opam file description
repository of opam files used by the opam system
typical opam file for the zarith package
my portfile for zarith, not really made from the opam file