# $Id: Portfile,v 1.7 2004/02/05 02:03:04 toby Exp $

PortSystem 1.0
name             rman
version          3.2
categories       textproc
maintainers      lomion@mac.com
description      Man page format converter
long_description \
    PolyglotMan takes formatted man pages from most of the popular \
    flavours of UN*X and transforms them into any number of source \
    formats. It can produce ASCII-only, section headers-only, \
    TkMan, \[tn\]roff, Ensemble, SGML, HTML, LaTeX, RTF, Perl 5 POD.
homepage         http://polyglotman.sourceforge.net/
platforms        darwin
master_sites     sourceforge:polyglotman
checksums        md5 6d1d67641c6d042595a96a62340d3cc6
patchfiles       patch-Makefile

configure {
    cd ${worksrcpath}
    reinplace "s|__PREFIX|${prefix}|g" Makefile
    reinplace "s|__DSTROOT|${destroot}${prefix}|g" Makefile
}
