Portfile

# $Id: Portfile 20335 2006-11-02 00:38:50Z blair@macports.org $

PortSystem 1.0
name doclifter
version 2.3
categories textproc
platforms darwin
maintainers markd@macports.org
description troff macro to DocBook translater.
long_description A troff macro to DocBook translater. For example, \
it may be used to convert man pages to DocBook.
homepage http://catb.org/~esr/doclifter/
master_sites http://catb.org/~esr/doclifter/
checksums md5 db0573381ac1abec627b4bb5025087ea

depends_lib port:python24

use_configure no

destroot {
xinstall -m 755 -d ${destroot}${prefix}/bin
xinstall -m 755 -d ${destroot}${prefix}/share/man/man1
xinstall ${worksrcpath}/doclifter ${destroot}${prefix}/bin
xinstall ${worksrcpath}/manlifter ${destroot}${prefix}/bin
xinstall ${worksrcpath}/doclifter.1 ${destroot}${prefix}/share/man/man1
xinstall ${worksrcpath}/manlifter.1 ${destroot}${prefix}/share/man/man1

xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
foreach doc {BUGS COPYING README TODO} {
xinstall -m 644 ${worksrcpath}/${doc} ${destroot}${prefix}/share/doc/${name}
}
}