# -*- 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 perl5 1.0 name muttprint version 0.72d revision 6 categories mail platforms any supported_archs noarch license GPL-2+ maintainers nomaintainer description pretty printing of your mails long_description Muttprint formats the output of mail clients to a good-looking \ printing using the typesetting system LaTeX. homepage http://muttprint.sourceforge.net master_sites sourceforge:project/muttprint/muttprint/muttprint-${version} checksums rmd160 cb6f40c892de0142584969e7b0ca60b4f3fed140 \ sha256 a2672950739c26c83777b6842e3500e145e8bcdd8552ec14e2d90ab4d43c2bc8 \ size 746660 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} depends_lib port:dialog \ port:p${perl5.major}-text-iconv \ port:p${perl5.major}-timedate # fix script to work with perl 5.26 # see https://trac.macports.org/ticket/56075 patchfiles muttprintperl5.26fix.patch use_configure no destroot { file mkdir ${destroot}${prefix}/bin ${destroot}${prefix}/share/man/man1 xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin reinplace "s|#!.*|#!${perl5.bin}|" ${destroot}${prefix}/bin/${name} xinstall -m 0644 ${worksrcpath}/doc/manpages/en/muttprint.1.gz ${destroot}${prefix}/share/man/man1 }