# $Id: Portfile 95107 2012-07-05 20:50:09Z mww@macports.org $

PortSystem          1.0
PortGroup           python26 1.0
name                mixminion
version             0.0.7.1
categories          mail
license             {LGPL-2.1 OpenSSLException}
maintainers         nomaintainer
description         implementation of the Type III Anonymous Remailer protocol
long_description \
   Mixminion is the reference implementation of the Type III Anonymous \
   Remailer protocol in Python.

platforms           darwin

homepage            http://mixminion.net/
master_sites        ${homepage}dist/
distname            Mixminion-${version}

checksums           md5 a7ee96a22dd6246760556fa959a37380

post-destroot {
   foreach binfile [glob -tails -directory ${destroot}${python.prefix}/bin *] {
      ln -s ${python.prefix}/bin/${binfile} ${destroot}${prefix}/bin/${binfile}
   }
   foreach mannum {1 5 8} {
      foreach manfile [glob -tails -directory ${destroot}${python.prefix}/share/man/man${mannum} *] {
         ln -s ${python.prefix}/share/man/man${mannum}/${manfile} \
            ${destroot}${prefix}/share/man/man${mannum}/${manfile}
      }
   }
}

