# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup clang_dependency 1.0 PortGroup perl5 1.0 name help2man version 1.49.3 revision 1 categories textproc license GPL-3+ installs_libs no maintainers {khindenburg @kurthindenburg} openmaintainer description automatically generate simple man pages long_description \ help2man is a tool for automatically generating simple \ manual pages from program output. homepage https://www.gnu.org/software/help2man/ master_sites gnu use_xz yes checksums rmd160 2d1356c619d9661a2ddd8c6950cc3002044ab4c6 \ sha256 4d7e4fdef2eca6afe07a2682151cea78781e0a4e8f9622142d9f70c083a2fd4f \ size 228472 perl5.require_variant yes perl5.conflict_variants yes perl5.branches 5.28 5.30 5.32 5.34 5.36 5.38 perl5.default_branch 5.38 perl5.create_variants ${perl5.branches} depends_build port:gettext depends_lib port:perl${perl5.major} \ port:p${perl5.major}-locale-gettext \ port:gettext-runtime \ port:libiconv configure.perl ${perl5.bin} configure.args --enable-nls configure.universal_args-delete --disable-dependency-tracking variant universal {} post-patch { if {${os.platform} eq "darwin"} { reinplace "s|-shared|-bundle ${configure.ldflags} [get_canonical_archflags ld]|" \ ${worksrcpath}/Makefile.in } else { reinplace "s|-shared|-shared ${configure.ldflags} [get_canonical_archflags ld]|" \ ${worksrcpath}/Makefile.in } } post-destroot { set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} COPYING debian/changelog NEWS README THANKS \ ${destroot}${docdir} }