# $Id: Portfile 30224 2007-10-22 22:49:14Z jmpp@macports.org $

PortSystem 1.0
name			robodoc
version			4.99.8
categories		devel
platforms		darwin
maintainers		nomaintainer
homepage		http://www.xs4all.nl/~rfsber/Robo/${name}.html
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 C, C++, Fortran, Perl, shell scripts, Assembler, \
			DCL, DB/C, Tcl/Tk, Forth, Lisp, COBOL, Occam, Basic, HTML, and any \
			other language that supports remarks.

master_sites		http://www.xs4all.nl/~rfsber/Robo/

checksums		md5 819f86e29dc8fee5b1831b23ca23cd75

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

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

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