# $Id: Portfile 63611 2010-02-10 08:57:04Z blb@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-asn1
version             0.0.11a
categories-append   devel crypto
maintainers         blb openmaintainer
description         Implementation of ASN.1 types and codecs in Python
long_description \
   This project is dedicated to implementation of ASN.1 types (concrete \
   syntax) and codecs (transfer syntaxes) for Python programming environment.

platforms           darwin

homepage            http://pyasn1.sourceforge.net/
master_sites        sourceforge:pyasn1
distname            pyasn1-${version}

checksums           md5     3d09e12089e56a02f6b7fbfc91af2fca \
                    sha1    a68483bc6def7d162e44d68aa23fbab595e2b914 \
                    rmd160  e5af2d88e2fa5d5e7266b8477d4a6aa4b8b2c5d2

post-destroot {
   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
   xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README THANKS TODO \
      ${destroot}${prefix}/share/doc/${name}
   xinstall -m 644 -W ${worksrcpath}/doc notes.html \
      ${destroot}${prefix}/share/doc/${name}
}

livecheck.type      regex
livecheck.url       http://sourceforge.net/project/showfiles.php?group_id=93839&package_id=148920
livecheck.regex     pyasn1-(\[-.0-9a-zA-Z_\]+)\\.tar\\.gz

