# $Id: Portfile 88539 2012-01-04 02:28:02Z mww@macports.org $

PortSystem 1.0

name                tyxml
version             2.0
revision            2
categories          textproc devel ml
platforms           darwin
maintainers         mww openmaintainer
license             LGPL-2.1
description         OCaml library to generate XML output using static typing
long_description    Tyxml is a library that makes it almost impossible for \
                    your OCaml programs to generate wrong XML ouput, using \
                    static typing. Modules exist for XHTML1, HTML5 and SVG.

homepage            http://git.et.redhat.com/?p=ocaml-ancient.git
master_sites        http://ocsigen.org/download/

checksums           md5     fd1dd5222ef97c9602fbd2dac7b340e3 \
                    sha1    717a493b6d340a94f87a8509b7b07381007499c4 \
                    rmd160  d4442b89421428caf20c3a2c28056fdf44697b7d

patchfiles          patch-Makefile.diff

depends_lib         port:ocaml port:ocaml-findlib port:ocamlduce port:ocaml-ocamlnet

use_configure       no

use_parallel_build  no

pre-destroot { xinstall -m 755 -d ${destroot}${prefix}/lib/ocaml/site-lib }
destroot.args       SITELIB=${prefix}/lib/ocaml/site-lib
