# $Id: Portfile,v 1.1 2004/05/24 16:12:10 mww Exp $

PortSystem 1.0

name		grutatxt
version		2.0.8
categories	textproc
platforms	darwin
maintainers	mww@opendarwin.org
description	plain text to html converter
long_description	grutatxt is a plain text to HTML (and other formats) \
			converter. It succesfully converts subtle text markup \
			to lists, bold, italics, tables and headings to their \
			corresponding HTML, troff or man page markup without \
			having to write unreadable source text files. Grutatxt \
			is a perl module and a command line utility.

homepage	http://www.triptico.com/software/grutatxt.html
master_sites	http://www.triptico.com/download/
distname	Grutatxt-${version}
checksums	md5 b013453301238020bc9d2692cf7706ac

depends_lib	bin:perl:perl5.8

configure.cmd	perl Makefile.pl
configure.pre_args	INSTALLSCRIPT=${prefix}/bin

post-destroot	{
	file rename ${destroot}${prefix}/share/man/man3/Grutatxt.3 \
		${workpath}/grutatxt.3
	xinstall -m 644 ${workpath}/grutatxt.3 \
		${destroot}${prefix}/share/man/man3/
}
