# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$

PortSystem          1.0

name                robodoc
version             4.99.41
categories          devel
license             GPL-3+
platforms           darwin
maintainers         nomaintainer

description         Bot used to document source code.

long_description    ROBODoc can be used to document functions, methods, \
                    classes, variables, makefile entries, system tests, and \
                    anything else you can think of. ROBODoc works with any \
                    language that supports reasonable comments, and uses a \
                    syntax similar to that of the old Amiga \"Autodocs\" program.

homepage            http://www.xs4all.nl/~rfsber/Robo/${name}.html
master_sites        http://www.xs4all.nl/~rfsber/Robo/

checksums           rmd160  5bf25607da0598de726c76dd8f32cb2b884bb295 \
                    sha256  6a35993bcb7df46143149c46eb500d62a4fb0f0dcab3700a42b7d38656abd2b9

configure.args      --mandir="${prefix}/share/man"

destroot.destdir    prefix="${destroot}${prefix}" \
                    docdir="${destroot}${prefix}/share/doc/${name}" \
                    mandir="${destroot}${prefix}/share/man"

post-destroot {
    reinplace "s|/usr/share|${prefix}/share/doc|" \
              "${destroot}${prefix}/share/man/man1/robodoc.1"
}