# $Id: Portfile,v 1.9 2004/04/27 01:06:53 matt Exp $ PortSystem 1.0 name mmencode version 2.7 categories textproc maintainers mij@opendarwin.org description Translate to and from mail-oriented encoding formats platforms darwin long_description The mimencode program simply converts a byte stream \ into (or out of) one of the standard mail encoding \ formats defined by MIME, the proposed standard for \ internet multimedia mail formats. Such an encoding is \ necessary because binary data cannot be sent through \ the mail. The encodings under- stood by mimencode are \ preferable to the use of the uuencode/uudecode \ programs, for use in mail, in several respects that were \ important to the authors of MIME. master_sites ftp://thumper.bellcore.com/pub/nsb/ \ http://ftp.dmz.digex.net/pub/packages/mail/metamail/ \ ftp://ftp.funet.fi/pub/unix/mail/metamail/ \ freebsd checksums md5 fd5617ea87e20d7f2fa839e1d1fede60 distname mm${portversion} extract.suffix .tar.Z worksrcdir ${distname}/src/metamail configure {} build.target mmencode destroot { system "install -o root -m 755 -d ${destroot}${prefix}/bin" system "install -o root -m 755 ${worksrcpath}/mmencode \ ${destroot}${prefix}/bin" system "install -o root -m 755 -d \ ${destroot}${prefix}/share/man/man1" system "install -o root -m 644 \ ${worksrcpath}/../man/mmencode.1 \ ${destroot}${prefix}/share/man/man1" } post-destroot { system "ln -fs mmencode ${destroot}${prefix}/bin/mimencode" }