PortSystem 1.0

name                ocamldot
# this version number is just slapped on -- there is none and the project is stale since 2001
version             1.0
revision            6
maintainers         nomaintainer
categories          lang ocaml graphics
description         dependency graph generator for OCaml generating graphviz dot files
license             public-domain

homepage            http://trevorjim.com/ocamldot/
master_sites        ${homepage}

long_description    ${description}

distfiles           ocamldot.tar
checksums           rmd160  574f4965a9f441008ca5bdab6425ded31a4c986d \
                    sha256  001a16ef4bdb136de06a5160c9bbf854f167183dd12cab74f4b744ace42fa97d \
                    size    20480

patchfiles          patch-Makefile.diff \
                    patch-ocaml5.diff \
                    patch-or-keyword.diff

depends_build       port:ocaml

extract.cmd         cat
extract.pre_args

worksrcdir          ocamldot

use_parallel_build  no

use_configure       no

build.target        ocamldot

destroot {
    xinstall -m 755 -d ${destroot}${prefix}/bin \
        ${destroot}${prefix}/share/man/man1
    xinstall -m 755 ${worksrcpath}/ocamldot ${destroot}${prefix}/bin/
    xinstall -m 644 ${worksrcpath}/ocamldot.1 ${destroot}${prefix}/share/man/man1/
}

