opam-version: "2.0"
maintainer: "zoggy@bat8.org"
authors: ["Maxence Guesdon"]
homepage: "http://zoggy.github.io/stog/"
license: "GPL-3.0-only"
doc: ["http://zoggy.github.io/stog/doc.html"]
dev-repo: "git+https://github.com/zoggy/stog.git"
bug-reports: "https://github.com/zoggy/stog/issues"

tags: ["publication" "web" "blog"]
build: [
  [make "all"]
]
install: [
  [make "install-lib"]
]
remove: [["ocamlfind" "remove" "stog"]]
depends: [
  "ocaml" {>= "4.01.0" & < "4.02.0"}
  "ocamlfind"
  "xmlm" {>= "1.1"}
  "xtmpl" {>= "0.9" & < "0.13.0"}
  "config-file" {>= "1.2"}
  "ocamlnet" {>= "3.6" & != "4.1.9"}
  "higlo" {>= "0.2"}
]
synopsis:
  "A static web site generator, able to handle blog posts as well as regular pages."
description: """
In one sentence, Stog is a kind of Jekyll in OCaml: It is a
static web site generator, able to handle blog posts as well as
regular pages.

The main differences are:

- It is developped in OCaml and can be extended with OCaml plugins.
- It is based on a xml engine allowing to apply substitutions on some
  tags. Some substitutions are pre-defined, and others can be added by plugins.
- It easily supports multi-language sites."""
flags: light-uninstall
extra-files: ["stog.install" "md5=93ed46b4ced08cae7715a843b7827eb7"]
url {
  src: "http://zoggy.github.com/stog/stog-0.11.0.tar.gz"
  checksum: "md5=9339b1afb27cd531aef077c24a48b323"
}
