# -*- 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 makefile 1.0 PortGroup perl5 1.0 perl5.require_variant yes perl5.conflict_variants yes perl5.branches 5.28 5.30 5.32 5.34 perl5.default_branch 5.34 perl5.create_variants ${perl5.branches} name xmltoman version 0.4 revision 1 categories textproc license GPL-2 maintainers {i0ntempest @i0ntempest} openmaintainer description Small scripts to convert xml to man pages in groff format or html long_description xmltoman and xmlmantohtml are two small scripts to convert xml to man pages in groff\ format or html. It features the usual man page items such a \"description\", \"options\",\ \"see also\" etc. homepage https://sourceforge.net/projects/xmltoman/ platforms any master_sites sourceforge:xmltoman checksums rmd160 ce61c5184d5ba0a9db63bff2d4635eb644825383 \ sha256 948794a316aaecd13add60e17e476beae86644d066cb60171fc6b779f2df14b0 \ size 15250 depends_build path:libexec/coreutils/libstdbuf.so:coreutils depends_lib port:p${perl5.major}-xml-parser patchfiles-append patch-Makefile.diff supported_archs noarch makefile.override-append \ PREFIX post-patch { reinplace "s|/usr/bin/perl|${perl5.bin}|" ${worksrcpath}/xmltoman ${worksrcpath}/xmlmantohtml reinplace "s|/usr/share|${prefix}/share|g" ${worksrcpath}/xml/xmltoman.1.xml ${worksrcpath}/xml/xmlmantohtml.1.xml } post-destroot { xinstall -m 0644 -W ${worksrcpath} xmltoman.1 xmlmantohtml.1 ${destroot}${prefix}/share/man/man1 } livecheck.regex {xmltoman-([0-9.]+)\.tar\.gz}