# $Id$

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            5
platforms           darwin
maintainers         mww openmaintainer
categories          lang ml 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           md5     90c6e541359458d25c1defb225337d75 \
                    sha1    91858540053f9cf59d410164f65365a6685a1678 \
                    rmd160  574f4965a9f441008ca5bdab6425ded31a4c986d

patchfiles          patch-Makefile.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/
}