# $Id: Portfile 125738 2014-09-25 14:43:03Z mf2k@macports.org $ PortSystem 1.0 name doclifter version 2.3 revision 1 categories textproc platforms darwin maintainers nomaintainer 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:python26 use_configure no patchfiles patch-doclifter.diff 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} } reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.6|" \ ${destroot}${prefix}/bin/doclifter reinplace "s|#!/usr/bin/python|#!${prefix}/bin/python2.6|" \ ${destroot}${prefix}/bin/manlifter }