# $Id: Portfile,v 1.1 2006/06/01 20:34:33 mww Exp $

PortSystem 1.0
name            txt2man
version         1.4.8
categories      textproc
maintainers     ecronin@gizmolabs.org
description     Converts flat ASCII text to man page format
long_description \
        Txt2man converts flat ASCII text into the man page format. \
        This allows man pages to be authored without knowledge of \
        nroff macros. It is a shell script that uses GNU awk, and \
        it should run on any Unix-like system. 
homepage        http://mvertes.free.fr/
platforms       darwin

master_sites    http://mvertes.free.fr/download/

checksums       md5 2ee6d7cc38c42b98f4d8c1eb815bd888 \
                sha1 aa3989546b31c05ad09d14b895bf5a1777beefe9 

configure       {}
build           {}

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