# $Id$ PortSystem 1.0 name help2man version 1.36.4 revision 1 categories textproc platforms darwin maintainers nomaintainer description automatically generate simple man pages long_description help2man is a tool for automatically generating simple \ manual pages from program output. homepage http://www.gnu.org/software/help2man/ master_sites gnu patchfiles patch-Makefile.in checksums md5 d31a0a38c2ec71faa06723f6b8bd3076 \ sha1 f3ffd89d50ee158589f2d0ccdc476d2ac3ebff70 \ rmd160 1c2e18f86c2d689dbc4bbc1d85e60a2273308c42 depends_lib path:bin/perl:perl5 port:p5-locale-gettext \ port:gettext port:libiconv configure.perl ${prefix}/bin/perl configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info post-patch { if {[variant_isset universal]} { if {[info exists universal_sysroot]} { reinplace "s|-bundle|-bundle -isysroot ${universal_sysroot} ${configure.universal_ldflags}|" ${worksrcpath}/Makefile.in } else { reinplace "s|-bundle|-bundle ${configure.universal_ldflags}|" ${worksrcpath}/Makefile.in } } } post-destroot { set docdir ${prefix}/share/doc/${name}-${version} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} COPYING debian/changelog NEWS README THANKS \ ${destroot}${docdir} } livecheck.check regex livecheck.url http://ftp.gnu.org/gnu/${name}/?C=M&O=D livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)