# $Id: Portfile 58570 2009-10-01 07:11:48Z blb@macports.org $

PortSystem          1.0
PortGroup           python26 1.0
name                mixminion
version             0.0.7.1
categories          mail
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}
      }
   }
}

